Skip to content

[KARAF-3235] Expose karaf itests as a bundle in order to simplify the way of writing itests for end-users#486

Merged
jbonofre merged 1 commit intoapache:masterfrom
jbonofre:KARAF-3235
May 16, 2018
Merged

[KARAF-3235] Expose karaf itests as a bundle in order to simplify the way of writing itests for end-users#486
jbonofre merged 1 commit intoapache:masterfrom
jbonofre:KARAF-3235

Conversation

@jbonofre
Copy link
Member

@jbonofre jbonofre commented Apr 9, 2018

No description provided.

@jbonofre jbonofre force-pushed the KARAF-3235 branch 3 times, most recently from ff8700d to 1781d03 Compare May 12, 2018 06:19
@jbonofre
Copy link
Member Author

OK, I understand the problem: the maven-bundle-plugin is executed after the maven-surefire-plugin (for the test). So, the MANIFEST doesn't contain the OSGi headers, that's why tests are failing.
The fix is that the maven-bundle-plugin has to be executed before maven-surefire-plugin. A possible workaround is to split itests in two modules: the bundle (containing KarafTestSupport) and the actual itests (as a jar module). I'm doing the change.

@jbonofre jbonofre force-pushed the KARAF-3235 branch 4 times, most recently from 03e3f49 to 7bf8787 Compare May 15, 2018 19:49
@jbonofre
Copy link
Member Author

retest this please

@jbonofre jbonofre merged commit 4ff8cca into apache:master May 16, 2018
@jbonofre jbonofre deleted the KARAF-3235 branch May 16, 2018 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant