When doing a fresh build with a clean local maven repository the
current release at
https://svn.apache.org/repos/asf/incubator/chemistry/opencmis/trunk
does not build. It complains about many dependent jar libs being missing. I
had imported one of the missing jar files(jaxws-rt.jar 2.1.7) manually,
so this is just the next error.
[INFO] Scanning for projects...
Downloading: http://download.java.net/maven/2/org/apache/felix/maven-bundle-plugin/maven-metadata.xml
Downloading: http://download.java.net/maven/2/org/apache/felix/maven-bundle-plugin/maven-metadata.xml
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-commons-api:jar:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-commons-impl:jar:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:jaxws-maven-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING] 'repositories.repository.layout' for maven-repository.dev.java.net uses the deprecated value 'legacy'. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-client-api:jar:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-client-impl:jar:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-client-bindings:jar:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING] 'repositories.repository.layout' for maven-repository.dev.java.net uses the deprecated value 'legacy'. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-server-bindings:war:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-dependency-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING] 'repositories.repository.layout' for maven-repository.dev.java.net uses the deprecated value 'legacy'. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-server-support:jar:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-server-inmemory:war:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-dependency-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-server-fileshare:war:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-test-fit:war:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-test-tck:jar:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-test-tools:jar:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-test-util:jar:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-test-browser:jar:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-test-browser-app:war:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis-dist:pom:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.chemistry.opencmis:chemistry-opencmis:pom:0.1.0-incubating-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] OpenCMIS
[INFO] OpenCMIS Commons API
[INFO] OpenCMIS Commons Implementation
[INFO] OpenCMIS Client API
[INFO] OpenCMIS Client Bindings Implementation
[INFO] OpenCMIS Test Utilities
[INFO] OpenCMIS Client Implementation
[INFO] OpenCMIS Server Implementation
[INFO] OpenCMIS Server Support
[INFO] OpenCMIS InMemory Server Implementation
[INFO] OpenCMIS FileShare Server Implementation
[INFO] OpenCMIS Full Integration Tests
[INFO] OpenCMIS Test Compatibility Kit
[INFO] OpenCMIS Tools
[INFO] OpenCMIS Browser
[INFO] OpenCMIS Browser Application
[INFO] Distribution project for OpenCmis assemblies
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenCMIS 0.1.0-incubating-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ chemistry-opencmis ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ chemistry-opencmis ---
[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] --- maven-source-plugin:2.1:jar-no-fork (attach-sources) @ chemistry-opencmis ---
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ chemistry-opencmis ---
[INFO] Installing /var/dme1/mep_cmis-0.1/achemistry/trunk/pom.xml to /export/home/dme/.m2/repository/org/apache/chemistry/opencmis/chemistry-opencmis/0.1.0-incubating-SNAPSHOT/chemistry-opencmis-0.1.0-incubating-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenCMIS Commons API 0.1.0-incubating-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ chemistry-opencmis-commons-api ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ chemistry-opencmis-commons-api ---
[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] --- maven-resources-plugin:2.3:resources (default-resources) @ chemistry-opencmis-commons-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/dme1/mep_cmis-0.1/achemistry/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ chemistry-opencmis-commons-api ---
[INFO] Compiling 107 source files to /var/dme1/mep_cmis-0.1/achemistry/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/target/classes
[INFO]
[INFO] --- maven-bundle-plugin:2.1.0:manifest (bundle-manifest) @ chemistry-opencmis-commons-api ---
[WARNING] Warning in manifest for org.apache.chemistry.opencmis:chemistry-opencmis-commons-api:jar:0.1.0-incubating-SNAPSHOT : Did not find matching referal for org.apache.commons.codec.*
[WARNING] Warning in manifest for org.apache.chemistry.opencmis:chemistry-opencmis-commons-api:jar:0.1.0-incubating-SNAPSHOT : Did not find matching referal for org.apache.commons.logging.*
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ chemistry-opencmis-commons-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/dme1/mep_cmis-0.1/achemistry/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/test/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ chemistry-opencmis-commons-api ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ chemistry-opencmis-commons-api ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3:jar (default-jar) @ chemistry-opencmis-commons-api ---
[INFO] Building jar: /var/dme1/mep_cmis-0.1/achemistry/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/target/chemistry-opencmis-commons-api-0.1.0-incubating-SNAPSHOT.jar
[INFO]
[INFO] --- maven-source-plugin:2.1:jar-no-fork (attach-sources) @ chemistry-opencmis-commons-api ---
[INFO] Building jar: /var/dme1/mep_cmis-0.1/achemistry/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/target/chemistry-opencmis-commons-api-0.1.0-incubating-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ chemistry-opencmis-commons-api ---
[INFO] Installing /var/dme1/mep_cmis-0.1/achemistry/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/target/chemistry-opencmis-commons-api-0.1.0-incubating-SNAPSHOT.jar to /export/home/dme/.m2/repository/org/apache/chemistry/opencmis/chemistry-opencmis-commons-api/0.1.0-incubating-SNAPSHOT/chemistry-opencmis-commons-api-0.1.0-incubating-SNAPSHOT.jar
[INFO] Installing /var/dme1/mep_cmis-0.1/achemistry/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/target/chemistry-opencmis-commons-api-0.1.0-incubating-SNAPSHOT-sources.jar to /export/home/dme/.m2/repository/org/apache/chemistry/opencmis/chemistry-opencmis-commons-api/0.1.0-incubating-SNAPSHOT/chemistry-opencmis-commons-api-0.1.0-incubating-SNAPSHOT-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenCMIS Commons Implementation 0.1.0-incubating-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://download.java.net/maven/2/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ chemistry-opencmis-commons-impl ---
[INFO]
[INFO] --- jaxws-maven-plugin:1.12:wsimport (default) @ chemistry-opencmis-commons-impl ---
[WARNING] Missing POM for com.sun.xml.ws:jaxws-tools:jar:2.1.7
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OpenCMIS .......................................... SUCCESS [1.848s]
[INFO] OpenCMIS Commons API .............................. SUCCESS [5.130s]
[INFO] OpenCMIS Commons Implementation ................... FAILURE [0.917s]
[INFO] OpenCMIS Client API ............................... SKIPPED
[INFO] OpenCMIS Client Bindings Implementation ........... SKIPPED
[INFO] OpenCMIS Test Utilities ........................... SKIPPED
[INFO] OpenCMIS Client Implementation .................... SKIPPED
[INFO] OpenCMIS Server Implementation .................... SKIPPED
[INFO] OpenCMIS Server Support ........................... SKIPPED
[INFO] OpenCMIS InMemory Server Implementation ........... SKIPPED
[INFO] OpenCMIS FileShare Server Implementation .......... SKIPPED
[INFO] OpenCMIS Full Integration Tests ................... SKIPPED
[INFO] OpenCMIS Test Compatibility Kit ................... SKIPPED
[INFO] OpenCMIS Tools .................................... SKIPPED
[INFO] OpenCMIS Browser .................................. SKIPPED
[INFO] OpenCMIS Browser Application ...................... SKIPPED
[INFO] Distribution project for OpenCmis assemblies ...... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.301s
[INFO] Finished at: Thu Sep 02 11:06:45 PDT 2010
[INFO] Final Memory: 18M/163M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:1.12:wsimport (default) on project chemistry-opencmis-commons-impl: Execution default of goal org.codehaus.mojo:jaxws-maven-plugin:1.12:wsimport failed: Plugin org.codehaus.mojo:jaxws-maven-plugin:1.12 or one of its dependencies could not be resolved: Missing:
----------
1) com.sun.xml.ws:jaxws-tools:jar:2.1.7
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.xml.ws -DartifactId=jaxws-tools -Dversion=2.1.7 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun.xml.ws -DartifactId=jaxws-tools -Dversion=2.1.7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.12
2) com.sun.xml.ws:jaxws-tools:jar:2.1.7
----------
1 required artifact is missing.
for artifact:
org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.12
from the specified remote repositories:
maven2-repository.dev.java.net (http://download.java.net/maven/2/, releases=true, snapshots=true),
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
-> [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/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :chemistry-opencmis-commons-impl