commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: [dbutils] sign-artifacts hangs during release:prepare
Date Tue, 13 Dec 2011 09:14:49 GMT
Hi William,

In my apache profile, in `setting.xml` file I put the
<mavenExecutorId/> element in order to execute maven, during the
release phase, in a proper fork:

        <profile>
            <id>apache</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <commons.deployment.protocol>scp</commons.deployment.protocol>
        	<mavenExecutorId>forked-path</mavenExecutorId>
                <gpg.keyname>19FEA27D</gpg.keyname>
            </properties>
        </profile>

So when asking for your gpg key it doesn't hang; if you want to
speed-up the process, you can add the gpg key as well:

        <profile>
            <id>apache</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <commons.deployment.protocol>scp</commons.deployment.protocol>
        	<mavenExecutorId>forked-path</mavenExecutorId>
                <gpg.keyname>19FEA27D</gpg.keyname>
                <gpg.passphrase>XXXXX</gpg.passphrase>
            </properties>
        </profile>

HTH, good luck!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Tue, Dec 13, 2011 at 4:19 AM, William Speirs <wspeirs@apache.org> wrote:
> I am attempting to release RC1 of commons-dbutils. I was working
> through the directions found here:
> http://wiki.apache.org/commons/CreatingReleases I got to step C.1 and
> ran the following command: mvn -Prc release:prepare That command
> however froze part of the way through. The output is at the end of
> this e-mail.
>
> How long should this take? Was I just not waiting long enough (>5
> minutes)? Stupid question, should I have been running this from
> people.apache.org?
>
> Any help would be greatly appreciated...
>
> Bill-
>
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Commons DbUtils
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO] ------------------------------------------------------------------------
> [INFO] [release:prepare {execution: default-cli}]
> [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
> /home/wspeirs/workspace/commons-dbutils && svn --non-interactive
> status
> [INFO] Working directory: /home/wspeirs/workspace/commons-dbutils
> [INFO] Checking dependencies and plugins for snapshots ...
> What is the release version for "Commons DbUtils"?
> (commons-dbutils:commons-dbutils) 1.5: :
> What is SCM release tag or label for "Commons DbUtils"?
> (commons-dbutils:commons-dbutils) commons-dbutils-1.5: :
> What is the new development version for "Commons DbUtils"?
> (commons-dbutils:commons-dbutils) 1.6-SNAPSHOT: :
> [INFO] Transforming 'Commons DbUtils'...
> [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] ------------------------------------------------------------------------
> [INFO] [INFO] Building Commons DbUtils
> [INFO] [INFO]    task-segment: [clean, verify]
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] [clean:clean {execution: default-clean}]
> [INFO] [INFO] Deleting /home/wspeirs/workspace/commons-dbutils/target
> [INFO] [INFO] [buildnumber:create {execution: default}]
> [INFO] [INFO] Change the default 'svn' provider implementation to 'javasvn'.
> [INFO] [INFO] Checking for local modifications: skipped.
> [INFO] [INFO] Updating project files from SCM: skipped.
> [INFO] [INFO] Storing buildNumber: 1213127 at timestamp: 1323745998693
> [INFO] [INFO] Storing buildScmBranch: trunk
> [INFO] [INFO] [antrun:run {execution: javadoc.resources}]
> [INFO] [INFO] Executing tasks
> [INFO]
> [INFO] main:
> [INFO]      [copy] Copying 2 files to
> /home/wspeirs/workspace/commons-dbutils/target/apidocs/META-INF
> [INFO] [INFO] Executed tasks
> [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 {execution: default}]
> [INFO] [debug] execute contextualize
> [INFO] [INFO] [resources:resources {execution: default-resources}]
> [INFO] [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] [INFO] skip non existing resourceDirectory
> /home/wspeirs/workspace/commons-dbutils/src/main/resources
> [INFO] [INFO] Copying 2 resources to META-INF
> [INFO] [INFO] [compiler:compile {execution: default-compile}]
> [INFO] [INFO] Compiling 28 source files to
> /home/wspeirs/workspace/commons-dbutils/target/classes
> [INFO] [WARNING] POM for 'biz.aQute:bndlib:pom:1.43.0:runtime' is invalid.
> [INFO]
> [INFO] Its dependencies (if any) will NOT be available to the current build.
> [INFO] [INFO] [bundle:manifest {execution: bundle-manifest}]
> [INFO] [debug] execute contextualize
> [INFO] [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] [INFO] Copying 1 resource
> [INFO] [INFO] Copying 2 resources to META-INF
> [INFO] [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] [INFO] Compiling 23 source files to
> /home/wspeirs/workspace/commons-dbutils/target/test-classes
> [INFO] [INFO] [surefire:test {execution: default-test}]
> [INFO] [INFO] Surefire report directory:
> /home/wspeirs/workspace/commons-dbutils/target/surefire-reports
> [INFO]
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.apache.commons.dbutils.wrappers.StringTrimmedResultSetTest
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.172 sec
> [INFO] Running org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSetTest
> [INFO] Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.173 sec
> [INFO] Running org.apache.commons.dbutils.ProxyFactoryTest
> [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec
> [INFO] Running org.apache.commons.dbutils.AsyncQueryRunnerTest
> [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.902 sec
> [INFO] Running org.apache.commons.dbutils.ResultSetIteratorTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> [INFO] Running org.apache.commons.dbutils.QueryRunnerTest
> [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.22 sec
> [INFO] Running org.apache.commons.dbutils.BasicRowProcessorTest
> [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
> [INFO] Running org.apache.commons.dbutils.handlers.ArrayHandlerTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
> [INFO] Running org.apache.commons.dbutils.handlers.BeanListHandlerTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
> [INFO] Running org.apache.commons.dbutils.handlers.MapHandlerTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> [INFO] Running org.apache.commons.dbutils.handlers.ScalarHandlerTest
> [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
> [INFO] Running org.apache.commons.dbutils.handlers.BeanMapHandlerTest
> [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
> [INFO] Running org.apache.commons.dbutils.handlers.BeanHandlerTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> [INFO] Running org.apache.commons.dbutils.handlers.MapListHandlerTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> [INFO] Running org.apache.commons.dbutils.handlers.KeyedHandlerTest
> [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
> [INFO] Running org.apache.commons.dbutils.handlers.ColumnListHandlerTest
> [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
> [INFO] Running org.apache.commons.dbutils.handlers.ArrayListHandlerTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
> [INFO] Running org.apache.commons.dbutils.QueryLoaderTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> [INFO] Running org.apache.commons.dbutils.BeanProcessorTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
> [INFO]
> [INFO] Results :
> [INFO]
> [INFO] Tests run: 154, Failures: 0, Errors: 0, Skipped: 0
> [INFO]
> [INFO] [INFO] [jar:jar {execution: default-jar}]
> [INFO] [INFO] Building jar:
> /home/wspeirs/workspace/commons-dbutils/target/commons-dbutils-1.5.jar
> [INFO] [INFO] Preparing source:jar
> [INFO] [WARNING] Removing: jar from forked lifecycle, to prevent
> recursive invocation.
> [INFO] [INFO] [buildnumber:create {execution: default}]
> [INFO] [INFO] Change the default 'svn' provider implementation to 'javasvn'.
> [INFO] [INFO] Checking for local modifications: skipped.
> [INFO] [INFO] Updating project files from SCM: skipped.
> [INFO] [INFO] Storing buildNumber: 1213127 at timestamp: 1323746010970
> [INFO] [INFO] Storing buildScmBranch: trunk
> [INFO] [INFO] [antrun:run {execution: javadoc.resources}]
> [INFO] [INFO] Executing tasks
> [INFO]
> [INFO] main:
> [INFO] [INFO] Executed tasks
> [INFO] [INFO] [source:jar {execution: create-source-jar}]
> [INFO] [INFO] Building jar:
> /home/wspeirs/workspace/commons-dbutils/target/commons-dbutils-1.5-sources.jar
> [INFO] [INFO] Preparing javadoc:javadoc
> [INFO] [WARNING] Removing: jar from forked lifecycle, to prevent
> recursive invocation.
> [INFO] [WARNING] Removing: javadoc from forked lifecycle, to prevent
> recursive invocation.
> [INFO] [INFO] [buildnumber:create {execution: default}]
> [INFO] [INFO] Change the default 'svn' provider implementation to 'javasvn'.
> [INFO] [INFO] Checking for local modifications: skipped.
> [INFO] [INFO] Updating project files from SCM: skipped.
> [INFO] [INFO] Storing buildNumber: 1213127 at timestamp: 1323746012702
> [INFO] [INFO] Storing buildScmBranch: trunk
> [INFO] [INFO] [antrun:run {execution: javadoc.resources}]
> [INFO] [INFO] Executing tasks
> [INFO]
> [INFO] main:
> [INFO] [INFO] Executed tasks
> [INFO] [INFO] [javadoc:javadoc {execution: create-javadoc-jar}]
> [INFO] [INFO] [javadoc:jar {execution: create-javadoc-jar}]
> [INFO] [INFO] Building jar:
> /home/wspeirs/workspace/commons-dbutils/target/commons-dbutils-1.5-javadoc.jar
> [INFO] [INFO] [assembly:single {execution: default}]
> [INFO] [INFO] Reading assembly descriptor: src/main/assembly/bin.xml
> [INFO] [INFO] Reading assembly descriptor: src/main/assembly/src.xml
> [INFO] [INFO] Building tar :
> /home/wspeirs/workspace/commons-dbutils/target/commons-dbutils-1.5-bin.tar.gz
> [INFO] [INFO] Building zip:
> /home/wspeirs/workspace/commons-dbutils/target/commons-dbutils-1.5-bin.zip
> [INFO] [INFO] Building tar :
> /home/wspeirs/workspace/commons-dbutils/target/commons-dbutils-1.5-src.tar.gz
> [INFO] [INFO] Building zip:
> /home/wspeirs/workspace/commons-dbutils/target/commons-dbutils-1.5-src.zip
> [INFO] [INFO] [gpg:sign {execution: sign-artifacts}]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message