You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by William Speirs <ws...@apache.org> on 2011/12/13 04:19:29 UTC

[dbutils] sign-artifacts hangs during release:prepare

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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by Gary Gregory <ga...@gmail.com>.
On Wed, Dec 21, 2011 at 12:23 PM, William Speirs <ws...@apache.org> wrote:

> I was able to get past the SVN authentication issue by providing my
> username and password on the command line like this:
>
> -Dusername=wspeirs -Dpassword=XXXXX
>
> However, I was still required to type my password ~10 times during the
> upload process. Is there any way around this? I feel like my
> settings.xml file is wrong:
>
>  <servers>
>    <server>
>      <id>apache.releases.https</id>
>      <username>wspeirs</username>
>      <password>{XXXXXXXXXX}</password>
>       <filePermissions>664</filePermissions>
>      <directoryPermissions>775</directoryPermissions>
>    </server>
>    <server>
>      <id>apache.website</id>
>      <username>wspeirs</username>
>       <password>{XXXXXXXXXX}</password>
>       <filePermissions>664</filePermissions>
>      <directoryPermissions>775</directoryPermissions>
>    </server>
>    <server>
>       <id>apache.snapshots.https</id>
>      <username>wspeirs</username>
>      <password>{XXXXXXXXXX}</password>
>       <filePermissions>664</filePermissions>
>      <directoryPermissions>775</directoryPermissions>
>    </server>
>  </servers>
>
>
> Gary, I have no clue what a "infra Jira" is...
>
>
Here it is:
https://issues.apache.org/jira/browse/INFRA?selectedTab=com.atlassian.jira.plugin.system.project%3Asummary-panel

Gary

>
> Thanks!
>
> Bill-
>
> On Thu, Dec 15, 2011 at 7:13 AM, Gary Gregory <ga...@gmail.com>
> wrote:
> > On Dec 15, 2011, at 4:42, sebb <se...@gmail.com> wrote:
> >
> >> On 15 December 2011 03:32, William Speirs <ws...@apache.org> wrote:
> >>> Anyone have any idea on this? Should I be seeing basic auth for my
> >>> challenge? Where can I set the password as I was never prompted to
> >>> enter it.
> >>>
> >>> At this point, can someone else deploy RC1 while I figure out what is
> >>> wrong on my end?
> >>
> >> I don't use the release plugin so cannot help directly.
> >>
> >> You could create the RC tag manually, as described in
> >>
> >>
> http://wiki.apache.org/commons/UsingNexus#Create_the_SVN_tags_.28Manual_method.29
> >>
> >> This has the advantage that trunk never loses the SNAPSHOT suffix, and
> >> you have a clean workspace in which to build the code, and the SVN
> >> commands are not buried in the Maven invocation.
> >>
> >> However, AFAICT dbutils is not currently set up to use Nexus - it's
> >> not an o.a.c groupId - so you cannot use Nexus to stage and deploy the
> >> Maven artifacts.
> >
> > You just need an infra Jira to create the nexus stuff for this group Id.
> >
> > Gary
> >
> >>
> >> Be very careful you don't accidentally deploy the artifacts to the
> >> live repo before the vote succeeds.
> >> Sorry, but I don't know how deployment is done without Nexus.
> >>
> >>> Thanks...
> >>>
> >>> Bill-
> >>>
> >>> On Tue, Dec 13, 2011 at 4:32 PM, William Speirs <ws...@apache.org>
> wrote:
> >>>> First, thank you all again for the help!
> >>>>
> >>>> I got past the GPG step, now I'm stuck on password/auth issues now
> with SVN :-(
> >>>>
> >>>> I thought the issue was that my password manager wasn't authed and
> >>>> that svn was working in a non-interactive mode, so it couldn't get my
> >>>> password; this was the reason for -r1213934.
> >>>>
> >>>> Anyway, output below... any/all ideas welcomed!
> >>>>
> >>>> Bill-
> >>>>
> >>>> [INFO] Checking in modified POMs...
> >>>> [INFO] Executing: /bin/sh -c cd
> >>>> /home/wspeirs/workspace/commons-dbutils && svn --non-interactive
> >>>> commit --file /tmp/maven-scm-481300763.commit --targets
> >>>> /tmp/maven-scm-3917786176898805146-targets
> >>>> [INFO] Working directory: /home/wspeirs/workspace/commons-dbutils
> >>>> [INFO]
> ------------------------------------------------------------------------
> >>>> [ERROR] BUILD FAILURE
> >>>> [INFO]
> ------------------------------------------------------------------------
> >>>> [INFO] Unable to commit files
> >>>> Provider message:
> >>>> The svn command failed.
> >>>> Command output:
> >>>> svn: Commit failed (details follow):
> >>>> svn: MKACTIVITY of
> >>>> '/repos/asf/!svn/act/3b6f8370-abd6-4d88-adeb-7dc981ecd57f':
> >>>> authorization failed: Could not authenticate to server: rejected Basic
> >>>> challenge (https://svn.apache.org)
> >>>>
> >>>>
> >>>> On Tue, Dec 13, 2011 at 10:28 AM, sebb <se...@gmail.com> wrote:
> >>>>> On 13 December 2011 15:19, William Speirs <ws...@apache.org>
> wrote:
> >>>>>> I will try adding the additional elements:
> >>>>>>
> >>>>>> <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
> >>>>>> <!-- must be on the execution path -->
> >>>>>> <gpg.executable>gpg2</gpg.executable>
> >>>>>
> >>>>> Sorry, should have clarified - the above requires gpg2 to be
> installed
> >>>>> and created.
> >>>>>
> >>>>> I installed both gpg1 and gpg2, and created gpg1 and gpg2 as copies
> of
> >>>>> their respective gpg executables.
> >>>>> e.g. on Windows copy gpg.exe gpg<n>.exe
> >>>>>
> >>>>> Both versions of gpg are on the execution path; running gpg picks the
> >>>>> first one; running gpg1 or gpg2 picks only that version.
> >>>>>
> >>>>> This enables quick swapping between them as required.
> >>>>>
> >>>>>> And also try with gpg2.
> >>>>>>
> >>>>>> I'll try later today and update.
> >>>>>>
> >>>>>> Thanks again for all of the help!
> >>>>>>
> >>>>>> Bill-
> >>>>>>
> >>>>>> On Tue, Dec 13, 2011 at 9:23 AM, Gary Gregory <
> garydgregory@gmail.com> wrote:
> >>>>>>> FWIW: My set up is such that I always enter my password on the CLI
> when
> >>>>>>> Maven asks for it.
> >>>>>>>
> >>>>>>> Gary
> >>>>>>>
> >>>>>>> On Tue, Dec 13, 2011 at 9:20 AM, sebb <se...@gmail.com> wrote:
> >>>>>>>
> >>>>>>>> On 13 December 2011 13:53, William Speirs <ws...@apache.org>
> wrote:
> >>>>>>>>> On Tue, Dec 13, 2011 at 12:16 AM, Gary Gregory <
> garydgregory@gmail.com>
> >>>>>>>> wrote:
> >>>>>>>>>> Did you do the whole master pass phrase/obfuscated stuff that
> the top
> >>>>>>>>>> of the Using Nexus wiki points to?
> >>>>>>>>>
> >>>>>>>>> I did not do this at first, but I have since tried. I setup my
> >>>>>>>>> settings-security.xml file as show on the wiki page, and added
> the
> >>>>>>>>> encrypted passwords to my settings.xml file. Still doesn't work.
> >>>>>>>>>
> >>>>>>>>> Below is my entire settings.xml file (with passwords removed). By
> >>>>>>>>> adding the <mavenExecutorId> element, it will not hang but
> prompt me
> >>>>>>>>> for a password if it's not supplied via <gpg.passphrase>.
> However,
> >>>>>>>>> even when I type my passphrase in, it still rejects it. Again,
> if I
> >>>>>>>>> use gpg -c somefile.txt and type in that same passphrase,
> everything
> >>>>>>>>> works.
> >>>>>>>>>
> >>>>>>>>> I'm testing this by running: mvn -Prc,apache package gpg:sign
> >>>>>>>>
> >>>>>>>> Not sure what the rc profile does compared with the release
> profile.
> >>>>>>>>
> >>>>>>>> What version of GPG are you using?
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> And I keep getting:
> >>>>>>>>>
> >>>>>>>>> [INFO] [gpg:sign {execution: default-cli}]
> >>>>>>>>> gpg: skipped "B0EC1E65": bad passphrase
> >>>>>>>>> gpg: signing failed: bad passphrase
> >>>>>>>>>
> >>>>>>>>> I'm at a loss at this point...
> >>>>>>>>>
> >>>>>>>>> Bill-
> >>>>>>>>>
> >>>>>>>>> * settings.xml *
> >>>>>>>>>
> >>>>>>>>> <?xml version="1.0"?>
> >>>>>>>>> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
> >>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >>>>>>>>> xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
> >>>>>>>>> http://maven.apache.org/xsd/settings-1.0.0.xsd">
> >>>>>>>>>  <servers>
> >>>>>>>>>    <server>
> >>>>>>>>>      <id>apache.releases</id>
> >>>>>>>>>      <username>wspeirs</username>
> >>>>>>>>>      <password>{my encrypted Apache password here}</password>
> >>>>>>>>>      <filePermissions>664</filePermissions>
> >>>>>>>>>      <directoryPermissions>775</directoryPermissions>
> >>>>>>>>>    </server>
> >>>>>>>>>    <server>
> >>>>>>>>>      <id>apache.website</id>
> >>>>>>>>>      <username>wspeirs</username>
> >>>>>>>>>      <password>{my encrypted Apache password here}</password>
> >>>>>>>>>      <filePermissions>664</filePermissions>
> >>>>>>>>>      <directoryPermissions>775</directoryPermissions>
> >>>>>>>>>    </server>
> >>>>>>>>>    <server>
> >>>>>>>>>      <id>apache.snapshots</id>
> >>>>>>>>>      <username>wspeirs</username>
> >>>>>>>>>      <password>{my encrypted Apache password here}</password>
> >>>>>>>>>      <filePermissions>664</filePermissions>
> >>>>>>>>>      <directoryPermissions>775</directoryPermissions>
> >>>>>>>>>    </server>
> >>>>>>>>>  </servers>
> >>>>>>>>>  <profiles>
> >>>>>>>>>    <profile>
> >>>>>>>>>      <id>apache</id>
> >>>>>>>>>      <activation>
> >>>>>>>>>        <activeByDefault>false</activeByDefault>
> >>>>>>>>>      </activation>
> >>>>>>>>>      <properties>
> >>>>>>>>>        <mavenExecutorId>forked-path</mavenExecutorId>
> >>>>>>>>>
>  <commons.deployment.protocol>scp</commons.deployment.protocol>
> >>>>>>>>>        <gpg.keyname>B0EC1E65</gpg.keyname>
> >>>>>>>>>        <gpg.passphrase>{my encrypted GPG password
> here}</gpg.passphrase>
> >>>>>>>>>      </properties>
> >>>>>>>>>    </profile>
> >>>>>>>>>  </profiles>
> >>>>>>>>> </settings>
> >>>>>>>>
> >>>>>>>> I use an external GPG database (on a USB stick); but for test
> purposes
> >>>>>>>> I have a dummy signing key using a local database.
> >>>>>>>>
> >>>>>>>>    <profile>
> >>>>>>>>      <id>keyTest</id>
> >>>>>>>>      <properties>
> >>>>>>>>        <gpg.keyname>Deploy Test User</gpg.keyname>
> >>>>>>>>        <gpg.passphrase>password in clear</gpg.passphrase>
> >>>>>>>>        <gpg.useagent>false</gpg.useagent>
> >>>>>>>>      </properties>
> >>>>>>>>    </profile>
> >>>>>>>>
> >>>>>>>> Here's the real key profile:
> >>>>>>>>
> >>>>>>>>    <profile>
> >>>>>>>>      <id>keyReal</id>
> >>>>>>>>      <properties>
> >>>>>>>>        <gpg.keyname>4FAD5F62</gpg.keyname>
> >>>>>>>>        <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
> >>>>>>>>       <!-- must be on the execution path -->
> >>>>>>>>        <gpg.executable>gpg2</gpg.executable>
> >>>>>>>>        <gpg.useagent>false</gpg.useagent>
> >>>>>>>>      </properties>
> >>>>>>>>    </profile>
> >>>>>>>>
> >>>>>>>> I found gpg2 worked better for me, but I still use gpg1 sometimes.
> >>>>>>>>
> >>>>>>>> The real gpg password is not stored anywhere; I have to enter it
> at
> >>>>>>>> run-time.
> >>>>>>>>
> >>>>>>>> For example, if I remove the test password, I see the following:
> >>>>>>>>
> >>>>>>>> mvn package gpg:sign -PkeyTest
> >>>>>>>> ...
> >>>>>>>> [INFO] [jar:jar {execution: default-jar}]
> >>>>>>>> [INFO] [jar:test-jar {execution: default}]
> >>>>>>>> [INFO] [gpg:sign {execution: default-cli}]
> >>>>>>>> GPG Passphrase: * <= enter the passphrase here.
> >>>>>>>>
> >>>>>>>> The same applies to gpg1 and gpg2, but if I use gpg2, I also get
> the
> >>>>>>>> following warnings:
> >>>>>>>>
> >>>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no
> effect
> >>>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no
> effect
> >>>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no
> effect
> >>>>>>>>
> >>>>>>>> The settings-security.xml file is not needed for GPG passwords.
> >>>>>>>> And I've not tried it.
> >>>>>>>>
> >>>>>>>> I suggest you set up a dummy local key and password as per my
> example.
> >>>>>>>> Get that working, then try specifying the secret key ring to
> point to
> >>>>>>>> the dummy key.
> >>>>>>>> When that works, drop the password.
> >>>>>>>> Then fix the secret key ring tag to point to your real secret key
> ring.
> >>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> ---------------------------------------------------------------------
> >>>>>>>>> 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
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> 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
> >>>>>>
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> 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
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >
>
> ---------------------------------------------------------------------
> 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

Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by William Speirs <ws...@apache.org>.
I was able to get past the SVN authentication issue by providing my
username and password on the command line like this:

-Dusername=wspeirs -Dpassword=XXXXX

However, I was still required to type my password ~10 times during the
upload process. Is there any way around this? I feel like my
settings.xml file is wrong:

  <servers>
    <server>
      <id>apache.releases.https</id>
      <username>wspeirs</username>
      <password>{XXXXXXXXXX}</password>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>
    </server>
    <server>
      <id>apache.website</id>
      <username>wspeirs</username>
      <password>{XXXXXXXXXX}</password>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>
    </server>
    <server>
      <id>apache.snapshots.https</id>
      <username>wspeirs</username>
      <password>{XXXXXXXXXX}</password>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>
    </server>
  </servers>


Gary, I have no clue what a "infra Jira" is...

Thanks!

Bill-

On Thu, Dec 15, 2011 at 7:13 AM, Gary Gregory <ga...@gmail.com> wrote:
> On Dec 15, 2011, at 4:42, sebb <se...@gmail.com> wrote:
>
>> On 15 December 2011 03:32, William Speirs <ws...@apache.org> wrote:
>>> Anyone have any idea on this? Should I be seeing basic auth for my
>>> challenge? Where can I set the password as I was never prompted to
>>> enter it.
>>>
>>> At this point, can someone else deploy RC1 while I figure out what is
>>> wrong on my end?
>>
>> I don't use the release plugin so cannot help directly.
>>
>> You could create the RC tag manually, as described in
>>
>> http://wiki.apache.org/commons/UsingNexus#Create_the_SVN_tags_.28Manual_method.29
>>
>> This has the advantage that trunk never loses the SNAPSHOT suffix, and
>> you have a clean workspace in which to build the code, and the SVN
>> commands are not buried in the Maven invocation.
>>
>> However, AFAICT dbutils is not currently set up to use Nexus - it's
>> not an o.a.c groupId - so you cannot use Nexus to stage and deploy the
>> Maven artifacts.
>
> You just need an infra Jira to create the nexus stuff for this group Id.
>
> Gary
>
>>
>> Be very careful you don't accidentally deploy the artifacts to the
>> live repo before the vote succeeds.
>> Sorry, but I don't know how deployment is done without Nexus.
>>
>>> Thanks...
>>>
>>> Bill-
>>>
>>> On Tue, Dec 13, 2011 at 4:32 PM, William Speirs <ws...@apache.org> wrote:
>>>> First, thank you all again for the help!
>>>>
>>>> I got past the GPG step, now I'm stuck on password/auth issues now with SVN :-(
>>>>
>>>> I thought the issue was that my password manager wasn't authed and
>>>> that svn was working in a non-interactive mode, so it couldn't get my
>>>> password; this was the reason for -r1213934.
>>>>
>>>> Anyway, output below... any/all ideas welcomed!
>>>>
>>>> Bill-
>>>>
>>>> [INFO] Checking in modified POMs...
>>>> [INFO] Executing: /bin/sh -c cd
>>>> /home/wspeirs/workspace/commons-dbutils && svn --non-interactive
>>>> commit --file /tmp/maven-scm-481300763.commit --targets
>>>> /tmp/maven-scm-3917786176898805146-targets
>>>> [INFO] Working directory: /home/wspeirs/workspace/commons-dbutils
>>>> [INFO] ------------------------------------------------------------------------
>>>> [ERROR] BUILD FAILURE
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] Unable to commit files
>>>> Provider message:
>>>> The svn command failed.
>>>> Command output:
>>>> svn: Commit failed (details follow):
>>>> svn: MKACTIVITY of
>>>> '/repos/asf/!svn/act/3b6f8370-abd6-4d88-adeb-7dc981ecd57f':
>>>> authorization failed: Could not authenticate to server: rejected Basic
>>>> challenge (https://svn.apache.org)
>>>>
>>>>
>>>> On Tue, Dec 13, 2011 at 10:28 AM, sebb <se...@gmail.com> wrote:
>>>>> On 13 December 2011 15:19, William Speirs <ws...@apache.org> wrote:
>>>>>> I will try adding the additional elements:
>>>>>>
>>>>>> <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>>>>>> <!-- must be on the execution path -->
>>>>>> <gpg.executable>gpg2</gpg.executable>
>>>>>
>>>>> Sorry, should have clarified - the above requires gpg2 to be installed
>>>>> and created.
>>>>>
>>>>> I installed both gpg1 and gpg2, and created gpg1 and gpg2 as copies of
>>>>> their respective gpg executables.
>>>>> e.g. on Windows copy gpg.exe gpg<n>.exe
>>>>>
>>>>> Both versions of gpg are on the execution path; running gpg picks the
>>>>> first one; running gpg1 or gpg2 picks only that version.
>>>>>
>>>>> This enables quick swapping between them as required.
>>>>>
>>>>>> And also try with gpg2.
>>>>>>
>>>>>> I'll try later today and update.
>>>>>>
>>>>>> Thanks again for all of the help!
>>>>>>
>>>>>> Bill-
>>>>>>
>>>>>> On Tue, Dec 13, 2011 at 9:23 AM, Gary Gregory <ga...@gmail.com> wrote:
>>>>>>> FWIW: My set up is such that I always enter my password on the CLI when
>>>>>>> Maven asks for it.
>>>>>>>
>>>>>>> Gary
>>>>>>>
>>>>>>> On Tue, Dec 13, 2011 at 9:20 AM, sebb <se...@gmail.com> wrote:
>>>>>>>
>>>>>>>> On 13 December 2011 13:53, William Speirs <ws...@apache.org> wrote:
>>>>>>>>> On Tue, Dec 13, 2011 at 12:16 AM, Gary Gregory <ga...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>>> Did you do the whole master pass phrase/obfuscated stuff that the top
>>>>>>>>>> of the Using Nexus wiki points to?
>>>>>>>>>
>>>>>>>>> I did not do this at first, but I have since tried. I setup my
>>>>>>>>> settings-security.xml file as show on the wiki page, and added the
>>>>>>>>> encrypted passwords to my settings.xml file. Still doesn't work.
>>>>>>>>>
>>>>>>>>> Below is my entire settings.xml file (with passwords removed). By
>>>>>>>>> adding the <mavenExecutorId> element, it will not hang but prompt me
>>>>>>>>> for a password if it's not supplied via <gpg.passphrase>. However,
>>>>>>>>> even when I type my passphrase in, it still rejects it. Again, if I
>>>>>>>>> use gpg -c somefile.txt and type in that same passphrase, everything
>>>>>>>>> works.
>>>>>>>>>
>>>>>>>>> I'm testing this by running: mvn -Prc,apache package gpg:sign
>>>>>>>>
>>>>>>>> Not sure what the rc profile does compared with the release profile.
>>>>>>>>
>>>>>>>> What version of GPG are you using?
>>>>>>>>
>>>>>>>>
>>>>>>>>> And I keep getting:
>>>>>>>>>
>>>>>>>>> [INFO] [gpg:sign {execution: default-cli}]
>>>>>>>>> gpg: skipped "B0EC1E65": bad passphrase
>>>>>>>>> gpg: signing failed: bad passphrase
>>>>>>>>>
>>>>>>>>> I'm at a loss at this point...
>>>>>>>>>
>>>>>>>>> Bill-
>>>>>>>>>
>>>>>>>>> * settings.xml *
>>>>>>>>>
>>>>>>>>> <?xml version="1.0"?>
>>>>>>>>> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>> xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
>>>>>>>>> http://maven.apache.org/xsd/settings-1.0.0.xsd">
>>>>>>>>>  <servers>
>>>>>>>>>    <server>
>>>>>>>>>      <id>apache.releases</id>
>>>>>>>>>      <username>wspeirs</username>
>>>>>>>>>      <password>{my encrypted Apache password here}</password>
>>>>>>>>>      <filePermissions>664</filePermissions>
>>>>>>>>>      <directoryPermissions>775</directoryPermissions>
>>>>>>>>>    </server>
>>>>>>>>>    <server>
>>>>>>>>>      <id>apache.website</id>
>>>>>>>>>      <username>wspeirs</username>
>>>>>>>>>      <password>{my encrypted Apache password here}</password>
>>>>>>>>>      <filePermissions>664</filePermissions>
>>>>>>>>>      <directoryPermissions>775</directoryPermissions>
>>>>>>>>>    </server>
>>>>>>>>>    <server>
>>>>>>>>>      <id>apache.snapshots</id>
>>>>>>>>>      <username>wspeirs</username>
>>>>>>>>>      <password>{my encrypted Apache password here}</password>
>>>>>>>>>      <filePermissions>664</filePermissions>
>>>>>>>>>      <directoryPermissions>775</directoryPermissions>
>>>>>>>>>    </server>
>>>>>>>>>  </servers>
>>>>>>>>>  <profiles>
>>>>>>>>>    <profile>
>>>>>>>>>      <id>apache</id>
>>>>>>>>>      <activation>
>>>>>>>>>        <activeByDefault>false</activeByDefault>
>>>>>>>>>      </activation>
>>>>>>>>>      <properties>
>>>>>>>>>        <mavenExecutorId>forked-path</mavenExecutorId>
>>>>>>>>>        <commons.deployment.protocol>scp</commons.deployment.protocol>
>>>>>>>>>        <gpg.keyname>B0EC1E65</gpg.keyname>
>>>>>>>>>        <gpg.passphrase>{my encrypted GPG password here}</gpg.passphrase>
>>>>>>>>>      </properties>
>>>>>>>>>    </profile>
>>>>>>>>>  </profiles>
>>>>>>>>> </settings>
>>>>>>>>
>>>>>>>> I use an external GPG database (on a USB stick); but for test purposes
>>>>>>>> I have a dummy signing key using a local database.
>>>>>>>>
>>>>>>>>    <profile>
>>>>>>>>      <id>keyTest</id>
>>>>>>>>      <properties>
>>>>>>>>        <gpg.keyname>Deploy Test User</gpg.keyname>
>>>>>>>>        <gpg.passphrase>password in clear</gpg.passphrase>
>>>>>>>>        <gpg.useagent>false</gpg.useagent>
>>>>>>>>      </properties>
>>>>>>>>    </profile>
>>>>>>>>
>>>>>>>> Here's the real key profile:
>>>>>>>>
>>>>>>>>    <profile>
>>>>>>>>      <id>keyReal</id>
>>>>>>>>      <properties>
>>>>>>>>        <gpg.keyname>4FAD5F62</gpg.keyname>
>>>>>>>>        <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>>>>>>>>       <!-- must be on the execution path -->
>>>>>>>>        <gpg.executable>gpg2</gpg.executable>
>>>>>>>>        <gpg.useagent>false</gpg.useagent>
>>>>>>>>      </properties>
>>>>>>>>    </profile>
>>>>>>>>
>>>>>>>> I found gpg2 worked better for me, but I still use gpg1 sometimes.
>>>>>>>>
>>>>>>>> The real gpg password is not stored anywhere; I have to enter it at
>>>>>>>> run-time.
>>>>>>>>
>>>>>>>> For example, if I remove the test password, I see the following:
>>>>>>>>
>>>>>>>> mvn package gpg:sign -PkeyTest
>>>>>>>> ...
>>>>>>>> [INFO] [jar:jar {execution: default-jar}]
>>>>>>>> [INFO] [jar:test-jar {execution: default}]
>>>>>>>> [INFO] [gpg:sign {execution: default-cli}]
>>>>>>>> GPG Passphrase: * <= enter the passphrase here.
>>>>>>>>
>>>>>>>> The same applies to gpg1 and gpg2, but if I use gpg2, I also get the
>>>>>>>> following warnings:
>>>>>>>>
>>>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>>>>>
>>>>>>>> The settings-security.xml file is not needed for GPG passwords.
>>>>>>>> And I've not tried it.
>>>>>>>>
>>>>>>>> I suggest you set up a dummy local key and password as per my example.
>>>>>>>> Get that working, then try specifying the secret key ring to point to
>>>>>>>> the dummy key.
>>>>>>>> When that works, drop the password.
>>>>>>>> Then fix the secret key ring tag to point to your real secret key ring.
>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> 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
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> 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
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>>
>>
>> ---------------------------------------------------------------------
>> 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
>

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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by Gary Gregory <ga...@gmail.com>.
On Dec 15, 2011, at 4:42, sebb <se...@gmail.com> wrote:

> On 15 December 2011 03:32, William Speirs <ws...@apache.org> wrote:
>> Anyone have any idea on this? Should I be seeing basic auth for my
>> challenge? Where can I set the password as I was never prompted to
>> enter it.
>>
>> At this point, can someone else deploy RC1 while I figure out what is
>> wrong on my end?
>
> I don't use the release plugin so cannot help directly.
>
> You could create the RC tag manually, as described in
>
> http://wiki.apache.org/commons/UsingNexus#Create_the_SVN_tags_.28Manual_method.29
>
> This has the advantage that trunk never loses the SNAPSHOT suffix, and
> you have a clean workspace in which to build the code, and the SVN
> commands are not buried in the Maven invocation.
>
> However, AFAICT dbutils is not currently set up to use Nexus - it's
> not an o.a.c groupId - so you cannot use Nexus to stage and deploy the
> Maven artifacts.

You just need an infra Jira to create the nexus stuff for this group Id.

Gary

>
> Be very careful you don't accidentally deploy the artifacts to the
> live repo before the vote succeeds.
> Sorry, but I don't know how deployment is done without Nexus.
>
>> Thanks...
>>
>> Bill-
>>
>> On Tue, Dec 13, 2011 at 4:32 PM, William Speirs <ws...@apache.org> wrote:
>>> First, thank you all again for the help!
>>>
>>> I got past the GPG step, now I'm stuck on password/auth issues now with SVN :-(
>>>
>>> I thought the issue was that my password manager wasn't authed and
>>> that svn was working in a non-interactive mode, so it couldn't get my
>>> password; this was the reason for -r1213934.
>>>
>>> Anyway, output below... any/all ideas welcomed!
>>>
>>> Bill-
>>>
>>> [INFO] Checking in modified POMs...
>>> [INFO] Executing: /bin/sh -c cd
>>> /home/wspeirs/workspace/commons-dbutils && svn --non-interactive
>>> commit --file /tmp/maven-scm-481300763.commit --targets
>>> /tmp/maven-scm-3917786176898805146-targets
>>> [INFO] Working directory: /home/wspeirs/workspace/commons-dbutils
>>> [INFO] ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Unable to commit files
>>> Provider message:
>>> The svn command failed.
>>> Command output:
>>> svn: Commit failed (details follow):
>>> svn: MKACTIVITY of
>>> '/repos/asf/!svn/act/3b6f8370-abd6-4d88-adeb-7dc981ecd57f':
>>> authorization failed: Could not authenticate to server: rejected Basic
>>> challenge (https://svn.apache.org)
>>>
>>>
>>> On Tue, Dec 13, 2011 at 10:28 AM, sebb <se...@gmail.com> wrote:
>>>> On 13 December 2011 15:19, William Speirs <ws...@apache.org> wrote:
>>>>> I will try adding the additional elements:
>>>>>
>>>>> <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>>>>> <!-- must be on the execution path -->
>>>>> <gpg.executable>gpg2</gpg.executable>
>>>>
>>>> Sorry, should have clarified - the above requires gpg2 to be installed
>>>> and created.
>>>>
>>>> I installed both gpg1 and gpg2, and created gpg1 and gpg2 as copies of
>>>> their respective gpg executables.
>>>> e.g. on Windows copy gpg.exe gpg<n>.exe
>>>>
>>>> Both versions of gpg are on the execution path; running gpg picks the
>>>> first one; running gpg1 or gpg2 picks only that version.
>>>>
>>>> This enables quick swapping between them as required.
>>>>
>>>>> And also try with gpg2.
>>>>>
>>>>> I'll try later today and update.
>>>>>
>>>>> Thanks again for all of the help!
>>>>>
>>>>> Bill-
>>>>>
>>>>> On Tue, Dec 13, 2011 at 9:23 AM, Gary Gregory <ga...@gmail.com> wrote:
>>>>>> FWIW: My set up is such that I always enter my password on the CLI when
>>>>>> Maven asks for it.
>>>>>>
>>>>>> Gary
>>>>>>
>>>>>> On Tue, Dec 13, 2011 at 9:20 AM, sebb <se...@gmail.com> wrote:
>>>>>>
>>>>>>> On 13 December 2011 13:53, William Speirs <ws...@apache.org> wrote:
>>>>>>>> On Tue, Dec 13, 2011 at 12:16 AM, Gary Gregory <ga...@gmail.com>
>>>>>>> wrote:
>>>>>>>>> Did you do the whole master pass phrase/obfuscated stuff that the top
>>>>>>>>> of the Using Nexus wiki points to?
>>>>>>>>
>>>>>>>> I did not do this at first, but I have since tried. I setup my
>>>>>>>> settings-security.xml file as show on the wiki page, and added the
>>>>>>>> encrypted passwords to my settings.xml file. Still doesn't work.
>>>>>>>>
>>>>>>>> Below is my entire settings.xml file (with passwords removed). By
>>>>>>>> adding the <mavenExecutorId> element, it will not hang but prompt me
>>>>>>>> for a password if it's not supplied via <gpg.passphrase>. However,
>>>>>>>> even when I type my passphrase in, it still rejects it. Again, if I
>>>>>>>> use gpg -c somefile.txt and type in that same passphrase, everything
>>>>>>>> works.
>>>>>>>>
>>>>>>>> I'm testing this by running: mvn -Prc,apache package gpg:sign
>>>>>>>
>>>>>>> Not sure what the rc profile does compared with the release profile.
>>>>>>>
>>>>>>> What version of GPG are you using?
>>>>>>>
>>>>>>>
>>>>>>>> And I keep getting:
>>>>>>>>
>>>>>>>> [INFO] [gpg:sign {execution: default-cli}]
>>>>>>>> gpg: skipped "B0EC1E65": bad passphrase
>>>>>>>> gpg: signing failed: bad passphrase
>>>>>>>>
>>>>>>>> I'm at a loss at this point...
>>>>>>>>
>>>>>>>> Bill-
>>>>>>>>
>>>>>>>> * settings.xml *
>>>>>>>>
>>>>>>>> <?xml version="1.0"?>
>>>>>>>> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>> xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
>>>>>>>> http://maven.apache.org/xsd/settings-1.0.0.xsd">
>>>>>>>>  <servers>
>>>>>>>>    <server>
>>>>>>>>      <id>apache.releases</id>
>>>>>>>>      <username>wspeirs</username>
>>>>>>>>      <password>{my encrypted Apache password here}</password>
>>>>>>>>      <filePermissions>664</filePermissions>
>>>>>>>>      <directoryPermissions>775</directoryPermissions>
>>>>>>>>    </server>
>>>>>>>>    <server>
>>>>>>>>      <id>apache.website</id>
>>>>>>>>      <username>wspeirs</username>
>>>>>>>>      <password>{my encrypted Apache password here}</password>
>>>>>>>>      <filePermissions>664</filePermissions>
>>>>>>>>      <directoryPermissions>775</directoryPermissions>
>>>>>>>>    </server>
>>>>>>>>    <server>
>>>>>>>>      <id>apache.snapshots</id>
>>>>>>>>      <username>wspeirs</username>
>>>>>>>>      <password>{my encrypted Apache password here}</password>
>>>>>>>>      <filePermissions>664</filePermissions>
>>>>>>>>      <directoryPermissions>775</directoryPermissions>
>>>>>>>>    </server>
>>>>>>>>  </servers>
>>>>>>>>  <profiles>
>>>>>>>>    <profile>
>>>>>>>>      <id>apache</id>
>>>>>>>>      <activation>
>>>>>>>>        <activeByDefault>false</activeByDefault>
>>>>>>>>      </activation>
>>>>>>>>      <properties>
>>>>>>>>        <mavenExecutorId>forked-path</mavenExecutorId>
>>>>>>>>        <commons.deployment.protocol>scp</commons.deployment.protocol>
>>>>>>>>        <gpg.keyname>B0EC1E65</gpg.keyname>
>>>>>>>>        <gpg.passphrase>{my encrypted GPG password here}</gpg.passphrase>
>>>>>>>>      </properties>
>>>>>>>>    </profile>
>>>>>>>>  </profiles>
>>>>>>>> </settings>
>>>>>>>
>>>>>>> I use an external GPG database (on a USB stick); but for test purposes
>>>>>>> I have a dummy signing key using a local database.
>>>>>>>
>>>>>>>    <profile>
>>>>>>>      <id>keyTest</id>
>>>>>>>      <properties>
>>>>>>>        <gpg.keyname>Deploy Test User</gpg.keyname>
>>>>>>>        <gpg.passphrase>password in clear</gpg.passphrase>
>>>>>>>        <gpg.useagent>false</gpg.useagent>
>>>>>>>      </properties>
>>>>>>>    </profile>
>>>>>>>
>>>>>>> Here's the real key profile:
>>>>>>>
>>>>>>>    <profile>
>>>>>>>      <id>keyReal</id>
>>>>>>>      <properties>
>>>>>>>        <gpg.keyname>4FAD5F62</gpg.keyname>
>>>>>>>        <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>>>>>>>       <!-- must be on the execution path -->
>>>>>>>        <gpg.executable>gpg2</gpg.executable>
>>>>>>>        <gpg.useagent>false</gpg.useagent>
>>>>>>>      </properties>
>>>>>>>    </profile>
>>>>>>>
>>>>>>> I found gpg2 worked better for me, but I still use gpg1 sometimes.
>>>>>>>
>>>>>>> The real gpg password is not stored anywhere; I have to enter it at
>>>>>>> run-time.
>>>>>>>
>>>>>>> For example, if I remove the test password, I see the following:
>>>>>>>
>>>>>>> mvn package gpg:sign -PkeyTest
>>>>>>> ...
>>>>>>> [INFO] [jar:jar {execution: default-jar}]
>>>>>>> [INFO] [jar:test-jar {execution: default}]
>>>>>>> [INFO] [gpg:sign {execution: default-cli}]
>>>>>>> GPG Passphrase: * <= enter the passphrase here.
>>>>>>>
>>>>>>> The same applies to gpg1 and gpg2, but if I use gpg2, I also get the
>>>>>>> following warnings:
>>>>>>>
>>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>>>>
>>>>>>> The settings-security.xml file is not needed for GPG passwords.
>>>>>>> And I've not tried it.
>>>>>>>
>>>>>>> I suggest you set up a dummy local key and password as per my example.
>>>>>>> Get that working, then try specifying the secret key ring to point to
>>>>>>> the dummy key.
>>>>>>> When that works, drop the password.
>>>>>>> Then fix the secret key ring tag to point to your real secret key ring.
>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>
> ---------------------------------------------------------------------
> 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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by sebb <se...@gmail.com>.
On 15 December 2011 03:32, William Speirs <ws...@apache.org> wrote:
> Anyone have any idea on this? Should I be seeing basic auth for my
> challenge? Where can I set the password as I was never prompted to
> enter it.
>
> At this point, can someone else deploy RC1 while I figure out what is
> wrong on my end?

I don't use the release plugin so cannot help directly.

You could create the RC tag manually, as described in

http://wiki.apache.org/commons/UsingNexus#Create_the_SVN_tags_.28Manual_method.29

This has the advantage that trunk never loses the SNAPSHOT suffix, and
you have a clean workspace in which to build the code, and the SVN
commands are not buried in the Maven invocation.

However, AFAICT dbutils is not currently set up to use Nexus - it's
not an o.a.c groupId - so you cannot use Nexus to stage and deploy the
Maven artifacts.

Be very careful you don't accidentally deploy the artifacts to the
live repo before the vote succeeds.
Sorry, but I don't know how deployment is done without Nexus.

> Thanks...
>
> Bill-
>
> On Tue, Dec 13, 2011 at 4:32 PM, William Speirs <ws...@apache.org> wrote:
>> First, thank you all again for the help!
>>
>> I got past the GPG step, now I'm stuck on password/auth issues now with SVN :-(
>>
>> I thought the issue was that my password manager wasn't authed and
>> that svn was working in a non-interactive mode, so it couldn't get my
>> password; this was the reason for -r1213934.
>>
>> Anyway, output below... any/all ideas welcomed!
>>
>> Bill-
>>
>> [INFO] Checking in modified POMs...
>> [INFO] Executing: /bin/sh -c cd
>> /home/wspeirs/workspace/commons-dbutils && svn --non-interactive
>> commit --file /tmp/maven-scm-481300763.commit --targets
>> /tmp/maven-scm-3917786176898805146-targets
>> [INFO] Working directory: /home/wspeirs/workspace/commons-dbutils
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Unable to commit files
>> Provider message:
>> The svn command failed.
>> Command output:
>> svn: Commit failed (details follow):
>> svn: MKACTIVITY of
>> '/repos/asf/!svn/act/3b6f8370-abd6-4d88-adeb-7dc981ecd57f':
>> authorization failed: Could not authenticate to server: rejected Basic
>> challenge (https://svn.apache.org)
>>
>>
>> On Tue, Dec 13, 2011 at 10:28 AM, sebb <se...@gmail.com> wrote:
>>> On 13 December 2011 15:19, William Speirs <ws...@apache.org> wrote:
>>>> I will try adding the additional elements:
>>>>
>>>> <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>>>> <!-- must be on the execution path -->
>>>> <gpg.executable>gpg2</gpg.executable>
>>>
>>> Sorry, should have clarified - the above requires gpg2 to be installed
>>> and created.
>>>
>>> I installed both gpg1 and gpg2, and created gpg1 and gpg2 as copies of
>>> their respective gpg executables.
>>> e.g. on Windows copy gpg.exe gpg<n>.exe
>>>
>>> Both versions of gpg are on the execution path; running gpg picks the
>>> first one; running gpg1 or gpg2 picks only that version.
>>>
>>> This enables quick swapping between them as required.
>>>
>>>> And also try with gpg2.
>>>>
>>>> I'll try later today and update.
>>>>
>>>> Thanks again for all of the help!
>>>>
>>>> Bill-
>>>>
>>>> On Tue, Dec 13, 2011 at 9:23 AM, Gary Gregory <ga...@gmail.com> wrote:
>>>>> FWIW: My set up is such that I always enter my password on the CLI when
>>>>> Maven asks for it.
>>>>>
>>>>> Gary
>>>>>
>>>>> On Tue, Dec 13, 2011 at 9:20 AM, sebb <se...@gmail.com> wrote:
>>>>>
>>>>>> On 13 December 2011 13:53, William Speirs <ws...@apache.org> wrote:
>>>>>> > On Tue, Dec 13, 2011 at 12:16 AM, Gary Gregory <ga...@gmail.com>
>>>>>> wrote:
>>>>>> >> Did you do the whole master pass phrase/obfuscated stuff that the top
>>>>>> >> of the Using Nexus wiki points to?
>>>>>> >
>>>>>> > I did not do this at first, but I have since tried. I setup my
>>>>>> > settings-security.xml file as show on the wiki page, and added the
>>>>>> > encrypted passwords to my settings.xml file. Still doesn't work.
>>>>>> >
>>>>>> > Below is my entire settings.xml file (with passwords removed). By
>>>>>> > adding the <mavenExecutorId> element, it will not hang but prompt me
>>>>>> > for a password if it's not supplied via <gpg.passphrase>. However,
>>>>>> > even when I type my passphrase in, it still rejects it. Again, if I
>>>>>> > use gpg -c somefile.txt and type in that same passphrase, everything
>>>>>> > works.
>>>>>> >
>>>>>> > I'm testing this by running: mvn -Prc,apache package gpg:sign
>>>>>>
>>>>>> Not sure what the rc profile does compared with the release profile.
>>>>>>
>>>>>> What version of GPG are you using?
>>>>>>
>>>>>>
>>>>>> > And I keep getting:
>>>>>> >
>>>>>> > [INFO] [gpg:sign {execution: default-cli}]
>>>>>> > gpg: skipped "B0EC1E65": bad passphrase
>>>>>> > gpg: signing failed: bad passphrase
>>>>>> >
>>>>>> > I'm at a loss at this point...
>>>>>> >
>>>>>> > Bill-
>>>>>> >
>>>>>> > * settings.xml *
>>>>>> >
>>>>>> > <?xml version="1.0"?>
>>>>>> > <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
>>>>>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>> > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
>>>>>> > http://maven.apache.org/xsd/settings-1.0.0.xsd">
>>>>>> >  <servers>
>>>>>> >    <server>
>>>>>> >      <id>apache.releases</id>
>>>>>> >      <username>wspeirs</username>
>>>>>> >      <password>{my encrypted Apache password here}</password>
>>>>>> >      <filePermissions>664</filePermissions>
>>>>>> >      <directoryPermissions>775</directoryPermissions>
>>>>>> >    </server>
>>>>>> >    <server>
>>>>>> >      <id>apache.website</id>
>>>>>> >      <username>wspeirs</username>
>>>>>> >      <password>{my encrypted Apache password here}</password>
>>>>>> >      <filePermissions>664</filePermissions>
>>>>>> >      <directoryPermissions>775</directoryPermissions>
>>>>>> >    </server>
>>>>>> >    <server>
>>>>>> >      <id>apache.snapshots</id>
>>>>>> >      <username>wspeirs</username>
>>>>>> >      <password>{my encrypted Apache password here}</password>
>>>>>> >      <filePermissions>664</filePermissions>
>>>>>> >      <directoryPermissions>775</directoryPermissions>
>>>>>> >    </server>
>>>>>> >  </servers>
>>>>>> >  <profiles>
>>>>>> >    <profile>
>>>>>> >      <id>apache</id>
>>>>>> >      <activation>
>>>>>> >        <activeByDefault>false</activeByDefault>
>>>>>> >      </activation>
>>>>>> >      <properties>
>>>>>> >        <mavenExecutorId>forked-path</mavenExecutorId>
>>>>>> >        <commons.deployment.protocol>scp</commons.deployment.protocol>
>>>>>> >        <gpg.keyname>B0EC1E65</gpg.keyname>
>>>>>> >        <gpg.passphrase>{my encrypted GPG password here}</gpg.passphrase>
>>>>>> >      </properties>
>>>>>> >    </profile>
>>>>>> >  </profiles>
>>>>>> > </settings>
>>>>>>
>>>>>> I use an external GPG database (on a USB stick); but for test purposes
>>>>>> I have a dummy signing key using a local database.
>>>>>>
>>>>>>    <profile>
>>>>>>      <id>keyTest</id>
>>>>>>      <properties>
>>>>>>        <gpg.keyname>Deploy Test User</gpg.keyname>
>>>>>>        <gpg.passphrase>password in clear</gpg.passphrase>
>>>>>>        <gpg.useagent>false</gpg.useagent>
>>>>>>      </properties>
>>>>>>    </profile>
>>>>>>
>>>>>> Here's the real key profile:
>>>>>>
>>>>>>    <profile>
>>>>>>      <id>keyReal</id>
>>>>>>      <properties>
>>>>>>        <gpg.keyname>4FAD5F62</gpg.keyname>
>>>>>>        <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>>>>>>       <!-- must be on the execution path -->
>>>>>>        <gpg.executable>gpg2</gpg.executable>
>>>>>>        <gpg.useagent>false</gpg.useagent>
>>>>>>      </properties>
>>>>>>    </profile>
>>>>>>
>>>>>> I found gpg2 worked better for me, but I still use gpg1 sometimes.
>>>>>>
>>>>>> The real gpg password is not stored anywhere; I have to enter it at
>>>>>> run-time.
>>>>>>
>>>>>> For example, if I remove the test password, I see the following:
>>>>>>
>>>>>> mvn package gpg:sign -PkeyTest
>>>>>> ...
>>>>>> [INFO] [jar:jar {execution: default-jar}]
>>>>>> [INFO] [jar:test-jar {execution: default}]
>>>>>> [INFO] [gpg:sign {execution: default-cli}]
>>>>>> GPG Passphrase: * <= enter the passphrase here.
>>>>>>
>>>>>> The same applies to gpg1 and gpg2, but if I use gpg2, I also get the
>>>>>> following warnings:
>>>>>>
>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>>>
>>>>>> The settings-security.xml file is not needed for GPG passwords.
>>>>>> And I've not tried it.
>>>>>>
>>>>>> I suggest you set up a dummy local key and password as per my example.
>>>>>> Get that working, then try specifying the secret key ring to point to
>>>>>> the dummy key.
>>>>>> When that works, drop the password.
>>>>>> Then fix the secret key ring tag to point to your real secret key ring.
>>>>>>
>>>>>> >
>>>>>> > ---------------------------------------------------------------------
>>>>>> > 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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>

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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by William Speirs <ws...@apache.org>.
Anyone have any idea on this? Should I be seeing basic auth for my
challenge? Where can I set the password as I was never prompted to
enter it.

At this point, can someone else deploy RC1 while I figure out what is
wrong on my end?

Thanks...

Bill-

On Tue, Dec 13, 2011 at 4:32 PM, William Speirs <ws...@apache.org> wrote:
> First, thank you all again for the help!
>
> I got past the GPG step, now I'm stuck on password/auth issues now with SVN :-(
>
> I thought the issue was that my password manager wasn't authed and
> that svn was working in a non-interactive mode, so it couldn't get my
> password; this was the reason for -r1213934.
>
> Anyway, output below... any/all ideas welcomed!
>
> Bill-
>
> [INFO] Checking in modified POMs...
> [INFO] Executing: /bin/sh -c cd
> /home/wspeirs/workspace/commons-dbutils && svn --non-interactive
> commit --file /tmp/maven-scm-481300763.commit --targets
> /tmp/maven-scm-3917786176898805146-targets
> [INFO] Working directory: /home/wspeirs/workspace/commons-dbutils
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Unable to commit files
> Provider message:
> The svn command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: MKACTIVITY of
> '/repos/asf/!svn/act/3b6f8370-abd6-4d88-adeb-7dc981ecd57f':
> authorization failed: Could not authenticate to server: rejected Basic
> challenge (https://svn.apache.org)
>
>
> On Tue, Dec 13, 2011 at 10:28 AM, sebb <se...@gmail.com> wrote:
>> On 13 December 2011 15:19, William Speirs <ws...@apache.org> wrote:
>>> I will try adding the additional elements:
>>>
>>> <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>>> <!-- must be on the execution path -->
>>> <gpg.executable>gpg2</gpg.executable>
>>
>> Sorry, should have clarified - the above requires gpg2 to be installed
>> and created.
>>
>> I installed both gpg1 and gpg2, and created gpg1 and gpg2 as copies of
>> their respective gpg executables.
>> e.g. on Windows copy gpg.exe gpg<n>.exe
>>
>> Both versions of gpg are on the execution path; running gpg picks the
>> first one; running gpg1 or gpg2 picks only that version.
>>
>> This enables quick swapping between them as required.
>>
>>> And also try with gpg2.
>>>
>>> I'll try later today and update.
>>>
>>> Thanks again for all of the help!
>>>
>>> Bill-
>>>
>>> On Tue, Dec 13, 2011 at 9:23 AM, Gary Gregory <ga...@gmail.com> wrote:
>>>> FWIW: My set up is such that I always enter my password on the CLI when
>>>> Maven asks for it.
>>>>
>>>> Gary
>>>>
>>>> On Tue, Dec 13, 2011 at 9:20 AM, sebb <se...@gmail.com> wrote:
>>>>
>>>>> On 13 December 2011 13:53, William Speirs <ws...@apache.org> wrote:
>>>>> > On Tue, Dec 13, 2011 at 12:16 AM, Gary Gregory <ga...@gmail.com>
>>>>> wrote:
>>>>> >> Did you do the whole master pass phrase/obfuscated stuff that the top
>>>>> >> of the Using Nexus wiki points to?
>>>>> >
>>>>> > I did not do this at first, but I have since tried. I setup my
>>>>> > settings-security.xml file as show on the wiki page, and added the
>>>>> > encrypted passwords to my settings.xml file. Still doesn't work.
>>>>> >
>>>>> > Below is my entire settings.xml file (with passwords removed). By
>>>>> > adding the <mavenExecutorId> element, it will not hang but prompt me
>>>>> > for a password if it's not supplied via <gpg.passphrase>. However,
>>>>> > even when I type my passphrase in, it still rejects it. Again, if I
>>>>> > use gpg -c somefile.txt and type in that same passphrase, everything
>>>>> > works.
>>>>> >
>>>>> > I'm testing this by running: mvn -Prc,apache package gpg:sign
>>>>>
>>>>> Not sure what the rc profile does compared with the release profile.
>>>>>
>>>>> What version of GPG are you using?
>>>>>
>>>>>
>>>>> > And I keep getting:
>>>>> >
>>>>> > [INFO] [gpg:sign {execution: default-cli}]
>>>>> > gpg: skipped "B0EC1E65": bad passphrase
>>>>> > gpg: signing failed: bad passphrase
>>>>> >
>>>>> > I'm at a loss at this point...
>>>>> >
>>>>> > Bill-
>>>>> >
>>>>> > * settings.xml *
>>>>> >
>>>>> > <?xml version="1.0"?>
>>>>> > <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
>>>>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>> > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
>>>>> > http://maven.apache.org/xsd/settings-1.0.0.xsd">
>>>>> >  <servers>
>>>>> >    <server>
>>>>> >      <id>apache.releases</id>
>>>>> >      <username>wspeirs</username>
>>>>> >      <password>{my encrypted Apache password here}</password>
>>>>> >      <filePermissions>664</filePermissions>
>>>>> >      <directoryPermissions>775</directoryPermissions>
>>>>> >    </server>
>>>>> >    <server>
>>>>> >      <id>apache.website</id>
>>>>> >      <username>wspeirs</username>
>>>>> >      <password>{my encrypted Apache password here}</password>
>>>>> >      <filePermissions>664</filePermissions>
>>>>> >      <directoryPermissions>775</directoryPermissions>
>>>>> >    </server>
>>>>> >    <server>
>>>>> >      <id>apache.snapshots</id>
>>>>> >      <username>wspeirs</username>
>>>>> >      <password>{my encrypted Apache password here}</password>
>>>>> >      <filePermissions>664</filePermissions>
>>>>> >      <directoryPermissions>775</directoryPermissions>
>>>>> >    </server>
>>>>> >  </servers>
>>>>> >  <profiles>
>>>>> >    <profile>
>>>>> >      <id>apache</id>
>>>>> >      <activation>
>>>>> >        <activeByDefault>false</activeByDefault>
>>>>> >      </activation>
>>>>> >      <properties>
>>>>> >        <mavenExecutorId>forked-path</mavenExecutorId>
>>>>> >        <commons.deployment.protocol>scp</commons.deployment.protocol>
>>>>> >        <gpg.keyname>B0EC1E65</gpg.keyname>
>>>>> >        <gpg.passphrase>{my encrypted GPG password here}</gpg.passphrase>
>>>>> >      </properties>
>>>>> >    </profile>
>>>>> >  </profiles>
>>>>> > </settings>
>>>>>
>>>>> I use an external GPG database (on a USB stick); but for test purposes
>>>>> I have a dummy signing key using a local database.
>>>>>
>>>>>    <profile>
>>>>>      <id>keyTest</id>
>>>>>      <properties>
>>>>>        <gpg.keyname>Deploy Test User</gpg.keyname>
>>>>>        <gpg.passphrase>password in clear</gpg.passphrase>
>>>>>        <gpg.useagent>false</gpg.useagent>
>>>>>      </properties>
>>>>>    </profile>
>>>>>
>>>>> Here's the real key profile:
>>>>>
>>>>>    <profile>
>>>>>      <id>keyReal</id>
>>>>>      <properties>
>>>>>        <gpg.keyname>4FAD5F62</gpg.keyname>
>>>>>        <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>>>>>       <!-- must be on the execution path -->
>>>>>        <gpg.executable>gpg2</gpg.executable>
>>>>>        <gpg.useagent>false</gpg.useagent>
>>>>>      </properties>
>>>>>    </profile>
>>>>>
>>>>> I found gpg2 worked better for me, but I still use gpg1 sometimes.
>>>>>
>>>>> The real gpg password is not stored anywhere; I have to enter it at
>>>>> run-time.
>>>>>
>>>>> For example, if I remove the test password, I see the following:
>>>>>
>>>>> mvn package gpg:sign -PkeyTest
>>>>> ...
>>>>> [INFO] [jar:jar {execution: default-jar}]
>>>>> [INFO] [jar:test-jar {execution: default}]
>>>>> [INFO] [gpg:sign {execution: default-cli}]
>>>>> GPG Passphrase: * <= enter the passphrase here.
>>>>>
>>>>> The same applies to gpg1 and gpg2, but if I use gpg2, I also get the
>>>>> following warnings:
>>>>>
>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>>
>>>>> The settings-security.xml file is not needed for GPG passwords.
>>>>> And I've not tried it.
>>>>>
>>>>> I suggest you set up a dummy local key and password as per my example.
>>>>> Get that working, then try specifying the secret key ring to point to
>>>>> the dummy key.
>>>>> When that works, drop the password.
>>>>> Then fix the secret key ring tag to point to your real secret key ring.
>>>>>
>>>>> >
>>>>> > ---------------------------------------------------------------------
>>>>> > 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
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> 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
>>>
>>
>> ---------------------------------------------------------------------
>> 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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by William Speirs <ws...@apache.org>.
First, thank you all again for the help!

I got past the GPG step, now I'm stuck on password/auth issues now with SVN :-(

I thought the issue was that my password manager wasn't authed and
that svn was working in a non-interactive mode, so it couldn't get my
password; this was the reason for -r1213934.

Anyway, output below... any/all ideas welcomed!

Bill-

[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd
/home/wspeirs/workspace/commons-dbutils && svn --non-interactive
commit --file /tmp/maven-scm-481300763.commit --targets
/tmp/maven-scm-3917786176898805146-targets
[INFO] Working directory: /home/wspeirs/workspace/commons-dbutils
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn: Commit failed (details follow):
svn: MKACTIVITY of
'/repos/asf/!svn/act/3b6f8370-abd6-4d88-adeb-7dc981ecd57f':
authorization failed: Could not authenticate to server: rejected Basic
challenge (https://svn.apache.org)


On Tue, Dec 13, 2011 at 10:28 AM, sebb <se...@gmail.com> wrote:
> On 13 December 2011 15:19, William Speirs <ws...@apache.org> wrote:
>> I will try adding the additional elements:
>>
>> <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>> <!-- must be on the execution path -->
>> <gpg.executable>gpg2</gpg.executable>
>
> Sorry, should have clarified - the above requires gpg2 to be installed
> and created.
>
> I installed both gpg1 and gpg2, and created gpg1 and gpg2 as copies of
> their respective gpg executables.
> e.g. on Windows copy gpg.exe gpg<n>.exe
>
> Both versions of gpg are on the execution path; running gpg picks the
> first one; running gpg1 or gpg2 picks only that version.
>
> This enables quick swapping between them as required.
>
>> And also try with gpg2.
>>
>> I'll try later today and update.
>>
>> Thanks again for all of the help!
>>
>> Bill-
>>
>> On Tue, Dec 13, 2011 at 9:23 AM, Gary Gregory <ga...@gmail.com> wrote:
>>> FWIW: My set up is such that I always enter my password on the CLI when
>>> Maven asks for it.
>>>
>>> Gary
>>>
>>> On Tue, Dec 13, 2011 at 9:20 AM, sebb <se...@gmail.com> wrote:
>>>
>>>> On 13 December 2011 13:53, William Speirs <ws...@apache.org> wrote:
>>>> > On Tue, Dec 13, 2011 at 12:16 AM, Gary Gregory <ga...@gmail.com>
>>>> wrote:
>>>> >> Did you do the whole master pass phrase/obfuscated stuff that the top
>>>> >> of the Using Nexus wiki points to?
>>>> >
>>>> > I did not do this at first, but I have since tried. I setup my
>>>> > settings-security.xml file as show on the wiki page, and added the
>>>> > encrypted passwords to my settings.xml file. Still doesn't work.
>>>> >
>>>> > Below is my entire settings.xml file (with passwords removed). By
>>>> > adding the <mavenExecutorId> element, it will not hang but prompt me
>>>> > for a password if it's not supplied via <gpg.passphrase>. However,
>>>> > even when I type my passphrase in, it still rejects it. Again, if I
>>>> > use gpg -c somefile.txt and type in that same passphrase, everything
>>>> > works.
>>>> >
>>>> > I'm testing this by running: mvn -Prc,apache package gpg:sign
>>>>
>>>> Not sure what the rc profile does compared with the release profile.
>>>>
>>>> What version of GPG are you using?
>>>>
>>>>
>>>> > And I keep getting:
>>>> >
>>>> > [INFO] [gpg:sign {execution: default-cli}]
>>>> > gpg: skipped "B0EC1E65": bad passphrase
>>>> > gpg: signing failed: bad passphrase
>>>> >
>>>> > I'm at a loss at this point...
>>>> >
>>>> > Bill-
>>>> >
>>>> > * settings.xml *
>>>> >
>>>> > <?xml version="1.0"?>
>>>> > <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
>>>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>> > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
>>>> > http://maven.apache.org/xsd/settings-1.0.0.xsd">
>>>> >  <servers>
>>>> >    <server>
>>>> >      <id>apache.releases</id>
>>>> >      <username>wspeirs</username>
>>>> >      <password>{my encrypted Apache password here}</password>
>>>> >      <filePermissions>664</filePermissions>
>>>> >      <directoryPermissions>775</directoryPermissions>
>>>> >    </server>
>>>> >    <server>
>>>> >      <id>apache.website</id>
>>>> >      <username>wspeirs</username>
>>>> >      <password>{my encrypted Apache password here}</password>
>>>> >      <filePermissions>664</filePermissions>
>>>> >      <directoryPermissions>775</directoryPermissions>
>>>> >    </server>
>>>> >    <server>
>>>> >      <id>apache.snapshots</id>
>>>> >      <username>wspeirs</username>
>>>> >      <password>{my encrypted Apache password here}</password>
>>>> >      <filePermissions>664</filePermissions>
>>>> >      <directoryPermissions>775</directoryPermissions>
>>>> >    </server>
>>>> >  </servers>
>>>> >  <profiles>
>>>> >    <profile>
>>>> >      <id>apache</id>
>>>> >      <activation>
>>>> >        <activeByDefault>false</activeByDefault>
>>>> >      </activation>
>>>> >      <properties>
>>>> >        <mavenExecutorId>forked-path</mavenExecutorId>
>>>> >        <commons.deployment.protocol>scp</commons.deployment.protocol>
>>>> >        <gpg.keyname>B0EC1E65</gpg.keyname>
>>>> >        <gpg.passphrase>{my encrypted GPG password here}</gpg.passphrase>
>>>> >      </properties>
>>>> >    </profile>
>>>> >  </profiles>
>>>> > </settings>
>>>>
>>>> I use an external GPG database (on a USB stick); but for test purposes
>>>> I have a dummy signing key using a local database.
>>>>
>>>>    <profile>
>>>>      <id>keyTest</id>
>>>>      <properties>
>>>>        <gpg.keyname>Deploy Test User</gpg.keyname>
>>>>        <gpg.passphrase>password in clear</gpg.passphrase>
>>>>        <gpg.useagent>false</gpg.useagent>
>>>>      </properties>
>>>>    </profile>
>>>>
>>>> Here's the real key profile:
>>>>
>>>>    <profile>
>>>>      <id>keyReal</id>
>>>>      <properties>
>>>>        <gpg.keyname>4FAD5F62</gpg.keyname>
>>>>        <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>>>>       <!-- must be on the execution path -->
>>>>        <gpg.executable>gpg2</gpg.executable>
>>>>        <gpg.useagent>false</gpg.useagent>
>>>>      </properties>
>>>>    </profile>
>>>>
>>>> I found gpg2 worked better for me, but I still use gpg1 sometimes.
>>>>
>>>> The real gpg password is not stored anywhere; I have to enter it at
>>>> run-time.
>>>>
>>>> For example, if I remove the test password, I see the following:
>>>>
>>>> mvn package gpg:sign -PkeyTest
>>>> ...
>>>> [INFO] [jar:jar {execution: default-jar}]
>>>> [INFO] [jar:test-jar {execution: default}]
>>>> [INFO] [gpg:sign {execution: default-cli}]
>>>> GPG Passphrase: * <= enter the passphrase here.
>>>>
>>>> The same applies to gpg1 and gpg2, but if I use gpg2, I also get the
>>>> following warnings:
>>>>
>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>>
>>>> The settings-security.xml file is not needed for GPG passwords.
>>>> And I've not tried it.
>>>>
>>>> I suggest you set up a dummy local key and password as per my example.
>>>> Get that working, then try specifying the secret key ring to point to
>>>> the dummy key.
>>>> When that works, drop the password.
>>>> Then fix the secret key ring tag to point to your real secret key ring.
>>>>
>>>> >
>>>> > ---------------------------------------------------------------------
>>>> > 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
>>>>
>>>>
>>>
>>>
>>> --
>>> 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
>>
>
> ---------------------------------------------------------------------
> 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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by sebb <se...@gmail.com>.
On 13 December 2011 15:19, William Speirs <ws...@apache.org> wrote:
> I will try adding the additional elements:
>
> <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
> <!-- must be on the execution path -->
> <gpg.executable>gpg2</gpg.executable>

Sorry, should have clarified - the above requires gpg2 to be installed
and created.

I installed both gpg1 and gpg2, and created gpg1 and gpg2 as copies of
their respective gpg executables.
e.g. on Windows copy gpg.exe gpg<n>.exe

Both versions of gpg are on the execution path; running gpg picks the
first one; running gpg1 or gpg2 picks only that version.

This enables quick swapping between them as required.

> And also try with gpg2.
>
> I'll try later today and update.
>
> Thanks again for all of the help!
>
> Bill-
>
> On Tue, Dec 13, 2011 at 9:23 AM, Gary Gregory <ga...@gmail.com> wrote:
>> FWIW: My set up is such that I always enter my password on the CLI when
>> Maven asks for it.
>>
>> Gary
>>
>> On Tue, Dec 13, 2011 at 9:20 AM, sebb <se...@gmail.com> wrote:
>>
>>> On 13 December 2011 13:53, William Speirs <ws...@apache.org> wrote:
>>> > On Tue, Dec 13, 2011 at 12:16 AM, Gary Gregory <ga...@gmail.com>
>>> wrote:
>>> >> Did you do the whole master pass phrase/obfuscated stuff that the top
>>> >> of the Using Nexus wiki points to?
>>> >
>>> > I did not do this at first, but I have since tried. I setup my
>>> > settings-security.xml file as show on the wiki page, and added the
>>> > encrypted passwords to my settings.xml file. Still doesn't work.
>>> >
>>> > Below is my entire settings.xml file (with passwords removed). By
>>> > adding the <mavenExecutorId> element, it will not hang but prompt me
>>> > for a password if it's not supplied via <gpg.passphrase>. However,
>>> > even when I type my passphrase in, it still rejects it. Again, if I
>>> > use gpg -c somefile.txt and type in that same passphrase, everything
>>> > works.
>>> >
>>> > I'm testing this by running: mvn -Prc,apache package gpg:sign
>>>
>>> Not sure what the rc profile does compared with the release profile.
>>>
>>> What version of GPG are you using?
>>>
>>>
>>> > And I keep getting:
>>> >
>>> > [INFO] [gpg:sign {execution: default-cli}]
>>> > gpg: skipped "B0EC1E65": bad passphrase
>>> > gpg: signing failed: bad passphrase
>>> >
>>> > I'm at a loss at this point...
>>> >
>>> > Bill-
>>> >
>>> > * settings.xml *
>>> >
>>> > <?xml version="1.0"?>
>>> > <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
>>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
>>> > http://maven.apache.org/xsd/settings-1.0.0.xsd">
>>> >  <servers>
>>> >    <server>
>>> >      <id>apache.releases</id>
>>> >      <username>wspeirs</username>
>>> >      <password>{my encrypted Apache password here}</password>
>>> >      <filePermissions>664</filePermissions>
>>> >      <directoryPermissions>775</directoryPermissions>
>>> >    </server>
>>> >    <server>
>>> >      <id>apache.website</id>
>>> >      <username>wspeirs</username>
>>> >      <password>{my encrypted Apache password here}</password>
>>> >      <filePermissions>664</filePermissions>
>>> >      <directoryPermissions>775</directoryPermissions>
>>> >    </server>
>>> >    <server>
>>> >      <id>apache.snapshots</id>
>>> >      <username>wspeirs</username>
>>> >      <password>{my encrypted Apache password here}</password>
>>> >      <filePermissions>664</filePermissions>
>>> >      <directoryPermissions>775</directoryPermissions>
>>> >    </server>
>>> >  </servers>
>>> >  <profiles>
>>> >    <profile>
>>> >      <id>apache</id>
>>> >      <activation>
>>> >        <activeByDefault>false</activeByDefault>
>>> >      </activation>
>>> >      <properties>
>>> >        <mavenExecutorId>forked-path</mavenExecutorId>
>>> >        <commons.deployment.protocol>scp</commons.deployment.protocol>
>>> >        <gpg.keyname>B0EC1E65</gpg.keyname>
>>> >        <gpg.passphrase>{my encrypted GPG password here}</gpg.passphrase>
>>> >      </properties>
>>> >    </profile>
>>> >  </profiles>
>>> > </settings>
>>>
>>> I use an external GPG database (on a USB stick); but for test purposes
>>> I have a dummy signing key using a local database.
>>>
>>>    <profile>
>>>      <id>keyTest</id>
>>>      <properties>
>>>        <gpg.keyname>Deploy Test User</gpg.keyname>
>>>        <gpg.passphrase>password in clear</gpg.passphrase>
>>>        <gpg.useagent>false</gpg.useagent>
>>>      </properties>
>>>    </profile>
>>>
>>> Here's the real key profile:
>>>
>>>    <profile>
>>>      <id>keyReal</id>
>>>      <properties>
>>>        <gpg.keyname>4FAD5F62</gpg.keyname>
>>>        <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>>>       <!-- must be on the execution path -->
>>>        <gpg.executable>gpg2</gpg.executable>
>>>        <gpg.useagent>false</gpg.useagent>
>>>      </properties>
>>>    </profile>
>>>
>>> I found gpg2 worked better for me, but I still use gpg1 sometimes.
>>>
>>> The real gpg password is not stored anywhere; I have to enter it at
>>> run-time.
>>>
>>> For example, if I remove the test password, I see the following:
>>>
>>> mvn package gpg:sign -PkeyTest
>>> ...
>>> [INFO] [jar:jar {execution: default-jar}]
>>> [INFO] [jar:test-jar {execution: default}]
>>> [INFO] [gpg:sign {execution: default-cli}]
>>> GPG Passphrase: * <= enter the passphrase here.
>>>
>>> The same applies to gpg1 and gpg2, but if I use gpg2, I also get the
>>> following warnings:
>>>
>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>>
>>> The settings-security.xml file is not needed for GPG passwords.
>>> And I've not tried it.
>>>
>>> I suggest you set up a dummy local key and password as per my example.
>>> Get that working, then try specifying the secret key ring to point to
>>> the dummy key.
>>> When that works, drop the password.
>>> Then fix the secret key ring tag to point to your real secret key ring.
>>>
>>> >
>>> > ---------------------------------------------------------------------
>>> > 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
>>>
>>>
>>
>>
>> --
>> 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
>

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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by William Speirs <ws...@apache.org>.
I will try adding the additional elements:

<gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
<!-- must be on the execution path -->
<gpg.executable>gpg2</gpg.executable>

And also try with gpg2.

I'll try later today and update.

Thanks again for all of the help!

Bill-

On Tue, Dec 13, 2011 at 9:23 AM, Gary Gregory <ga...@gmail.com> wrote:
> FWIW: My set up is such that I always enter my password on the CLI when
> Maven asks for it.
>
> Gary
>
> On Tue, Dec 13, 2011 at 9:20 AM, sebb <se...@gmail.com> wrote:
>
>> On 13 December 2011 13:53, William Speirs <ws...@apache.org> wrote:
>> > On Tue, Dec 13, 2011 at 12:16 AM, Gary Gregory <ga...@gmail.com>
>> wrote:
>> >> Did you do the whole master pass phrase/obfuscated stuff that the top
>> >> of the Using Nexus wiki points to?
>> >
>> > I did not do this at first, but I have since tried. I setup my
>> > settings-security.xml file as show on the wiki page, and added the
>> > encrypted passwords to my settings.xml file. Still doesn't work.
>> >
>> > Below is my entire settings.xml file (with passwords removed). By
>> > adding the <mavenExecutorId> element, it will not hang but prompt me
>> > for a password if it's not supplied via <gpg.passphrase>. However,
>> > even when I type my passphrase in, it still rejects it. Again, if I
>> > use gpg -c somefile.txt and type in that same passphrase, everything
>> > works.
>> >
>> > I'm testing this by running: mvn -Prc,apache package gpg:sign
>>
>> Not sure what the rc profile does compared with the release profile.
>>
>> What version of GPG are you using?
>>
>>
>> > And I keep getting:
>> >
>> > [INFO] [gpg:sign {execution: default-cli}]
>> > gpg: skipped "B0EC1E65": bad passphrase
>> > gpg: signing failed: bad passphrase
>> >
>> > I'm at a loss at this point...
>> >
>> > Bill-
>> >
>> > * settings.xml *
>> >
>> > <?xml version="1.0"?>
>> > <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
>> > http://maven.apache.org/xsd/settings-1.0.0.xsd">
>> >  <servers>
>> >    <server>
>> >      <id>apache.releases</id>
>> >      <username>wspeirs</username>
>> >      <password>{my encrypted Apache password here}</password>
>> >      <filePermissions>664</filePermissions>
>> >      <directoryPermissions>775</directoryPermissions>
>> >    </server>
>> >    <server>
>> >      <id>apache.website</id>
>> >      <username>wspeirs</username>
>> >      <password>{my encrypted Apache password here}</password>
>> >      <filePermissions>664</filePermissions>
>> >      <directoryPermissions>775</directoryPermissions>
>> >    </server>
>> >    <server>
>> >      <id>apache.snapshots</id>
>> >      <username>wspeirs</username>
>> >      <password>{my encrypted Apache password here}</password>
>> >      <filePermissions>664</filePermissions>
>> >      <directoryPermissions>775</directoryPermissions>
>> >    </server>
>> >  </servers>
>> >  <profiles>
>> >    <profile>
>> >      <id>apache</id>
>> >      <activation>
>> >        <activeByDefault>false</activeByDefault>
>> >      </activation>
>> >      <properties>
>> >        <mavenExecutorId>forked-path</mavenExecutorId>
>> >        <commons.deployment.protocol>scp</commons.deployment.protocol>
>> >        <gpg.keyname>B0EC1E65</gpg.keyname>
>> >        <gpg.passphrase>{my encrypted GPG password here}</gpg.passphrase>
>> >      </properties>
>> >    </profile>
>> >  </profiles>
>> > </settings>
>>
>> I use an external GPG database (on a USB stick); but for test purposes
>> I have a dummy signing key using a local database.
>>
>>    <profile>
>>      <id>keyTest</id>
>>      <properties>
>>        <gpg.keyname>Deploy Test User</gpg.keyname>
>>        <gpg.passphrase>password in clear</gpg.passphrase>
>>        <gpg.useagent>false</gpg.useagent>
>>      </properties>
>>    </profile>
>>
>> Here's the real key profile:
>>
>>    <profile>
>>      <id>keyReal</id>
>>      <properties>
>>        <gpg.keyname>4FAD5F62</gpg.keyname>
>>        <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>>       <!-- must be on the execution path -->
>>        <gpg.executable>gpg2</gpg.executable>
>>        <gpg.useagent>false</gpg.useagent>
>>      </properties>
>>    </profile>
>>
>> I found gpg2 worked better for me, but I still use gpg1 sometimes.
>>
>> The real gpg password is not stored anywhere; I have to enter it at
>> run-time.
>>
>> For example, if I remove the test password, I see the following:
>>
>> mvn package gpg:sign -PkeyTest
>> ...
>> [INFO] [jar:jar {execution: default-jar}]
>> [INFO] [jar:test-jar {execution: default}]
>> [INFO] [gpg:sign {execution: default-cli}]
>> GPG Passphrase: * <= enter the passphrase here.
>>
>> The same applies to gpg1 and gpg2, but if I use gpg2, I also get the
>> following warnings:
>>
>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>>
>> The settings-security.xml file is not needed for GPG passwords.
>> And I've not tried it.
>>
>> I suggest you set up a dummy local key and password as per my example.
>> Get that working, then try specifying the secret key ring to point to
>> the dummy key.
>> When that works, drop the password.
>> Then fix the secret key ring tag to point to your real secret key ring.
>>
>> >
>> > ---------------------------------------------------------------------
>> > 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
>>
>>
>
>
> --
> 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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by Gary Gregory <ga...@gmail.com>.
FWIW: My set up is such that I always enter my password on the CLI when
Maven asks for it.

Gary

On Tue, Dec 13, 2011 at 9:20 AM, sebb <se...@gmail.com> wrote:

> On 13 December 2011 13:53, William Speirs <ws...@apache.org> wrote:
> > On Tue, Dec 13, 2011 at 12:16 AM, Gary Gregory <ga...@gmail.com>
> wrote:
> >> Did you do the whole master pass phrase/obfuscated stuff that the top
> >> of the Using Nexus wiki points to?
> >
> > I did not do this at first, but I have since tried. I setup my
> > settings-security.xml file as show on the wiki page, and added the
> > encrypted passwords to my settings.xml file. Still doesn't work.
> >
> > Below is my entire settings.xml file (with passwords removed). By
> > adding the <mavenExecutorId> element, it will not hang but prompt me
> > for a password if it's not supplied via <gpg.passphrase>. However,
> > even when I type my passphrase in, it still rejects it. Again, if I
> > use gpg -c somefile.txt and type in that same passphrase, everything
> > works.
> >
> > I'm testing this by running: mvn -Prc,apache package gpg:sign
>
> Not sure what the rc profile does compared with the release profile.
>
> What version of GPG are you using?
>
>
> > And I keep getting:
> >
> > [INFO] [gpg:sign {execution: default-cli}]
> > gpg: skipped "B0EC1E65": bad passphrase
> > gpg: signing failed: bad passphrase
> >
> > I'm at a loss at this point...
> >
> > Bill-
> >
> > * settings.xml *
> >
> > <?xml version="1.0"?>
> > <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
> > http://maven.apache.org/xsd/settings-1.0.0.xsd">
> >  <servers>
> >    <server>
> >      <id>apache.releases</id>
> >      <username>wspeirs</username>
> >      <password>{my encrypted Apache password here}</password>
> >      <filePermissions>664</filePermissions>
> >      <directoryPermissions>775</directoryPermissions>
> >    </server>
> >    <server>
> >      <id>apache.website</id>
> >      <username>wspeirs</username>
> >      <password>{my encrypted Apache password here}</password>
> >      <filePermissions>664</filePermissions>
> >      <directoryPermissions>775</directoryPermissions>
> >    </server>
> >    <server>
> >      <id>apache.snapshots</id>
> >      <username>wspeirs</username>
> >      <password>{my encrypted Apache password here}</password>
> >      <filePermissions>664</filePermissions>
> >      <directoryPermissions>775</directoryPermissions>
> >    </server>
> >  </servers>
> >  <profiles>
> >    <profile>
> >      <id>apache</id>
> >      <activation>
> >        <activeByDefault>false</activeByDefault>
> >      </activation>
> >      <properties>
> >        <mavenExecutorId>forked-path</mavenExecutorId>
> >        <commons.deployment.protocol>scp</commons.deployment.protocol>
> >        <gpg.keyname>B0EC1E65</gpg.keyname>
> >        <gpg.passphrase>{my encrypted GPG password here}</gpg.passphrase>
> >      </properties>
> >    </profile>
> >  </profiles>
> > </settings>
>
> I use an external GPG database (on a USB stick); but for test purposes
> I have a dummy signing key using a local database.
>
>    <profile>
>      <id>keyTest</id>
>      <properties>
>        <gpg.keyname>Deploy Test User</gpg.keyname>
>        <gpg.passphrase>password in clear</gpg.passphrase>
>        <gpg.useagent>false</gpg.useagent>
>      </properties>
>    </profile>
>
> Here's the real key profile:
>
>    <profile>
>      <id>keyReal</id>
>      <properties>
>        <gpg.keyname>4FAD5F62</gpg.keyname>
>        <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
>       <!-- must be on the execution path -->
>        <gpg.executable>gpg2</gpg.executable>
>        <gpg.useagent>false</gpg.useagent>
>      </properties>
>    </profile>
>
> I found gpg2 worked better for me, but I still use gpg1 sometimes.
>
> The real gpg password is not stored anywhere; I have to enter it at
> run-time.
>
> For example, if I remove the test password, I see the following:
>
> mvn package gpg:sign -PkeyTest
> ...
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] [jar:test-jar {execution: default}]
> [INFO] [gpg:sign {execution: default-cli}]
> GPG Passphrase: * <= enter the passphrase here.
>
> The same applies to gpg1 and gpg2, but if I use gpg2, I also get the
> following warnings:
>
> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
> gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
>
> The settings-security.xml file is not needed for GPG passwords.
> And I've not tried it.
>
> I suggest you set up a dummy local key and password as per my example.
> Get that working, then try specifying the secret key ring to point to
> the dummy key.
> When that works, drop the password.
> Then fix the secret key ring tag to point to your real secret key ring.
>
> >
> > ---------------------------------------------------------------------
> > 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
>
>


-- 
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

Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by sebb <se...@gmail.com>.
On 13 December 2011 13:53, William Speirs <ws...@apache.org> wrote:
> On Tue, Dec 13, 2011 at 12:16 AM, Gary Gregory <ga...@gmail.com> wrote:
>> Did you do the whole master pass phrase/obfuscated stuff that the top
>> of the Using Nexus wiki points to?
>
> I did not do this at first, but I have since tried. I setup my
> settings-security.xml file as show on the wiki page, and added the
> encrypted passwords to my settings.xml file. Still doesn't work.
>
> Below is my entire settings.xml file (with passwords removed). By
> adding the <mavenExecutorId> element, it will not hang but prompt me
> for a password if it's not supplied via <gpg.passphrase>. However,
> even when I type my passphrase in, it still rejects it. Again, if I
> use gpg -c somefile.txt and type in that same passphrase, everything
> works.
>
> I'm testing this by running: mvn -Prc,apache package gpg:sign

Not sure what the rc profile does compared with the release profile.

What version of GPG are you using?


> And I keep getting:
>
> [INFO] [gpg:sign {execution: default-cli}]
> gpg: skipped "B0EC1E65": bad passphrase
> gpg: signing failed: bad passphrase
>
> I'm at a loss at this point...
>
> Bill-
>
> * settings.xml *
>
> <?xml version="1.0"?>
> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
> http://maven.apache.org/xsd/settings-1.0.0.xsd">
>  <servers>
>    <server>
>      <id>apache.releases</id>
>      <username>wspeirs</username>
>      <password>{my encrypted Apache password here}</password>
>      <filePermissions>664</filePermissions>
>      <directoryPermissions>775</directoryPermissions>
>    </server>
>    <server>
>      <id>apache.website</id>
>      <username>wspeirs</username>
>      <password>{my encrypted Apache password here}</password>
>      <filePermissions>664</filePermissions>
>      <directoryPermissions>775</directoryPermissions>
>    </server>
>    <server>
>      <id>apache.snapshots</id>
>      <username>wspeirs</username>
>      <password>{my encrypted Apache password here}</password>
>      <filePermissions>664</filePermissions>
>      <directoryPermissions>775</directoryPermissions>
>    </server>
>  </servers>
>  <profiles>
>    <profile>
>      <id>apache</id>
>      <activation>
>        <activeByDefault>false</activeByDefault>
>      </activation>
>      <properties>
>        <mavenExecutorId>forked-path</mavenExecutorId>
>        <commons.deployment.protocol>scp</commons.deployment.protocol>
>        <gpg.keyname>B0EC1E65</gpg.keyname>
>        <gpg.passphrase>{my encrypted GPG password here}</gpg.passphrase>
>      </properties>
>    </profile>
>  </profiles>
> </settings>

I use an external GPG database (on a USB stick); but for test purposes
I have a dummy signing key using a local database.

    <profile>
      <id>keyTest</id>
      <properties>
        <gpg.keyname>Deploy Test User</gpg.keyname>
        <gpg.passphrase>password in clear</gpg.passphrase>
        <gpg.useagent>false</gpg.useagent>
      </properties>
    </profile>

Here's the real key profile:

    <profile>
      <id>keyReal</id>
      <properties>
        <gpg.keyname>4FAD5F62</gpg.keyname>
        <gpg.secretKeyring>/path/to/secring.gpg</gpg.secretKeyring>
       <!-- must be on the execution path -->
        <gpg.executable>gpg2</gpg.executable>
        <gpg.useagent>false</gpg.useagent>
      </properties>
    </profile>

I found gpg2 worked better for me, but I still use gpg1 sometimes.

The real gpg password is not stored anywhere; I have to enter it at run-time.

For example, if I remove the test password, I see the following:

mvn package gpg:sign -PkeyTest
...
[INFO] [jar:jar {execution: default-jar}]
[INFO] [jar:test-jar {execution: default}]
[INFO] [gpg:sign {execution: default-cli}]
GPG Passphrase: * <= enter the passphrase here.

The same applies to gpg1 and gpg2, but if I use gpg2, I also get the
following warnings:

gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect

The settings-security.xml file is not needed for GPG passwords.
And I've not tried it.

I suggest you set up a dummy local key and password as per my example.
Get that working, then try specifying the secret key ring to point to
the dummy key.
When that works, drop the password.
Then fix the secret key ring tag to point to your real secret key ring.

>
> ---------------------------------------------------------------------
> 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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by William Speirs <ws...@apache.org>.
On Tue, Dec 13, 2011 at 12:16 AM, Gary Gregory <ga...@gmail.com> wrote:
> Did you do the whole master pass phrase/obfuscated stuff that the top
> of the Using Nexus wiki points to?

I did not do this at first, but I have since tried. I setup my
settings-security.xml file as show on the wiki page, and added the
encrypted passwords to my settings.xml file. Still doesn't work.

Below is my entire settings.xml file (with passwords removed). By
adding the <mavenExecutorId> element, it will not hang but prompt me
for a password if it's not supplied via <gpg.passphrase>. However,
even when I type my passphrase in, it still rejects it. Again, if I
use gpg -c somefile.txt and type in that same passphrase, everything
works.

I'm testing this by running: mvn -Prc,apache package gpg:sign

And I keep getting:

[INFO] [gpg:sign {execution: default-cli}]
gpg: skipped "B0EC1E65": bad passphrase
gpg: signing failed: bad passphrase

I'm at a loss at this point...

Bill-

* settings.xml *

<?xml version="1.0"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <servers>
    <server>
      <id>apache.releases</id>
      <username>wspeirs</username>
      <password>{my encrypted Apache password here}</password>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>
    </server>
    <server>
      <id>apache.website</id>
      <username>wspeirs</username>
      <password>{my encrypted Apache password here}</password>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>
    </server>
    <server>
      <id>apache.snapshots</id>
      <username>wspeirs</username>
      <password>{my encrypted Apache password here}</password>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>
    </server>
  </servers>
  <profiles>
    <profile>
      <id>apache</id>
      <activation>
        <activeByDefault>false</activeByDefault>
      </activation>
      <properties>
        <mavenExecutorId>forked-path</mavenExecutorId>
        <commons.deployment.protocol>scp</commons.deployment.protocol>
        <gpg.keyname>B0EC1E65</gpg.keyname>
        <gpg.passphrase>{my encrypted GPG password here}</gpg.passphrase>
      </properties>
    </profile>
  </profiles>
</settings>

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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by sebb <se...@gmail.com>.
On 13 December 2011 04:56, William Speirs <ws...@apache.org> wrote:
> 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...

You can test the gpg part separately by running

mvn package gpg:sign

Make sure you have an up-to-date gpg installation.

If you don't like storing the master password on disk you can put it
on a removable USB stick, or perhaps in a local storage area that is
password-protected.
There are tools to create password-protected folders and files.

> Bill-
>
> On Mon, Dec 12, 2011 at 10:41 PM, William Speirs <ws...@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 <ga...@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 <ws...@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
>

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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by Gary Gregory <ga...@gmail.com>.
Did you do the whole master pass phrase/obfuscated stuff that the top
of the Using Nexus wiki points to? It takes me a while to get that
right each time I set up a new machine.

Gary

On Dec 12, 2011, at 23:56, William Speirs <ws...@apache.org> wrote:

> 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 <ws...@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 <ga...@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 <ws...@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
>

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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by William Speirs <ws...@apache.org>.
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 <ws...@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 <ga...@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 <ws...@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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by William Speirs <ws...@apache.org>.
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 <ga...@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 <ws...@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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by Gary Gregory <ga...@gmail.com>.
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 <ws...@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

Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by Simone Tripodi <si...@apache.org>.
forgot to mention you have to activate that profile during the release, I mean

    mvn release:prepare -P rc,apache

best,
-Simo

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



On Tue, Dec 13, 2011 at 10:14 AM, Simone Tripodi
<si...@apache.org> wrote:
> 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 <ws...@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


Re: [dbutils] sign-artifacts hangs during release:prepare

Posted by Simone Tripodi <si...@apache.org>.
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 <ws...@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