Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
OpenCMIS 0.6.0
-
None
Description
When running a mvn release build fails because of missing artifacts for a Maven Javadoc plugin aggregate run. Workaround is to run mvn install and then re run the release.
Root cause is that superPOM javadoc:aggregate is called prior to the actual first mvn install and tries to find new sub-modules artifacts in a repository (they are still not build, and not resolved from the reactor).
Here the full build log:
rezion:chemistry-opencmis mindthegab$ mvn release:prepare
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Apache Chemistry OpenCMIS
[INFO] OpenCMIS Commons API
[INFO] OpenCMIS Commons Implementation
[INFO] OpenCMIS Client API
[INFO] OpenCMIS Client Bindings Implementation
[INFO] OpenCMIS Client Implementation
[INFO] OpenCMIS Client Bindings Implementation (WebSphere)
[INFO] OpenCMIS Server Support
[INFO] OpenCMIS Server Implementation WAR packaging
[INFO] OpenCMIS Test Utilities
[INFO] OpenCMIS InMemory Server WAR packaging
[INFO] OpenCMIS FileShare Server Implementation
[INFO] OpenCMIS JCR Server Implementation
[INFO] OpenCMIS Full Integration Tests
[INFO] OpenCMIS Test Compatibility Kit
[INFO] OpenCMIS Tools
[INFO] OpenCMIS Browser
[INFO] OpenCMIS Browser Application
[INFO] OpenCMIS Workbench
[INFO] OpenCMIS OSGi Client Wrapper
[INFO] OpenCMIS OSGi Server Wrapper
[INFO] OpenCMIS Assemblies Distribution
[WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Chemistry OpenCMIS
[INFO] task-segment: [release:prepare] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:prepare
]
[INFO] Verifying that there are no local modifications...
[INFO] ignoring changes on: pom.xml.next, release.properties, pom.xml.releaseBackup, pom.xml.backup, pom.xml.branch, pom.xml.tag
[INFO] Executing: /bin/sh -c cd /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis && svn --username gabriele --password '*****' --no-auth-cache --non-interactive status
[INFO] Working directory: /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "Apache Chemistry OpenCMIS"? (org.apache.chemistry.opencmis:chemistry-opencmis) 0.6.0: :
What is SCM release tag or label for "Apache Chemistry OpenCMIS"? (org.apache.chemistry.opencmis:chemistry-opencmis) chemistry-opencmis-0.6.0: : chemistry-opencmis-0.6.0-RC1
What is the new development version for "Apache Chemistry OpenCMIS"? (org.apache.chemistry.opencmis:chemistry-opencmis) 0.6.1-SNAPSHOT: : 0.7.0-SNAPSHOT
[INFO] Transforming 'Apache Chemistry OpenCMIS'...
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Commons API'...
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Commons Implementation'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Client API'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Client Bindings Implementation'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Client Implementation'...
[INFO] Updating chemistry-opencmis-client-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Client Bindings Implementation (WebSphere)'...
[INFO] Updating chemistry-opencmis-client-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Server Support'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Server Implementation WAR packaging'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-support to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Test Utilities'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS InMemory Server WAR packaging'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-test-util to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-support to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS FileShare Server Implementation'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-support to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS JCR Server Implementation'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-support to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Full Integration Tests'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-inmemory to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-test-util to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Test Compatibility Kit'...
[INFO] Updating chemistry-opencmis-client-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Tools'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Browser'...
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Browser Application'...
[INFO] Updating chemistry-opencmis-test-browser to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Workbench'...
[INFO] Updating chemistry-opencmis-client-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-test-tck to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS OSGi Client Wrapper'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS OSGi Server Wrapper'...
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-support to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-inmemory to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-test-util to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Transforming 'OpenCMIS Assemblies Distribution'...
[INFO] Updating chemistry-opencmis-client-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-client-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-api to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-bindings to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-support to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-test-browser-app to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-fileshare to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-server-inmemory to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-osgi-client to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[INFO] Updating chemistry-opencmis-osgi-server to 0.6.0
[INFO] Ignoring artifact version update for expression: ${project.version}
[WARNING] Provider svn does not support edit operation.
[INFO] Not generating release POMs
[INFO] Executing goals 'clean verify'...
[WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO] Reactor build order:
[INFO] [INFO] Apache Chemistry OpenCMIS
[INFO] [INFO] OpenCMIS Commons API
[INFO] [INFO] OpenCMIS Commons Implementation
[INFO] [INFO] OpenCMIS Client API
[INFO] [INFO] OpenCMIS Client Bindings Implementation
[INFO] [INFO] OpenCMIS Client Implementation
[INFO] [INFO] OpenCMIS Client Bindings Implementation (WebSphere)
[INFO] [INFO] OpenCMIS Server Support
[INFO] [INFO] OpenCMIS Server Implementation WAR packaging
[INFO] [INFO] OpenCMIS Test Utilities
[INFO] [INFO] OpenCMIS InMemory Server WAR packaging
[INFO] [INFO] OpenCMIS FileShare Server Implementation
[INFO] [INFO] OpenCMIS JCR Server Implementation
[INFO] [INFO] OpenCMIS Full Integration Tests
[INFO] [INFO] OpenCMIS Test Compatibility Kit
[INFO] [INFO] OpenCMIS Tools
[INFO] [INFO] OpenCMIS Browser
[INFO] [INFO] OpenCMIS Browser Application
[INFO] [INFO] OpenCMIS Workbench
[INFO] [INFO] OpenCMIS OSGi Client Wrapper
[INFO] [INFO] OpenCMIS OSGi Server Wrapper
[INFO] [INFO] OpenCMIS Assemblies Distribution
[INFO] [WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.
[INFO]
[INFO] Its dependencies (if any) will NOT be available to the current build.
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building Apache Chemistry OpenCMIS
[INFO] [INFO] task-segment: [clean, verify]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] [clean:clean
]
[INFO] [INFO] Deleting /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis/target
[INFO] [INFO] [buildnumber:create
]
[INFO] [INFO] Checking for local modifications: skipped.
[INFO] [INFO] Updating project files from SCM: skipped.
[INFO] [INFO] Executing: /bin/sh -c cd /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis && svn --non-interactive info
[INFO] [INFO] Working directory: /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis
[INFO] [INFO] Storing buildNumber: 1210413 at timestamp: 2011-12-05T18:04:32+0100
[INFO] [INFO] Executing: /bin/sh -c cd /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis && svn --non-interactive info
[INFO] [INFO] Working directory: /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis
[INFO] [INFO] Storing buildScmBranch: trunk
[INFO] [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] [INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] [INFO] Setting property: resource.loader => 'classpath'.
[INFO] [INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [INFO] [remote-resources:process
]
[INFO] [INFO] Preparing javadoc:aggregate
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building Apache Chemistry OpenCMIS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [WARNING] Removing: aggregate from forked lifecycle, to prevent recursive invocation.
[INFO] [INFO] [buildnumber:create
]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building OpenCMIS Commons API
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] [buildnumber:create
]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building OpenCMIS Commons Implementation
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] [buildnumber:create
]
[INFO] Downloading: http://repository.jboss.org/nexus/content/groups/public//org/apache/chemistry/opencmis/chemistry-opencmis-commons-api/0.6.0/chemistry-opencmis-commons-api-0.6.0.jar
[INFO] [INFO] Unable to find resource 'org.apache.chemistry.opencmis:chemistry-opencmis-commons-api:jar:0.6.0' in repository jboss.public (http://repository.jboss.org/nexus/content/groups/public/)
[INFO] Downloading: http://download.java.net/maven/2//org/apache/chemistry/opencmis/chemistry-opencmis-commons-api/0.6.0/chemistry-opencmis-commons-api-0.6.0.jar
[INFO] [INFO] Unable to find resource 'org.apache.chemistry.opencmis:chemistry-opencmis-commons-api:jar:0.6.0' in repository maven2-repository.dev.java.net (http://download.java.net/maven/2/)
[INFO] Downloading: http://repo1.maven.org/maven2/org/apache/chemistry/opencmis/chemistry-opencmis-commons-api/0.6.0/chemistry-opencmis-commons-api-0.6.0.jar
[INFO] [INFO] Unable to find resource 'org.apache.chemistry.opencmis:chemistry-opencmis-commons-api:jar:0.6.0' in repository central (http://repo1.maven.org/maven2)
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Failed to resolve artifact.
[INFO]
[INFO] Missing:
[INFO] ----------
[INFO] 1) org.apache.chemistry.opencmis:chemistry-opencmis-commons-api:jar:0.6.0
[INFO]
[INFO] Try downloading the file manually from the project website.
[INFO]
[INFO] Then, install it using the command:
[INFO] mvn install:install-file -DgroupId=org.apache.chemistry.opencmis -DartifactId=chemistry-opencmis-commons-api -Dversion=0.6.0 -Dpackaging=jar -Dfile=/path/to/file
[INFO]
[INFO] Alternatively, if you host your own repository you can deploy the file there:
[INFO] mvn deploy:deploy-file -DgroupId=org.apache.chemistry.opencmis -DartifactId=chemistry-opencmis-commons-api -Dversion=0.6.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[INFO]
[INFO] Path to dependency:
[INFO] 1) org.apache.chemistry.opencmis:chemistry-opencmis-commons-impl:jar:0.6.0
[INFO] 2) org.apache.chemistry.opencmis:chemistry-opencmis-commons-api:jar:0.6.0
[INFO]
[INFO] ----------
[INFO] 1 required artifact is missing.
[INFO]
[INFO] for artifact:
[INFO] org.apache.chemistry.opencmis:chemistry-opencmis-commons-impl:jar:0.6.0
[INFO]
[INFO] from the specified remote repositories:
[INFO] apache.snapshots (http://repository.apache.org/snapshots),
[INFO] central (http://repo1.maven.org/maven2),
[INFO] jboss.public (http://repository.jboss.org/nexus/content/groups/public/),
[INFO] maven2-repository.dev.java.net (http://download.java.net/maven/2/)
[INFO]
[INFO]
[INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] For more information, run Maven with the -e switch
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 1 minute 47 seconds
[INFO] [INFO] Finished at: Mon Dec 05 18:05:06 CET 2011
[INFO] [INFO] Final Memory: 44M/1015M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Maven execution failed, exit code: '1'