Thanks for the trick!

WDYT to update the release-process doc?

Cheers,

Vincent

2007/11/14, Dennis Lundberg <[EMAIL PROTECTED]>:
> I could have sworn there was a JIRA for this, but I couldn't find an
> open one when I looked.
>
> To see if a pom is affected by this pom-rewrite-bug, I usually do
>    mvn release:prepare -DdryRun=true
>
> After that I diff the original file pom.xml with the one called
> pom.xml.tag to see if the license has been removed. The fix that has
> worked for me in the past has been to put the entire starting project
> tag on one line.
>
> Remember to do
>    mvn release:clean
> if afterwards to get a clean slate before starting the real release process.
>
> Vincent Siveton wrote:
> > Hi Dennis,
> >
> > Is it a known limitation of release plugin? I am not aware about this.
> >
> > Cheers,
> >
> > Vincent
> >
> > 2007/11/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> >> Author: dennisl
> >> Date: Tue Nov 13 11:49:14 2007
> >> New Revision: 594621
> >>
> >> URL: http://svn.apache.org/viewvc?rev=594621&view=rev
> >> Log:
> >> o Keep the project tag on one line, to avoid loosing the license info when 
> >> doing a release.
> >>
> >> Modified:
> >>     maven/plugins/trunk/maven-clean-plugin/pom.xml
> >>
> >> Modified: maven/plugins/trunk/maven-clean-plugin/pom.xml
> >> URL: 
> >> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clean-plugin/pom.xml?rev=594621&r1=594620&r2=594621&view=diff
> >> ==============================================================================
> >> --- maven/plugins/trunk/maven-clean-plugin/pom.xml (original)
> >> +++ maven/plugins/trunk/maven-clean-plugin/pom.xml Tue Nov 13 11:49:14 2007
> >> @@ -18,9 +18,7 @@
> >>  under the License.
> >>  -->
> >>
> >> -<project xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
> >> -  xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 
> >> http://maven.apache.org/maven-v4_0_0.xsd'
> >> -  xmlns='http://maven.apache.org/POM/4.0.0'>
> >> +<project xmlns="http://maven.apache.org/POM/4.0.0"; 
> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> >> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> >> http://maven.apache.org/maven-v4_0_0.xsd";>
> >>    <modelVersion>4.0.0</modelVersion>
> >>
> >>    <parent>
> >>
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to