Is this all the logs? Seems like its trying to perform mvn performRelease=true, which is not a valid maven command. Try to find out where that performRelease=true comes from and try to fix that. Also, it seems that what you want to run is mvn -DperformRelease=true.
HTH, -- Jo Eduardo Twitter: http://twitter.com/joed On Tue, Feb 9, 2010 at 7:21 PM, Karl Heinz Marbaise <[email protected]> wrote: > > Hi, > > currently I'm trying to deploy signed artifacts into a nexus repo > manager.... > > Based on the > > http://www.sonatype.com/people/2010/01/how-to-generate-pgp-signatures-with-maven/ > description i configured the maven-gpg-plugin to be activated based on the > release:perform ... > > <pre> > <profiles> > <profile> > <id>release-sign-artifacts</id> > <activation> > <property> > <name>performRelease</name> > <value>true</value> > </property> > </activation> > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-gpg-plugin</artifactId> > <version>1.0-alpha-4</version> > <executions> > <execution> > <id>sign-artifacts</id> > <phase>verify</phase> > <goals> > <goal>sign</goal> > </goals> > </execution> > </executions> > </plugin> > </plugins> > </build> > </profile> > </profiles> > </pre> > > > so i call mvn release:prepare everything went well...so far so good... > but than i'm trying to call mvn release:perform and the output hangs at the > point "[INFO] [INFO] [gpg:sign {execution: sign-artifacts}]"... > Ok i read the comment about the pgp.passphase parameter and changed the > call > into the following: > > <pre>mvn release:perform -Darguments="-Dgpg.passphrase=xxxxxx"</pre> > But now the result is the following: > <pre> > $ mvn22 release:perform -Darguments="-Dgpg.passphrase=in\ dubio" > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'release'. > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Guice :: Test > [INFO] task-segment: [release:perform] (aggregator-style) > [INFO] > ------------------------------------------------------------------------ > [INFO] [release:perform {execution: default-cli}] > [INFO] Checking out the project to perform the release ... > [INFO] Executing: /bin/sh -c cd /home/.../guice-test/target && svn > --non-interactive checkout file:///home/.../tags/guice-test-0.0.2 checkout > [INFO] Working directory: /home/.../guice-test/target > [INFO] Executing goals 'deploy site-deploy'... > [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] > ------------------------------------------------------------------------ > [INFO] [ERROR] BUILD FAILURE > [INFO] [INFO] > ------------------------------------------------------------------------ > [INFO] [INFO] Invalid task 'performRelease=true': you must specify a valid > lifecycle phase, or a goal in the format plugin:goal or > pluginGroupId:pluginArtifactId:pluginVersion:goal > [INFO] [INFO] > ------------------------------------------------------------------------ > [INFO] [INFO] For more information, run Maven with the -e switch > [INFO] [INFO] > ------------------------------------------------------------------------ > [INFO] [INFO] Total time: < 1 second > [INFO] [INFO] Finished at: Tue Feb 09 11:24:47 CET 2010 > [INFO] [INFO] Final Memory: 5M/490M > [INFO] [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Maven execution failed, exit code: '1' > > </pre> > does someone has an idea what I'm doing wrong ? > > Kind regards > Karl Heinz Marbaise > -- > View this message in context: > http://old.nabble.com/Problems-with-maven-gpg-plugin-tp27513746p27513746.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
