You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/05/02 00:07:43 UTC
[jira] Resolved: (SMX4-18) Examples Integration Tests pointing to a
previous version of xmlschema cxf bundle
[ https://issues.apache.org/activemq/browse/SMX4-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SMX4-18.
---------------------------------
Assignee: Guillaume Nodet
Fix Version/s: 4.0-m2
Resolution: Fixed
Thanks a lot for that ! :-)
> Examples Integration Tests pointing to a previous version of xmlschema cxf bundle
> ---------------------------------------------------------------------------------
>
> Key: SMX4-18
> URL: https://issues.apache.org/activemq/browse/SMX4-18
> Project: ServiceMix 4
> Issue Type: Bug
> Affects Versions: 4.0-m2
> Environment: Win XP jdk 1.6.0_04
> Reporter: Chris Baker
> Assignee: Guillaume Nodet
> Fix For: 4.0-m2
>
>
> ServiceMix feature truck cannot build or pass Unit Test.
> In the smx4/features/trunk build cxf/bundles/xmlschema is building version 1.4.2 of the bundle, however examples/itests references version 1.3.2 as per the previous milestone, breaking the build since there is no version of this lib for the m2 snapshot.
> Updating to the new version pom.xml and the unit test IntegrationTest.java fixes the issue. Diff at the end.
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache ServiceMix Examples Integration Tests
> [INFO] task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> ...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) org.apache.servicemix.bundles:org.apache.servicemix.bundles.xmlschema-1.3.2:jar:4.0-m2-SNAPSHOT
> Try downloading the file manually from the project website.
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.servicemix.bundles -DartifactId=org.apache.servicemix.bundles.xmlschema-1.3.2 -Dversion=4.0-m2-SNAPSHOT -Dpack
> aging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=org.apache.servicemix.bundles -DartifactId=org.apache.servicemix.bundles.xmlschema-1.3.2 -Dversion=4.0-m2-SNAPSHOT -Dpackag
> ing=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> Path to dependency:
> 1) org.apache.servicemix.examples:org.apache.servicemix.examples.itests:jar:4.0-m2-SNAPSHOT
> 2) org.apache.servicemix.bundles:org.apache.servicemix.bundles.xmlschema-1.3.2:jar:4.0-m2-SNAPSHOT
> ----------
> 1 required artifact is missing.
> for artifact:
> org.apache.servicemix.examples:org.apache.servicemix.examples.itests:jar:4.0-m2-SNAPSHOT
> from the specified remote repositories:
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
> ops4j (http://repository.ops4j.org/maven2),
> incubator (http://people.apache.org/repo/m2-incubating-repository),
> java.net (http://download.java.net/maven/1/),
> ops4j.snapshots (http://repository.ops4j.org/mvn-snapshots),
> servicemix (http://svn.apache.org/repos/asf/servicemix/m2-repo),
> central (http://repo1.maven.org/maven2)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18 minutes 26 seconds
> [INFO] Finished at: Thu May 01 14:42:22 EDT 2008
> [INFO] Final Memory: 62M/114M
> [INFO] ------------------------------------------------------------------------
> =================================================
> DIFF
> =================================================
> examples/itests/pom.xml
> 98c98
> < <artifactId>org.apache.servicemix.bundles.xmlschema-1.4.2</artifactId>
> ---
> > <artifactId>org.apache.servicemix.bundles.xmlschema-1.3.2</artifactId>
> examples/itests/src/test/java/org/apache/servicemix/examples/IntegrationTest.java
> 73c73
> < getBundle("org.apache.servicemix.bundles", "org.apache.servicemix.bundles.xmlschema-1.4.2"),
> ---
> > getBundle("org.apache.servicemix.bundles", "org.apache.servicemix.bundles.xmlschema-1.3.2"),
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.