You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lewis John Mcgibbney <le...@gmail.com> on 2012/04/23 16:48:23 UTC

Incorrectly generated URLs in pom's using maven release plugin

Hi,

When pushing out a release candidate for a VOTE, it was brought to my
attention that all generated module pom's contain incorrect URLs. I've
attached a brief description of what is wrong below with the link to the
staged repos here [0]. The release plugin is version 2.2.2

There are some wrong urls in the pom.xml files, namely in the scm section.
(I am not sure what impact of this is). It is about:
-the pom.xml in the project root --> <tag> seems incorrect.
-the sources-dist/pom.xml --> like above, plus: url, connection and
developerConnection have 'trunk' postfixed.
-the subprojects (store implementations) pom.xml --> like above.

My cmd's to create the staged tag was

mvn release:clean release:prepare -P apache -DautoVersionSubmodules=true

mvn release:perform -P apache

1) WIll these characteristics have any relative effect on the atrifacts?
2) Is there any mechanism I can use to prevent this happening? If it is
trivial then I will more than likely spin another RC.

Thank you in advance for any help.

Lewis

[0] https://repository.apache.org/content/repositories/orgapachegora-074/

-- 
*Lewis*

Re: Incorrectly generated URLs in pom's using maven release plugin

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Dennis,

On Mon, Apr 23, 2012 at 9:54 PM, Dennis Lundberg <de...@apache.org> wrote:

> >
> > There are some wrong urls in the pom.xml files, namely in the scm
> section.
> > (I am not sure what impact of this is). It is about:
> > -the pom.xml in the project root --> <tag> seems incorrect.
>
>
> Not sure what happened to this one...
>

Do you envisage that this will pose any problems further down the line,
other than something which could be considered simply as a typo of sorts? I
am speaking from RM perspective and whether this justifies rolling another
RC. What do you think?


>
> > -the sources-dist/pom.xml --> like above, plus: url, connection and
> > developerConnection have 'trunk' postfixed.
> > -the subprojects (store implementations) pom.xml --> like above.
>
> This is because the SCM URLs that you have in your subprojects in trunk
> are wrong. They are currently pointing to
>  http://svn.apache.org/viewvc/gora/trunk/
> when they should be pointing to
>  http://svn.apache.org/viewvc/gora/trunk/<subproject>/
>
> OK I will update this in the project trunk, I suppose the same stands for
this as does for the above!

Again, thanks in advance for your input.

Best

Lewis

Re: Incorrectly generated URLs in pom's using maven release plugin

Posted by Dennis Lundberg <de...@apache.org>.
On 2012-04-23 16:48, Lewis John Mcgibbney wrote:
> Hi,

Hi Lewis

> When pushing out a release candidate for a VOTE, it was brought to my
> attention that all generated module pom's contain incorrect URLs. I've
> attached a brief description of what is wrong below with the link to the
> staged repos here [0]. The release plugin is version 2.2.2
> 
> There are some wrong urls in the pom.xml files, namely in the scm section.
> (I am not sure what impact of this is). It is about:
> -the pom.xml in the project root --> <tag> seems incorrect.

Not sure what happened to this one...

> -the sources-dist/pom.xml --> like above, plus: url, connection and
> developerConnection have 'trunk' postfixed.
> -the subprojects (store implementations) pom.xml --> like above.

This is because the SCM URLs that you have in your subprojects in trunk
are wrong. They are currently pointing to
  http://svn.apache.org/viewvc/gora/trunk/
when they should be pointing to
  http://svn.apache.org/viewvc/gora/trunk/<subproject>/

> My cmd's to create the staged tag was
> 
> mvn release:clean release:prepare -P apache -DautoVersionSubmodules=true
> 
> mvn release:perform -P apache
> 
> 1) WIll these characteristics have any relative effect on the atrifacts?
> 2) Is there any mechanism I can use to prevent this happening? If it is
> trivial then I will more than likely spin another RC.
> 
> Thank you in advance for any help.
> 
> Lewis
> 
> [0] https://repository.apache.org/content/repositories/orgapachegora-074/
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org