The only thing that made this work for me was creating a profile in my
settings.xml, adding <mavenExecutorId>forked-path</mavenExecutorId> as a
property, then specifying that profile as part of the release:prepare and
release:perform commands. None of the other listed solutions worked (i.e.
specifying <mavenExecutorId>forked-path</mavenExecutorId> as a property of
the maven-release-plugin configuration, specifying
-Dgpg.passphrase="xxxxxxx" -Darguments="-Dgpg.passphrase=xxxxxxxxx" as
command line arguments, or specifying -Dgpg.userAgent=true as a command
line argument).

John

>
> Re: Subsystems Release
>
> I don't remember how I used to get this to work :-(
>
> I would ask on the maven-users list (or search it first) or on maven irc.
>
> good luck :-)
> david jencks
>
> On Mar 26, 2013, at 12:02 PM, John W Ross <[email protected]> wrote:
>
> >
> >
> > When preparing the release of the subsystem.api bundle, the process
hangs
> > during the signing phase.
> >
> > [INFO] [INFO] --- maven-gpg-plugin:1.0-alpha-4:sign (default) @
> > org.apache.aries.subsystem.api ---
> >
> > I let it hang for more than an hour before finally killing it. I
suspect
> > this is because I am unable to copy
> > https://svn.apache.org/repos/asf/aries/KEYS (which contains my public
key)
> > to http://www.apache.org/dist/aries/KEYS due to insufficient
privileges. I
> > am able to get the updated KEYS file to my home directory on
> > people.apache.org but can't copy or move it
> > to /www/www.apache.org/dist/aries/KEYS.
> >
> > How do I receive the necessary permissions for this?
> >
> > John
> >
> >>
> >> Re: Subsystems Release
> >>
> >> Thanks, David. I had not followed those instructions. I now have and
am
> >> able to deploy snapshot releases.
> >>
> >> John
> >>
> >>>
> >>> Re: Subsystems Release
> >>>
> >>> Did you follow the instructions on setting up your settings.xml found
> >> here?
> >>>
> >>> http://www.apache.org/dev/publishing-maven-artifacts.html
> >>>
> >>> hope this might help :-)
> >>> david jencks
> >>>
> >>>
> >>>
> >>> On Mar 22, 2013, at 8:21 PM, John W Ross <[email protected]> wrote:
> >>>
> >>>>
> >>>>
> >>>> I received the following error while attempting to create a snapshot
> >>>> release per the instructions at
> >>>> http://aries.apache.org/development/releasingaries.html.
> >>>>
> >>>> [ERROR] Failed to execute goal
> >>>> org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy
> >> (default-deploy) on
> >>>> project org.apache.aries.subsystem.api: Failed to deploy artifacts:
> >> Could
> >>>> not transfer artifact
> >>>> org.apache.aries.subsystem:org.apache.aries.subsystem.api:jar:1.0.
> >>> 0-20130323.025945-55
> >>>> from/to apache.snapshots.https
> >>>> (https://repository.apache.org/content/repositories/snapshots):
> > Failed
> >> to
> >>>> transfer file:
> >>>> https://repository.apache.org/content/repositories/snapshots/org/
> >>> apache/aries/subsystem/org.apache.aries.subsystem.api/1.0.0-
> >>> SNAPSHOT/org.apache.aries.subsystem.api-1.0.0-20130323.025945-55.jar.
> >>>> Return code is: 401, ReasonPhrase:Unauthorized. -> [Help 1]
> >>>>
> >>>> So I'm going to halt my attempt at a subsystems release until
assured
> >> that
> >>>> I have the necessary permissions or am corrected in my approach.
> >>>>
> >>>> John
> >>>>
> >>>>>
> >>>>> Re: Fw: Subsystems Release
> >>>>>
> >>>>>
> >>>>> How do I ensure that https://svn.apache.org/repos/asf/aries/KEYS
has
> >> been
> >>>>> mirrored to @people.apache.org:/www/www.apache.org/dist/aries/KEYS?
> >>>>>
> >>>>> I tried using scp but received the following:
> >>>>>
> >>>>> scp: /www/www.apache.org/dist/aries/KEYS: Permission denied
> >>>>>
> >>>>> John
> >>>>>
> >>>>>>
> >>>>>> Re: Fw: Subsystems Release
> >>>>>>
> >>>>>> Agree with David.
> >>>>>>
> >>>>>> The bundle versioning plugin only comes into play after you have
> >>>> released
> >>>>>> the base.
> >>>>>> Thanks
> >>>>>> Emily
> >>>>>>
> >>>>>> On Wed, Mar 20, 2013 at 1:40 PM, David Bosschaert <
> >>>>>> [email protected]> wrote:
> >>>>>>
> >>>>>>> Hi John,
> >>>>>>>
> >>>>>>> On 20 March 2013 12:22, John W Ross <[email protected]> wrote:
> >>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> I have a few questions regarding the Aries release process (
> >>>>>>>> http://aries.apache.org/development/releasingaries.html).
> >>>>>>>>
> >>>>>>>> (1) I presume we've already had the required discussion of the
> >>>>> release
> >>>>>>> and
> >>>>>>>> its contents? Does anyone object to the initial 1.0.0 release of
> >>>>>>>> Subsystems? The contents of the release would be everything in
> >>>> trunk.
> >>>>>>>>
> >>>>>>>
> >>>>>>> It's been flagged a few times already on this list. I think as
far
> >>>> back
> >>>>> as
> >>>>>>> October or November last year. I didn't see any objections and
> >>>> there's
> >>>>>>> certainly no objection from me...
> >>>>>>>
> >>>>>>>
> >>>>>>>> (2) The instructions state "Make sure that there is a JIRA
> > version
> >>>>> that
> >>>>>>>> matches the name of the release, if not, create one." I don't
> >>>>> understand
> >>>>>>>> what this means.
> >>>>>>>>
> >>>>>>>
> >>>>>>> I guess that this is to make sure that people can file bugs
> > against
> >>>> it.
> >>>>>>> While there isn't a "subsystems-1.0" jira version, there is a
> > simple
> >>>>> "1.0".
> >>>>>>> I don't know but to me it looks like that would be enough
> > otherwise
> >>>> if
> >>>>>>> you'd have specific versions for every component the number of
> >>>> versions
> >>>>> in
> >>>>>>> JIRA would explode pretty soon...
> >>>>>>>
> >>>>>>>
> >>>>>>>> (3) Where does the maven-versioning plugin come into play? How
do
> > I
> >>>>>>> insure
> >>>>>>>> the subsystems project is correctly configured to use it?
> >>>>>>>>
> >>>>>>>
> >>>>>>> I thought that this would come into play *after* the first
> > release,
> >>>> so
> >>>>> it
> >>>>>>> would not be applicable this time if I'm not mistaken...
> >>>>>>>
> >>>>>>> Just my 2c,
> >>>>>>>
> >>>>>>> David
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Thanks
> >>>>>> Emily
> >>>>>> =================
> >>>>>> Emily Jiang
> >>>>>> [email protected]
>

Reply via email to