[ 
http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11338#comment-11338
 ] 

Bram de Kruijff commented on AMDATUCASSANDRA-78:
------------------------------------------------

Cause by: version is explicitly set to 0.2.0 in the cassandra project pom 
overriding the transitive version.

Searching for: web.version>
amdatu-cassandra\pom.xml(36): <amdatu.web.version>0.2.0</amdatu.web.version>
amdatu-cassandra\test-integration\pom.xml(32): 
<org.amdatu.web.version>0.2.1-SNAPSHOT</org.amdatu.web.version>
amdatu-cassandra\test-performance\test-bundle\pom.xml(33): 
<amdatu.web.version>0.2.0</amdatu.web.version>
Found 3 occurrence(s) in 3 file(s)

Searching for: core.version>
amdatu-cassandra\pom.xml(35): <amdatu.core.version>0.2.0</amdatu.core.version>
amdatu-cassandra\test-integration\pom.xml(31): 
<org.amdatu.core.version>0.2.1-SNAPSHOT</org.amdatu.core.version>
Found 2 occurrence(s) in 2 file(s)

Would be a good idea to manage version in a consistent way as it makes sense to 
align them over the entire project anyway.

> Integration tests fail on version constraints
> ---------------------------------------------
>
>                 Key: AMDATUCASSANDRA-78
>                 URL: http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-78
>             Project: Amdatu Cassandra
>          Issue Type: Bug
>          Components: Project infrastructure
>    Affects Versions: 0.2.1
>            Reporter: Bram de Kruijff
>
> Package exports where added recently on platform artifacts.  Now cassandra 
> integration tests fail on version constraints due some juggling with versions 
> and versions going on in the poms.
> 1) Core itest base is resolved to 0.2.1-SNAPSHOT
> <log>
>   INFO: Resolved 
> (org.amdatu.core:org.amdatu.core.itest.base:jar:0.2.1-SNAPSHOT) as 
> C:\bramk\Apache 
> Maven\local-repository\org\amdatu\core\org.amdatu.core.itest.base\0.2.1-SNAPSHOT\org.amdatu.core.itest.base-0.2.1-SNAPSHOT.jar
> </log>
> 2) Core config templates is resolved to 0.2.0
> INFO: Resolved (org.amdatu.core:org.amdatu.core.config.templates:jar:0.2.0) 
> as C:\bramk\Apache 
> Maven\local-repository\org\amdatu\core\org.amdatu.core.config.tem
> plates\0.2.0\org.amdatu.core.config.templates-0.2.0.jar
> 3) As the latter does not yet export with version we get...
> org.osgi.framework.BundleException: Unresolved constraint in bundle 
> org.amdatu.core.itest.base [5]: Unable to resolve 5.0: missing requirement 
> [5.0] package; (&
> (package=org.amdatu.core.config.templates)(version>=1.0.0))
> ERROR: Error starting 
> mvn:org.amdatu.core/org.amdatu.core.itest.base/0.2.1-SNAPSHOT 
> (org.osgi.framework.BundleException: Unresolved constraint in bundle org.amd
> atu.core.itest.base [5]: Unable to resolve 5.0: missing requirement [5.0] 
> package; (&(package=org.amdatu.core.config.templates)(version>=1.0.0)))
>         at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1709)
>         at 
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1143)
>         at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>         at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to