You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Forrest Xia <fo...@gmail.com> on 2010/01/12 09:30:56 UTC
What process to follow to release geronimo samples?
Hi all,
With Delos's help, the new codes for geronimo samples have been checked in.
Next step, we want to push the samples to release. My question is what
process we shall follow to release the samples?
I noticed there is a process for server:
http://cwiki.apache.org/GMOxPMGT/geronimo-server-release-process.html. Is it
also applicable for geronimo samples?
Forrest
Re: What process to follow to release geronimo samples?
Posted by Joe Bohn <jo...@earthlink.net>.
Actually, I did get site generation working (or at least working good
enough) back in genesis 1.4 or 1.5 and I used it for several component
releases. I recall a post from Jason when Genesis 2.0 was getting close
to complete indicating that the site generation worked but there were
some issues with the Geronimo skin. I think the work was eventually
deferred and nobody ever picked it up again.
Joe
David Jencks wrote:
> AFAIK no one has gotten any sites to generate properly using genesis. I
> find site generation to be incomprehensible and full of bugs, I gave up
> trying to build the site for geronimo 2.2.
>
> There shouldn't be any snapshots in the site generation process, so
> perhaps there is an unspecified version somewhere?? I'd guess we'd want
> a geronimo-skin 2.0 since I think it's from genesis. Maybe it's called
> something else now????
>
> Assuming you are working on releasing samples/branches/2.2 I noticed
> that at least the root pom needs some cleanup...
>
> - scm location info is wrong
> - you shouldn't need any repo configuration
> - some of the pllugins are already configured correctly in genesis
>
> thanks
> david jencks
>
> On Jan 14, 2010, at 7:43 AM, Forrest Xia wrote:
>
>> I tried mvn site:run on samples, but get an error that
>> geronimo-skin:1.5-SNAPSHOT cannot be found.
>>
>> I cannot locate where the artifact is specified in the pom hierarchy.
>> Could anyone tell me about it? thanks a lot!
>>
>> I notice geronimo-skin:1.5 has been released in the public repo.
>>
>> Forrest
>
>
Re: What process to follow to release geronimo samples?
Posted by David Jencks <da...@yahoo.com>.
AFAIK no one has gotten any sites to generate properly using genesis.
I find site generation to be incomprehensible and full of bugs, I gave
up trying to build the site for geronimo 2.2.
There shouldn't be any snapshots in the site generation process, so
perhaps there is an unspecified version somewhere?? I'd guess we'd
want a geronimo-skin 2.0 since I think it's from genesis. Maybe it's
called something else now????
Assuming you are working on releasing samples/branches/2.2 I noticed
that at least the root pom needs some cleanup...
- scm location info is wrong
- you shouldn't need any repo configuration
- some of the pllugins are already configured correctly in genesis
thanks
david jencks
On Jan 14, 2010, at 7:43 AM, Forrest Xia wrote:
> I tried mvn site:run on samples, but get an error that geronimo-skin:
> 1.5-SNAPSHOT cannot be found.
>
> I cannot locate where the artifact is specified in the pom
> hierarchy. Could anyone tell me about it? thanks a lot!
>
> I notice geronimo-skin:1.5 has been released in the public repo.
>
> Forrest
Re: What process to follow to release geronimo samples?
Posted by Forrest Xia <fo...@gmail.com>.
I tried mvn site:run on samples, but get an error that
geronimo-skin:1.5-SNAPSHOT cannot be found.
I cannot locate where the artifact is specified in the pom hierarchy. Could
anyone tell me about it? thanks a lot!
I notice geronimo-skin:1.5 has been released in the public repo.
Forrest
Re: What process to follow to release geronimo samples?
Posted by David Jencks <da...@yahoo.com>.
On Jan 17, 2010, at 10:27 PM, Forrest Xia wrote:
> Hi David,
>
> When we do release:perform with Delos's apache id, we got an
> authorization failure like this:
> [INFO] [ERROR] BUILD ERROR
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Error deploying artifact: Authorization failed: Access
> denied to: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/geronimo/samples/samples-parent/2.2/samples-parent-2.2.pom
>
> Seems Delos's id has no right to write to this staging repo. then I
> opened a infra jira to request privilege: http://issues.apache.org/jira/browse/INFRA-2448
>
> we don't know if there is anything else to do to get through the
> deployment issue. Please kindly advise. thanks in advance!
IIUC you need something like this in your ~/.m2/settings.xml so
apache's nexus will recognize you:
<servers>
<!-- To publish a snapshot of some part of Maven -->
<server>
<id>apache.snapshots.https</id>
<username>apacheId</username>
<password>apache-svn-password</password>
</server>
<!-- To stage a release of some part of Maven -->
<server>
<id>apache.releases.https</id>
<username>apacheId</username>
<password>apache-svn-password</password>
</server>
</servers>
A few days ago something had gone wrong and no one was able to push
geronimo snapshots but that got fixed. When I have problems I usually
try to find Brian Fox on the maven irc channel and he can usually
explain what I am doing wrong or fix the problem. This may be harder
from china due to the time difference :-/
hope this helps
david jencks
>
> Forrest
Re: What process to follow to release geronimo samples?
Posted by Forrest Xia <fo...@gmail.com>.
Hi David,
When we do release:perform with Delos's apache id, we got an authorization
failure like this:
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Error deploying artifact: Authorization failed: Access denied
to:
https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/geronimo/samples/samples-parent/2.2/samples-parent-2.2.pom
Seems Delos's id has no right to write to this staging repo. then I opened a
infra jira to request privilege:
http://issues.apache.org/jira/browse/INFRA-2448
we don't know if there is anything else to do to get through the deployment
issue. Please kindly advise. thanks in advance!
Forrest
Re: What process to follow to release geronimo samples?
Posted by Forrest Xia <fo...@gmail.com>.
Hi Joe,
On Tue, Jan 12, 2010 at 10:37 PM, Joe Bohn <jo...@earthlink.net> wrote:
> IIRC I used the component release process (using the maven-release-plugin)
> when I released the 2.1.2 version of the samples ... but I have to admit
> it's been a while and I may have had to make some exceptions. But I'd
> recommend starting there.
>
> Reference
> http://cwiki.apache.org/GMOxPMGT/geronimo-component-release-process.html
>
The process doc is out of date. I checked some profile settings in the
genesis tree, not found matched settings as those in the document. So I am
afraid that I could not follow it to do the samples release.
Seems to me, I need to figure out an workable way for samples 2.2 release.
But if anyone could have some insights on this to comment, especially about
how the Geronimo 2.2 was released, that would be very appreciated!
Forrest
Re: What process to follow to release geronimo samples?
Posted by Joe Bohn <jo...@earthlink.net>.
IIRC I used the component release process (using the
maven-release-plugin) when I released the 2.1.2 version of the samples
... but I have to admit it's been a while and I may have had to make
some exceptions. But I'd recommend starting there.
Reference
http://cwiki.apache.org/GMOxPMGT/geronimo-component-release-process.html
Joe
Forrest Xia wrote:
> Hi all,
>
> With Delos's help, the new codes for geronimo samples have been checked
> in. Next step, we want to push the samples to release. My question is
> what process we shall follow to release the samples?
>
> I noticed there is a process for server:
> http://cwiki.apache.org/GMOxPMGT/geronimo-server-release-process.html.
> Is it also applicable for geronimo samples?
>
> Forrest