Hi If you would try to build Camel source under Maven 3.0.4 (recently released) then it will fail @ camel-msv. The POM this component dependends on is invalid [1] as it relies on the POM model definition version 3.0 and not 4.0. The problem is <currentVersion> instead of <version> inside this POM, but maybe there're some other issues inside this POM as well:
c:\dev\workspace\camel\components\camel-msv>mvn clean install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Camel :: MSV 2.10-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:jar:1.0 is invalid, transitive dependencies (if any) will not be available, en able debug logging for more details [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ camel-msv --- [INFO] Deleting c:\dev\workspace\camel\components\camel-msv\target [INFO] [INFO] --- maven-antrun-plugin:1.6:run (create-prop) @ camel-msv --- [INFO] Executing tasks main: [echo] Maven version: 2.10-SNAPSHOT [echo] OSGi version: 2.10.0.SNAPSHOT [INFO] Executed tasks [INFO] [INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ camel-msv --- [INFO] [INFO] --- maven-remote-resources-plugin:1.1:process (default) @ camel-msv --- [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.810s [INFO] Finished at: Sun Feb 26 19:29:58 CET 2012 [INFO] Final Memory: 11M/494M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default) on project camel-msv: Execution default of goal org. apache.maven.plugins:maven-remote-resources-plugin:1.1:process failed: For artifact {org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:null:jar}: The version cannot be empty. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException Running Maven with the -X option brings up the following: ... ... Caused by: org.apache.maven.artifact.InvalidArtifactRTException: For artifact {org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:null:jar}: The version cannot be empty. at org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:148) at org.apache.maven.artifact.DefaultArtifact.<init>(DefaultArtifact.java:123) ... ... Suggestions: 1 - Do fix the POM on the central-repo to be POM 4.0 complaint, however I don't know the procedure for it by Apache: who is allowed to edit that POM and how? 2 - Make use of the POM the SMX folks have already generated [2] using the "mvn install:install-file" BTW, msv itself is not active anymore since ages [3]. Any thoughts? [1] http://repo1.maven.org/maven2/org/iso_relax/verifier/jaxp/validation/isorelax-jaxp-bridge/1.0/isorelax-jaxp-bridge-1.0.pom [2] http://svn.apache.org/repos/asf/servicemix/m2-repo/org/iso_relax/verifier/jaxp/validation/isorelax-jaxp-bridge/1.0/isorelax-jaxp-bridge-1.0.pom [3] http://java.net/downloads/msv/releases/ Babak -- View this message in context: http://camel.465427.n5.nabble.com/About-Camel-source-which-doesn-t-build-under-Maven-3-0-4-tp5517301p5517301.html Sent from the Camel Development mailing list archive at Nabble.com.