Maven question

If I clone openhab-core and the run mvn clean install it builds fine.
If however I run mvn clean compile it fails with a

org.apache.karaf.features.internal.util.MultiException: Error:

My understanding is that install runs the other phases first.
Can someone explain the above behavior for me. I’m just interested to learn more.


1 Like

Never got an answer to this. Trued it again today after a git pull. Still happening.
I’m going to head over to the maven IRC to see if I can get an answer there

Well the maven folks say it should not be possible.
Can someone try this. If it is confirmed, I’ll write a ticket.

It’s not maven. It’s the karaf maven plugin that causes this behaviour. Did you have a chat with them as well? I’m not sure how well they maintain that plugin, they use Gradle as buildsystem.

Very well! Because they only use Maven. :slight_smile: