-
The maven bundle-plugin has a lifecycle-mapping-metadata.xml and from the declaration it should be called on each change ( What I do is the following:
Is my expectation wrong or is the maven-bundle-plugin doing something wrong? Is it possible to get some info about invoked mojos? Use configuration is:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
I cannot add much value to this topic, just that I encountered similar behaviour when reworking m2e's maven-runtime components. |
Beta Was this translation helpful? Give feedback.
-
EDIT: s/goal/phase/ |
Beta Was this translation helpful? Give feedback.
-
There are two issues:
For the first I have no idea and for the second I wonder if we can make this more convient to the user? Actually I don't really like to configure special executions in the pom (and don't know if the might interfere with the default build), so any suggestions? |
Beta Was this translation helpful? Give feedback.
-
What I have done so far:
This at least make the felix plugin to be executed. Question is: can we do anything to not define an execution here? Or is it even desired? |
Beta Was this translation helpful? Give feedback.
-
I finally go the solution, the felix bundle plugin requires to explicitly enable the incremental build feature:
I'll mark this as the answer but it is really a bit undesirable from a users POV:
These are all steps I suppose the "usual maven developer" won't do and thus might get the feeling it is not reliable working in the IDE. If we really want to have more user acceptance I think this should be changed, not sure if this is already possible with the current connectors aproach:
|
Beta Was this translation helpful? Give feedback.
I finally go the solution, the felix bundle plugin requires to explicitly enable the incremental build feature:
I'll mark this as the answer bu…