http://jira.codehaus.org/browse/SCM-129?page=comments#action_55275

related to your env?

-D


On 4/7/06, dan tran <[EMAIL PROTECTED]> wrote:
>
>  I think the problem is not the release plugin, but your cvs.  It thinks
> your just checked in pom
> is modified.
>
> what does your cvs status give you after this failure?
>
> btw, i am not a CVS novice either ;-)
>
> -D
>
>
>  On 4/7/06, Todd Nine <[EMAIL PROTECTED]> wrote:
> >
> > Hi dan,
> > I built the latest 2.0-beta4-SNAPSHOT this morning,and made it required
> > in
> > my parent pom, but I'm still experiencing the behavior where it will
> > modify
> > all of the poms and check them in, then error on the parent pom since it
> > is
> > not checked in when the tag trys to execute.  It just seems that the tag
> > won't work since its not checking in the parent pom.  I'm not sure if I
> > have
> > something wrong with my pom, so I've included it as well as the output
> > from
> > the process.  Note that the pom below is after it has updated all the
> > versions from 1.0.0-SNAPSHOT to 1.0.0
> >
> > Thanks,
> > Todd
> >
> > Pom
> > <?xml version="1.0" encoding="UTF-8" ?>
> > - <#> <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>
> >   <groupId>ata.loyalty</groupId>
> >   <artifactId>loyaltypackage</artifactId>
> >   <packaging>pom</packaging>
> >   <name>Loyalty Application</name>
> >   <version>1.0.0</version>
> > - <#> <scm>
> >   <connection>scm:cvs:ext:${user.name}@
> > sun10.ata.com:/a01/proj/CVS:loyalty/loyaltyBin </connection>
> >   <developerConnection>scm:cvs:ext:${user.name}@
> > sun10.ata.com:/a01/proj/CVS:loyalty/loyaltyBin</developerConnection>
> >   <url>
> >
> > http://empt.ata.com/cgi-bin/cvsweb.cgi/loyalty/loyaltyBin/?cvsroot=ATA.com-Development
> > </url>
> > </scm>
> > - <#> <build>
> > - <#> <pluginManagement>
> > - <#> <plugins>
> > - <#> <plugin>
> >   <artifactId>maven-release-plugin</artifactId>
> >   <version>2.0-beta-4-SNAPSHOT</version>
> > </plugin>
> > </plugins>
> > </pluginManagement>
> > </build>
> > - <#> <modules>
> >   <module>loyaltyCommon</module>
> >   <module>loyaltyCoreBusiness</module>
> >   <module>loyaltyService</module>
> >   <module>loyaltyServiceEJBRemote</module>
> >   <module>loyaltyServiceEJB</module>
> >   <module>loyaltyTest</module>
> > </modules>
> > - <#> <distributionManagement>
> > - <#> <repository>
> >   <id>ata</id>
> >   <name>ATA Internal</name>
> >   <url>scpexe://sun10.ata.com/a01/proj/Maven2/repository</url>
> > </repository>
> > - <#> <snapshotRepository>
> >   <id>ata</id>
> >   <name>ATA Snapshot</name>
> >   <url>scpexe://sun10.ata.com/a01/proj/Maven2/snapshot</url>
> > </snapshotRepository>
> > - <#> <site>
> >   <id>ata</id>
> >   <name>Eventgateway documentation</name>
> >   <url>scpexe://sun10.ata.com/a01/proj/Maven2/sitedoc/eventgateway</url>
> > </site>
> > </distributionManagement>
> > </project>
> >
> > Output
> >
> > C:\workspace\ata\loyalty>mvn clean release:prepare - Duser.name=c200506
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order:
> > [INFO]   Loyalty Application
> > [INFO]   Loyalty Common
> > [INFO]   Loyalty Core Business
> > [INFO]   Loyalty EAR
> > [INFO]   Loyalty EJB
> > [INFO]   Loyalty EAR
> > [INFO]   Loyalty Test
> > [INFO] Searching repository for plugin with prefix: 'release'.
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [INFO] Building Loyalty Application
> > [INFO]    task-segment: [clean]
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [INFO] [clean:clean]
> > [INFO] Deleting directory C:\workspace\ata\loyalty\target
> > [INFO] Deleting directory C:\workspace\ata\loyalty\target\classes
> > [INFO] Deleting directory C:\workspace\ata\loyalty\target\test-classes
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [INFO] Building Loyalty Common
> > [INFO]    task-segment: [clean]
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [INFO] [clean:clean]
> > [INFO] Deleting directory C:\workspace\ata\loyalty\loyaltyCommon\target
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyCommon\target\classes
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyCommon\target\test-cla
> > sses
> > [INFO]
> > -------------------------------------------------------------------------
> >
> > ---
> > [INFO] Building Loyalty Core Business
> > [INFO]    task-segment: [clean]
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [INFO] [clean:clean]
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyCoreBusiness\target
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyCoreBusiness\target\cl
> > asses
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyCoreBusiness\target\te
> > st-classes
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [INFO] Building Loyalty EAR
> > [INFO]    task-segment: [clean]
> > [INFO]
> > -------------------------------------------------------------------------
> >
> > ---
> > [INFO] [clean:clean]
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyServiceEJBRemote\targe
> > t
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyServiceEJBRemote\targe
> > t\classes
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyServiceEJBRemote\targe
> > t\test-classes
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [INFO] Building Loyalty EJB
> > [INFO]    task-segment: [clean]
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [INFO] [clean:clean]
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyServiceEJB\target
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyServiceEJB\target\clas
> > ses
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyServiceEJB\target\test
> > -classes
> > [INFO]
> > -------------------------------------------------------------------------
> >
> > ---
> > [INFO] Building Loyalty EAR
> > [INFO]    task-segment: [clean]
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [INFO] [clean:clean]
> > [INFO] Deleting directory C:\workspace\ata\loyalty\loyaltyService\target
> >
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyService\target\classes
> >
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyService\target\test-cl
> > asses
> > [INFO]
> > -------------------------------------------------------------------------
> >
> > ---
> > [INFO] Building Loyalty Test
> > [INFO]    task-segment: [clean]
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [INFO] [clean:clean]
> > [INFO] Deleting directory C:\workspace\ata\loyalty\loyaltyTest\target
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyTest\target\classes
> > [INFO] Deleting directory
> > C:\workspace\ata\loyalty\loyaltyTest\target\test-class
> > es
> > [INFO]
> > -------------------------------------------------------------------------
> >
> > ---
> > [INFO] Building Loyalty Application
> > [INFO]    task-segment: [release:prepare] (aggregator-style)
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [WARNING]
> >        Artifact junit:junit:jar:3.8.1 retains local scope 'test'
> > overriding
> > bro
> > ader scope 'compile'
> >        given by a dependency. If this is not intended, modify or remove
> > the
> > loc
> > al scope.
> >
> > Downloading:
> > http://sun10.ata.com:9200/Maven2/repository/org/springframework/spr
> > ing/1.2.7/spring-1.2.7.pom
> > [WARNING] Unable to get resource from repository ata-release (
> > http://sun10.ata.c
> > om:9200/Maven2/repository)
> > Downloading:
> > http://sun10.ata.com:9200/Maven2/snapshot/org/springframework/sprin
> > g/1.2.7/spring-1.2.7.pom
> > [WARNING] Unable to get resource from repository ata-snapshot (
> > http://sun10.ata.
> > com:9200/Maven2/snapshot)
> > Downloading:
> > http://repo1.maven.org/maven2/org/springframework/spring/1.2.7/spri
> > ng-1.2.7.pom
> > [WARNING] Unable to get resource from repository central (
> > http://repo1.maven.org
> > /maven2)
> > [INFO] [release:prepare]
> > [INFO] Verifying there are no local modifications ...
> > [INFO] Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/a01/proj/CVS
> > -n
> > -q u
> > pdate -d
> > [INFO] Working directory: C:\workspace\ata\loyalty
> > [INFO] Checking dependencies and plugins for snapshots ...
> > [INFO] What is the release version for "ata.loyalty:loyaltypackage"? [
> > 1.0.0]
> >
> > [INFO] Transforming ata.loyalty:loyaltypackage to release
> > [INFO] What tag name should be used? [loyaltypackage-1_0_0]
> >
> > [INFO] What is the release version for "ata.loyalty:loyaltyCommon"? [
> > 1.0.0]
> >
> > [INFO] Transforming ata.loyalty:loyaltyCommon to release
> > [INFO] What is the release version for " ata.loyalty:loyaltyCoreBusiness"?
> > [
> > 1.0.0
> > ]
> >
> > [INFO] Transforming ata.loyalty:loyaltyCoreBusiness to release
> > [INFO] Updating loyaltyCommon to 1.0.0
> > [INFO] What is the release version for "ata.loyalty:loyaltyEJBRemote "?
> > [
> > 1.0.0]
> >
> > [INFO] Transforming ata.loyalty:loyaltyEJBRemote to release
> > [INFO] Updating loyaltyCommon to 1.0.0
> > [INFO] What is the release version for "ata.loyalty:loyaltyEJB"? [1.0.0]
> >
> > [INFO] Transforming ata.loyalty:loyaltyEJB to release
> > [INFO] Updating loyaltyEJBRemote to 1.0.0
> > [INFO] Updating loyaltyCoreBusiness to 1.0.0
> > [INFO] What is the release version for "ata.loyalty:loyalty"? [ 1.0.0]
> >
> > [INFO] Transforming ata.loyalty:loyalty to release
> > [INFO] Updating loyaltyEJB to 1.0.0
> > [INFO] What is the release version for "ata.loyalty:loyaltyTest"? [1.0.0
> > ]
> >
> > [INFO] Transforming ata.loyalty:loyaltyTest to release
> > [INFO] Updating loyaltyEJBRemote to 1.0.0
> > [INFO] Checking in modified POMs
> > [INFO] Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/a01/proj/CVS
> > -q
> > comm
> > it -R -F C:\DOCUME~1\ninet\LOCALS~1\Temp\scm-
> > commit-message20880.txtloyaltyTest
> > /pom.xml loyaltyServiceEJBRemote/pom.xml loyaltyService/pom.xml
> > loyaltyCoreBusin
> > ess/pom.xml pom.xml loyaltyServiceEJB/pom.xml loyaltyCommon/pom.xml
> > [INFO] Working directory: C:\workspace\ata\loyalty
> > [INFO] Tagging release with the label loyaltypackage-1_0_0.
> > [INFO] Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/a01/proj/CVS
> > -q
> > tag
> > -F -c loyaltypackage-1_0_0
> > [INFO] Working directory: C:\workspace\ata\loyalty
> > [WARNING] Unknown status: '? '.
> > [WARNING] Unknown status: '? '.
> > [WARNING] Unknown status: '? '.
> > [WARNING] Unknown status: '? '.
> > [WARNING] Unknown status: '? '.
> > [WARNING] Unknown status: '? '.
> > Provider message:
> > The cvs tag command failed.
> > Command output:
> > cvs tag: pom.xml is locally modified
> > cvs [tag aborted]: correct the above errors first!
> >
> > [INFO]
> > -------------------------------------------------------------------------
> >
> > ---
> > [ERROR] BUILD ERROR
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> > [INFO] An error is occurred in the tag process.
> >
> > Embedded error: Error!
> > [INFO]
> > -------------------------------------------------------------------------
> >
> > ---
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> >
> > -------------------------------------------------------------------------
> > ---
> >
> > On 4/6/06, dan tran < [EMAIL PROTECTED]> wrote:
> > >
> > > I am on 2.0.2.  Recommend to wait for 2.0.4 ( comming soon).  2.0.3has a
> > > couple of regression bugs
> > >
> > > -Dan
> > >
> > >
> > > On 4/6/06, Todd Nine < [EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi Dan,
> > > > One last question, what version of maven2 do you have?  I have 2.0.2
> > ,
> > > > would upgrading to 2.0.3 make any difference since maven is plug in
> > > based?
> > > >
> > > > Todd
> > > >
> > > > On 4/6/06, dan tran <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > you will need to build it from source.
> > > > >
> > > > > http://svn.apache.org/repos/asf/maven/plugins/trunk
> > > > >
> > > > > -D
> > > > >
> > > > >
> > > > > On 4/6/06, Todd Nine <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Dumb questions time, I'm still learning maven 2.
> > > > > >
> > > > > > 1. Where is the latest snapshot, is it binary or is it source?
> > > > > > 2. How do I install it, or where are the directions on how to do
> > so
> > > if
> > > > > its
> > > > > > a
> > > > > > binary?
> > > > > >
> > > > > > Thanks,
> > > > > > Todd
> > > > > >
> > > > > > On 4/6/06, dan tran < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > not sure why, but could you try the latest snaphost of release
> > > > > > plugin?  I
> > > > > > > am
> > > > > > > doing a daily release, and it
> > > > > > > works fine
> > > > > > >
> > > > > > > -D
> > > > > > >
> > > > > > >
> > > > > > > On 4/6/06, Todd Nine < [EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > OK, I have modified my parent pom to be in the directory
> > > > immediately
> > > > > > > above
> > > > > > > > my parent pom.
> > > > > > > >
> > > > > > > > I.E.
> > > > > > > >
> > > > > > > > pom.xml
> > > > > > > > proj1/pom.xml
> > > > > > > > proj2/pom.xml
> > > > > > > >
> > > > > > > > Now when I run release:prepare it updates all of my
> > dependencies
> > > > > from
> > > > > > > > 1.0.0-SNAPSHOT to 1.0.0.  Then it returns an error that is
> > > cannot
> > > > > tag
> > > > > > > > since
> > > > > > > > the pom has uncommitted changes!  Shouldn't the release
> > 1.0.0pom
> > > > be
> > > > > > > > committed on the parent and all child projects before the
> > tag is
> > > > > > > executed?
> > > > > > > >
> > > > > > > > Todd
> > > > > > > >
> > > > > > > > On 4/5/06, dan tran < [EMAIL PROTECTED]> wrote:
> > > > > > > > >
> > > > > > > > > yes it is a bug
> > > > > > > > >
> > > > > > > > > http://jira.codehaus.org/browse/MRELEASE-6
> > > > > > > > >
> > > > > > > > > -D
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 4/5/06, Todd Nine < [EMAIL PROTECTED]> wrote:
> > > > > > > > > >
> > > > > > > > > > I'm having some trouble with the prepare target of the
> > > release
> > > > > > plug
> > > > > > > > > in.  I
> > > > > > > > > > have a pom artifact type, and I have several child
> > modules
> > > > like
> > > > > > the
> > > > > > > > > > example
> > > > > > > > > > below.  I'm using the eclipse flat directory structure
> > > > > > > > > >
> > > > > > > > > > <modules>
> > > > > > > > > >   <module>../module1</module>
> > > > > > > > > >   <module>../module2</module>
> > > > > > > > > > </modules>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > when I perform "mvn release:prepare" I'm prompted for
> > the
> > > > > version
> > > > > > of
> > > > > > > > the
> > > > > > > > > > parent pom as well as all child poms.  However when
> > maven
> > > > should
> > > > > > tag
> > > > > > > > the
> > > > > > > > > > source, it never tags the child poms and as a result,
> > the
> > > > > > > > > > release.propertiesall have HEAD as the tag to check out
> > for
> > > a
> > > > > > build.
> > > > > > > > > > It does correctly update
> > > > > > > > > > all the poms and check in the new development version,
> > but
> > > > > doesn't
> > > > > > > tag
> > > > > > > > > the
> > > > > > > > > > source.  Is this a bug?
> > > > > > > > > >
> > > > > > > > > > Todd
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>

Reply via email to