Your reactor pom is on a very old version of the felix parent pom.
That is why you get the errors you see. However, we don't release the
reactors but typically the indiviual targets.

I think the reason they are going wrong is that your scm tag is not
correct. It points in both cases (targets) to the root of your project
(where the reactor is) but it should point to the subfolder of the
actual target in that root ie.,

<scm>
                
<connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/httplite</connection>
                
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/httplite</developerConnection>
                <url>http://svn.apache.org/repos/asf/felix/trunk/httplite</url>
</scm>

should become:

<scm>
                
<connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/httplite/complete</connection>
                
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/httplite/complete</developerConnection>
                
<url>http://svn.apache.org/repos/asf/felix/trunk/httplite/complete</url>
</scm>


Then try to release the individual targets and not the reactor. Does this help?


regards,

Karl

On Wed, Jan 11, 2012 at 1:41 AM, Ken Gilmer <[email protected]> wrote:
> Hi guys,
>
>  I'm still unable to follow the Felix release process without error.  I
> did find one issue with my POMs not having the proper level of nesting when
> referring to the parent POM.  I fixed this to match what's currently in the
> eventadmin sub project.  I have tried doing the release process both on
> each target and on the parent (reactor) pom.  Both produce errors.
>
> When trying to release per target (not reactor /httplite/minimum), I get to
> the 'mvn deploy' stage.  After some uploading, I get to:
> [INFO] [INFO] Retrieving previous build number from apache.snapshots
> [INFO]
> Maven never returns from this.  I can see in some of the build output that
> maven is building and deploying my other target (httplite.complete) as
> well, so I'm thinking that releasing at the target level may be incorrect.
>
> When trying to release the whole subproject (/httplite) I get to the 'mvn
> deploy' stage.  I am prompted for my password after "[INFO] Retrieving
> previous build number from apache.snapshots".  After this I see:
>
> Uploading: scp://
> people.apache.org/www/people.apache.org/repo/m2-snapshot-repository/org/apache/felix/org.apache.felix.httplite.reactor/1-SNAPSHOT/org.apache.felix.httplite.reactor-1-20120111.002634-1.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Exit code: 1 - mkdir: /www/
> people.apache.org/repo/m2-snapshot-repository/org/apache/felix/org.apache.felix.httplite.reactor:
> Permission denied
>
> Logging into people.apache.org, in /www/
> people.apache.org/repo/m2-snapshot-repository/org/apache/felix/ I can see
> there is only one directory from 2009 so I suspect that maven is doing the
> wrong thing and I should not be releasing from the root level.
>
> At this point I'm not sure how to proceed with the release.  Any
> suggestions or ideas on how to perform a release with multiple modules
> (like http, eventadmin, deployadmin, etc.) would be greatly appreciated.
>
> thx
> ken



-- 
Karl Pauls
[email protected]
http://twitter.com/karlpauls
http://www.linkedin.com/in/karlpauls
https://profiles.google.com/karlpauls

Reply via email to