You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arik Kfir <ar...@gmail.com> on 2005/10/12 23:14:27 UTC

[m2] release:prepare removes information from POM

Hi,

I'm trying to prepare a release using "m2 release:prepare". Inside the
POM I have:
          <plugins>
            <plugin>
                <artifactId>maven-release-plugin</artifactId>
                <inherited>false</inherited>
                <configuration>
                   
<tagBase>http://www.myserver.blabla.com/svn/corleon/tags</tagBase>
                </configuration>
            </plugin>
          </plugins

(this is in the <plugins> section - not under the <pluginsManagement>)

The release goes perfect, everything is successful and the POM is
commited back to SVN with the next dev version, BUT the above section
is removed from the POM (the one on the trunk! not the released POM) -
is that normal?

I don't mind fixing it+patch, if you could just give me a few pointers
and directions...

regards,
  arik.

P.S.
  Other plugin configuration parameters are preserved and remain in
the trunk POM.

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


Re: [m2] release:prepare removes information from POM

Posted by Brett Porter <br...@gmail.com>.
I see you commented on the issue. I think this could be cloneModel...
would appreciate if you have time to look into it.

Cheers,
Brett

On 10/13/05, Arik Kfir <ar...@gmail.com> wrote:
> Hi,
>
> I'm trying to prepare a release using "m2 release:prepare". Inside the
> POM I have:
>           <plugins>
>             <plugin>
>                 <artifactId>maven-release-plugin</artifactId>
>                 <inherited>false</inherited>
>                 <configuration>
>
> <tagBase>http://www.myserver.blabla.com/svn/corleon/tags</tagBase>
>                 </configuration>
>             </plugin>
>           </plugins
>
> (this is in the <plugins> section - not under the <pluginsManagement>)
>
> The release goes perfect, everything is successful and the POM is
> commited back to SVN with the next dev version, BUT the above section
> is removed from the POM (the one on the trunk! not the released POM) -
> is that normal?
>
> I don't mind fixing it+patch, if you could just give me a few pointers
> and directions...
>
> regards,
>   arik.
>
> P.S.
>   Other plugin configuration parameters are preserved and remain in
> the trunk POM.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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