Yes, I have a similar setup and and I set <gpg.password> only during a release. For some reason <gpg.useagent> didn't work for me (but last time I tried was a couple of years back). Some of the properties (like maven.test.skip.exec) are not necessary for camel, they are already defined in the poms.

Christian, if you don't mind I could release 2.7.5. Babak's patch seems to help and I did commit it on all branches. I am doing a dryRun release now on my mac, but it'll probably take a couple of hours before I'll know more.

Cheers,
Hadrian



On 01/04/2012 06:38 PM, Daniel Kulp wrote:
On Thursday, January 05, 2012 12:02:48 AM Christian Müller wrote:
Hello Babak!

I will give it a try.
But at the moment the build hangs on my machine by executing the
maven-gpg-plugin:1.1:sign when I run a 'mvn release:prepare
-DdryRun=true'...

It's likely not "hung", it's probably prompting for your password.   Something
that keeps breaking and fixing with each release plugin/maven release.
That's generally why I have a profile in my settings.xml that looks like:

         <profile>
             <id>release</id>
             <properties>
                 <gpg.useagent>true</gpg.useagent>
                 <maven.test.skip.exec>true</maven.test.skip.exec>
                 <pmd.skip>true</pmd.skip>
                 <checkstyle.skip>true</checkstyle.skip>
             </properties>
         </profile>

which the release plugin would activate and I have the gpg agent setup to
popup a nice dialog box asking for it.   I think you can do:

<gpg.password>yougpgpassword</gpg.password>

instead.

Dan





Best,
Christian

On Wed, Jan 4, 2012 at 10:35 PM, Babak Vahdat

<babak.vah...@swissonline.ch>wrote:
Hi again Christian,

I just catches up with Hadrian on the chat and he is right now in the
middle
of testing it. So let's see what will come out of it...

Babak

--
View this message in context:
http://camel.465427.n5.nabble.com/DISCUSS-Dropping-support-for-Camel-2-7
-x-tp5112509p5120952.html Sent from the Camel Development mailing list
archive at Nabble.com.

--
Hadrian Zbarcea
Principal Software Architect
Talend, Inc
http://coders.talend.com/
http://camelbot.blogspot.com/

Reply via email to