Aries itests projects need to use version 1.2 of the Servicemix
depends-maven-plugin
------------------------------------------------------------------------------------
Key: ARIES-364
URL: https://issues.apache.org/jira/browse/ARIES-364
Project: Aries
Issue Type: Improvement
Components: Application, JMX, JPA, Transaction, Web
Reporter: Bartosz Kowalewski
All Aries itests projects need to generate a dependencies.properties file, so
that Pax Exam based tests can properly retrieve versions of artifacts to be
used at runtime. Some Aries projects use maven-paxexam-plugin to generate the
dependencies.properties file, but most of them use Servicemix
depends-maven-plugin. Unfortunately, the version of depends-maven-plugin used
in most of Aries projects (1.1) is buggy. The generated dependencies.properties
file sometimes contains resolved snashot versions (i.e.
0.2-incubating-20100717.020505-16) instead of the base versions (i.e.
0.2-incubating-SNAPSHOT). This causes Pax Exam tests to fail from time to time
with an exception similar to this one:
java.lang.RuntimeException: URL
[mvn:org.apache.aries/org.apache.aries.util/0.2-incubating-20100717.020505-16]
could not be resolved.
at
org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)
at java.net.URL.openStream(URL.java:1010)
at
org.ops4j.pax.runner.platform.internal.StreamUtils.streamCopy(StreamUtils.java:112)
at
org.ops4j.pax.runner.platform.internal.PlatformImpl.download(PlatformImpl.java:631)
at
org.ops4j.pax.runner.platform.internal.PlatformImpl.downloadBundles(PlatformImpl.java:407)
at
org.ops4j.pax.runner.platform.internal.PlatformImpl.start(PlatformImpl.java:186)
at org.ops4j.pax.runner.Run.startPlatform(Run.java:671)
at org.ops4j.pax.runner.Run.start(Run.java:220)
at org.ops4j.pax.runner.Run.start(Run.java:176)
...
This issue has already been fixed in SMX depends-maven-plugin. For details see
this SMX revision:
http://svn.apache.org/viewvc?view=revision&revision=770436
and the fix is availble in version 1.2 of the plugin.
Patch coming soon.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.