commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Speirs <wspe...@apache.org>
Subject Re: [dbutils] sign-artifacts hangs during release:prepare
Date Tue, 13 Dec 2011 04:56:45 GMT
I was able to get past the hanging issue, but I'm not in a better
place. I've added my passphrase to my settings.xml file (which I hate
to do), but it reports now that my passphrase is bad. Enabling
debugging I see:

INFO] [DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-gpg-plugin:1.4:sign' -->
[INFO] [DEBUG]   (f) ascDirectory =
/home/wspeirs/workspace/commons-dbutils/target/gpg
[INFO] [DEBUG]   (f) defaultKeyring = true
[INFO] [DEBUG]   (f) interactive = true
[INFO] [DEBUG]   (f) passphrase = (matches what I entered in settings.xml)
[INFO] [DEBUG]   (f) project = MavenProject:
commons-dbutils:commons-dbutils:1.5-SNAPSHOT @
/home/wspeirs/workspace/commons-dbutils/pom.xml
[INFO] [DEBUG]   (f) skip = false
[INFO] [DEBUG]   (f) useAgent = true
[INFO] [DEBUG] -- end configuration --
[INFO] [INFO] [gpg:sign {execution: sign-artifacts}]
[INFO] [DEBUG] Generating signature for
/home/wspeirs/workspace/commons-dbutils/target/commons-dbutils-1.5-SNAPSHOT.jar
[INFO] gpg: no default secret key: bad passphrase
[INFO] gpg: signing failed: bad passphrase

I tested this passphrase by encrypting a file with gpg and everything
works. The only thing I can think of is that for some reason when I
run gpg (from the command line) it pops up a dialog box which asks for
my password. I think this is some sort of GPG agent. Could that be
getting in the way?

Again, any help would be greatly appreciated...

Bill-

On Mon, Dec 12, 2011 at 10:41 PM, William Speirs <wspeirs@apache.org> wrote:
> I'm on a Linux box running gpg (GnuPG) 1.4.10.
>
> I'll look into those directions... thanks.
>
> Bill-
>
> On Mon, Dec 12, 2011 at 10:33 PM, Gary Gregory <garydgregory@gmail.com> wrote:
>> The last time I ran into something like this I did not have some security
>> setting just right, maybe something about GPG on Windows, sorry I cannot
>> recall the dets.
>>
>> But, I follow these steps for the releases I manage:
>>
>> http://wiki.apache.org/commons/UsingNexus
>>
>> Gary
>>
>> On Mon, Dec 12, 2011 at 10:19 PM, 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
>>>
>>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory

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


Mime
View raw message