maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Baxter <rbaxte...@gmail.com>
Subject release:perform goal fails on multi-module project
Date Tue, 09 Apr 2013 18:06:34 GMT
I have a multi-module Maven project which I am trying to execute the
release:perform goal on and it is failing because it is trying to get
a dependency for one of the modules from the central maven repo.  The
problem is the dependency it is trying to get is a different module
from the same project which has not been published to the central
maven repo yet, it seems like Maven should be using the jar it just
built, but it is not.  The output from my console is below.  You can
see that it is trying to download
org.opensocial.explorer:opensocial-explorer-gadget-specs:jar:0.0.1
from the central maven repo except that the 0.0.1 version is the
version I am trying to publish.  I see towards the end of the console
output that maven is forking to build the different modules, do those
run concurrently?  It seems like the build for
opensocial-explorer-gadget-specs should finish and install before ever
running the build for opensocial-explorer-gadget-spec-server.  I would
appreciate any help.  Thanks.

mvn release:perform -Prelease
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] OpenSocial Explorer
[INFO] OpenSocial Explorer Gadget Specs
[INFO] OpenSocial Gadget Spec Server
[INFO] OpenSocial Explorer Server
[INFO] OpenSocial Explorer Web Content
[INFO] OpenSocial Explorer WAR Packaging
[INFO] OpenSocial Explorer Assembly
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenSocial Explorer 0.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-release-plugin:2.4.1:perform (default-cli) @
opensocial-explorer ---
[INFO] Checking out the project to perform the release ...
[INFO] Executing: /bin/sh -c cd
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target && git
clone --branch opensocial-explorer-0.0.1
git@github.com:OpenSocial/explorer.git
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout
[INFO] Working directory:
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target
[INFO] Executing: /bin/sh -c cd
/var/folders/d7/f0tlb7x545s_dtlms9jdvw_c0000gn/T/ && git ls-remote
git@github.com:OpenSocial/explorer.git
[INFO] Working directory: /var/folders/d7/f0tlb7x545s_dtlms9jdvw_c0000gn/T
[INFO] Executing: /bin/sh -c cd
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout
&& git fetch git@github.com:OpenSocial/explorer.git
[INFO] Working directory:
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout
[INFO] Executing: /bin/sh -c cd
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout
&& git checkout opensocial-explorer-0.0.1
[INFO] Working directory:
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout
[INFO] Executing: /bin/sh -c cd
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout
&& git ls-files
[INFO] Working directory:
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout
[INFO] Invoking perform goals in directory
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout
[INFO] Executing goals 'deploy site-deploy'...
[INFO] Executing: /bin/sh -c cd
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout
&& /usr/share/maven/bin/mvn -s
/var/folders/d7/f0tlb7x545s_dtlms9jdvw_c0000gn/T/release-settings7602418264263426559.xml
deploy site-deploy --no-plugin-updates -Psonatype-oss-release -P
release -f pom.xml
    [WARNING] Command line option -npu is deprecated and will be
removed in future Maven versions.
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Build Order:
    [INFO]
    [INFO] OpenSocial Explorer
    [INFO] OpenSocial Explorer Gadget Specs
    [INFO] OpenSocial Gadget Spec Server
    [INFO] OpenSocial Explorer Server
    [INFO] OpenSocial Explorer Web Content
    [INFO] OpenSocial Explorer WAR Packaging
    [INFO] OpenSocial Explorer Assembly
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building OpenSocial Explorer 0.0.1
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
opensocial-explorer ---
    [INFO]
    [INFO] --- maven-javadoc-plugin:2.9:jar (attach-javadocs) @
opensocial-explorer ---
    [INFO] Not executing Javadoc as the project is not a Java
classpath-capable package
    [INFO]
    [INFO] --- maven-javadoc-plugin:2.9:test-jar (attach-javadocs) @
opensocial-explorer ---
    [INFO] Not executing Javadoc as the project is not a Java
classpath-capable package
    [INFO]
    [INFO] --- apache-rat-plugin:0.8:check (default) @ opensocial-explorer ---
    [INFO] Exclude: **/MANIFEST.MF
    [INFO] Exclude: **/target/**
    [INFO] Exclude: **/*.classpath
    [INFO] Exclude: **/.project
    [INFO] Exclude: **/.settings/*
    [INFO] Exclude: **/src/test/resources/**
    [INFO] Exclude: **/resources/libs/codemirror/**
    [INFO] Exclude: **/resources/libs/bootstrap/**
    [INFO] Exclude: **/*.json
    [INFO] Exclude: **/src/main/specs/specs.txt
    [INFO] Exclude: **/src/main/javascript/modules/templates/**
    [INFO] Exclude: **/.git/**
    [INFO] Exclude: **/.gitignore
    [INFO] Exclude: **/README.md
    [INFO]
    [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @
opensocial-explorer >>>
    [INFO]
    [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
opensocial-explorer ---
    [INFO]
    [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @
opensocial-explorer <<<
    [INFO]
    [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @
opensocial-explorer ---
    [INFO]
    [INFO] >>> maven-source-plugin:2.2.1:test-jar (attach-sources) @
opensocial-explorer >>>
    [INFO]
    [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
opensocial-explorer ---
    [INFO]
    [INFO] <<< maven-source-plugin:2.2.1:test-jar (attach-sources) @
opensocial-explorer <<<
    [INFO]
    [INFO] --- maven-source-plugin:2.2.1:test-jar (attach-sources) @
opensocial-explorer ---
    [INFO]
    [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources)
@ opensocial-explorer ---
    [INFO]
    [INFO] --- maven-gpg-plugin:1.1:sign (sign-artifacts) @
opensocial-explorer ---
    GPG Passphrase: **********
*gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
    [INFO]
    [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
opensocial-explorer ---
    [INFO] Installing
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout/pom.xml
to /Users/ryanjbaxter/.m2/repository/org/opensocial/explorer/opensocial-explorer/0.0.1/opensocial-explorer-0.0.1.pom
    [INFO] Installing
/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout/target/opensocial-explorer-0.0.1.pom.asc
to /Users/ryanjbaxter/.m2/repository/org/opensocial/explorer/opensocial-explorer/0.0.1/opensocial-explorer-0.0.1.pom.asc
    [INFO]
    [INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @
opensocial-explorer ---
    Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/opensocial/explorer/opensocial-explorer/0.0.1/opensocial-explorer-0.0.1.pom
    Uploaded: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/opensocial/explorer/opensocial-explorer/0.0.1/opensocial-explorer-0.0.1.pom
(22 KB at 2.0 KB/sec)
    Downloading:
https://oss.sonatype.org/service/local/staging/deploy/maven2/org/opensocial/explorer/opensocial-explorer/maven-metadata.xml
    Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/opensocial/explorer/opensocial-explorer/maven-metadata.xml
    Uploaded: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/opensocial/explorer/opensocial-explorer/maven-metadata.xml
(322 B at 0.9 KB/sec)
    Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/opensocial/explorer/opensocial-explorer/0.0.1/opensocial-explorer-0.0.1.pom.asc
    Uploaded: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/opensocial/explorer/opensocial-explorer/0.0.1/opensocial-explorer-0.0.1.pom.asc
(881 B at 3.4 KB/sec)
    [INFO]
    [INFO] --- maven-site-plugin:3.2:site (default-site) @
opensocial-explorer ---
    [INFO] configuring report plugin
org.apache.maven.plugins:maven-project-info-reports-plugin:2.2
    [INFO] configuring report plugin
org.codehaus.mojo:findbugs-maven-plugin:2.5.2
    [INFO] configuring report plugin
org.codehaus.mojo:cobertura-maven-plugin:2.5.2
    [INFO]
    [INFO] >>> cobertura-maven-plugin:2.5.2:cobertura
(report:cobertura) @ opensocial-explorer >>>
    [INFO]
    [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
opensocial-explorer ---
    [INFO]
    [INFO] --- cobertura-maven-plugin:2.5.2:instrument
(report:cobertura) @ opensocial-explorer ---
    [INFO] Skipping cobertura mojo for project with packaging type 'pom'
    [INFO]
    [INFO] <<< cobertura-maven-plugin:2.5.2:cobertura
(report:cobertura) @ opensocial-explorer <<<
    [INFO] Not executing cobertura:report as the cobertura data file
(/Users/ryanjbaxter/git-repos/opensocial/0.0.1/explorer/target/checkout/target/cobertura/cobertura.ser)
could not be found
    [INFO] configuring report plugin
org.apache.maven.plugins:maven-surefire-report-plugin:2.13
    [INFO]
    [INFO] >>> maven-surefire-report-plugin:2.13:failsafe-report-only
(report:failsafe-report-only) @ opensocial-explorer >>>
    [INFO]
    [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
opensocial-explorer ---
    [INFO]
    [INFO] <<< maven-surefire-report-plugin:2.13:failsafe-report-only
(report:failsafe-report-only) @ opensocial-explorer <<<
    [INFO]
    [INFO] >>> maven-surefire-report-plugin:2.13:report
(report:report) @ opensocial-explorer >>>
    [INFO]
    [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
opensocial-explorer ---
    [INFO]
    [INFO] <<< maven-surefire-report-plugin:2.13:report
(report:report) @ opensocial-explorer <<<
    [INFO]
    [INFO] >>> maven-surefire-report-plugin:2.13:report-only
(report:report-only) @ opensocial-explorer >>>
    [INFO]
    [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
opensocial-explorer ---
    [INFO]
    [INFO] <<< maven-surefire-report-plugin:2.13:report-only
(report:report-only) @ opensocial-explorer <<<
    [INFO] configuring report plugin
org.apache.maven.plugins:maven-javadoc-plugin:2.9
    [INFO]
    [INFO] >>> maven-javadoc-plugin:2.9:aggregate (report:aggregate) @
opensocial-explorer >>>
    [INFO]
    [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [INFO] Forking OpenSocial Explorer 0.0.1
    [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [INFO]
    [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
opensocial-explorer ---
    [INFO]
    [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [INFO] Forking OpenSocial Explorer Gadget Specs 0.0.1
    [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [INFO]
    [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
opensocial-explorer-gadget-specs ---
    [INFO]
    [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    [INFO] Forking OpenSocial Gadget Spec Server 0.0.1
    [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Downloading:
http://repo1.maven.org/maven2/org/opensocial/explorer/opensocial-explorer-gadget-specs/0.0.1/opensocial-explorer-gadget-specs-0.0.1.jar
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] OpenSocial Explorer ............................... FAILURE [24.597s]
    [INFO] OpenSocial Explorer Gadget Specs .................. SKIPPED
    [INFO] OpenSocial Gadget Spec Server ..................... SKIPPED
    [INFO] OpenSocial Explorer Server ........................ SKIPPED
    [INFO] OpenSocial Explorer Web Content ................... SKIPPED
    [INFO] OpenSocial Explorer WAR Packaging ................. SKIPPED
    [INFO] OpenSocial Explorer Assembly ...................... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 26.635s
    [INFO] Finished at: Tue Apr 09 13:06:38 EDT 2013
    [INFO] Final Memory: 37M/371M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.2:site (default-site) on
project opensocial-explorer: failed to get report for
org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal
on project opensocial-explorer-gadget-spec-server: Could not resolve
dependencies for project
org.opensocial.explorer:opensocial-explorer-gadget-spec-server:jar:0.0.1:
Could not find artifact
org.opensocial.explorer:opensocial-explorer-gadget-specs:jar:0.0.1 in
central (http://repo1.maven.org/maven2) -> [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/MojoExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OpenSocial Explorer ............................... FAILURE [58.846s]
[INFO] OpenSocial Explorer Gadget Specs .................. SKIPPED
[INFO] OpenSocial Gadget Spec Server ..................... SKIPPED
[INFO] OpenSocial Explorer Server ........................ SKIPPED
[INFO] OpenSocial Explorer Web Content ................... SKIPPED
[INFO] OpenSocial Explorer WAR Packaging ................. SKIPPED
[INFO] OpenSocial Explorer Assembly ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:00.893s
[INFO] Finished at: Tue Apr 09 13:06:39 EDT 2013
[INFO] Final Memory: 11M/194M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-release-plugin:2.4.1:perform
(default-cli) on project opensocial-explorer: Maven execution failed,
exit code: '1' -> [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/MojoExecutionException

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message