Did you specify a version for the release plugin ?

On 06/09/07, Todd Nine <[EMAIL PROTECTED]> wrote:
> ping....
>
> On 9/5/07, Todd Nine <[EMAIL PROTECTED]> wrote:
> >
> > Hi all,
> >   I have a multi project build in the standard directory structure.  I'm
> > using subversion, and all my submodules will be built with the same version
> > as the parent.  I can perform a prepare successfully, however when I perform
> > the release, the modules aren't built in the correct order based on their
> > dependencies, and the release fails.  I'm able to perform a 'mvn clean
> > install', and they are built in the correct order, so it doesn't appear to
> > be an issue with the way I have defined my.  I've included my prompts, I
> > can't seem to find anything wrong with my commands.
> >
> >
> > mvn clean release:clean release:prepare (from parent pom.xml working
> > directory)
> >
> > ### omitting clean ####
> > [INFO] Checking dependencies and plugins for snapshots ...
> > What is the release version for "Master Build Module for Parent"? (
> > com.purdueefcu.statements:parent) 1.0.0-beta-2: : 1.0.0-beta-1
> > What is the release version for "dataaccess"? (
> > com.purdueefcu.statements:dataaccess) 1.0.0-beta-2: : 1.0.0-beta-1
> > What is the release version for "common"? (
> > com.purdueefcu.statements:common) 1.0.0-beta-2: : 1.0.0-beta-1
> > What is the release version for "parser"? (
> > com.purdueefcu.statements:parser) 1.0.0-beta-2: : 1.0.0-beta-1
> > What is the release version for "processor"? (
> > com.purdueefcu.statements:processor) 1.0.0-beta-2: : 1.0.0-beta-1
> > What is the release version for "mdb"? (com.purdueefcu.statements:mdb)
> > 1.0.0-beta-2: : 1.0.0-beta-1
> > What is the release version for "overlays"? (
> > com.purdueefcu.statements:overlays) 1.0.0-beta-2: : 1.0.0-beta-1
> > What is the release version for "reader"? (
> > com.purdueefcu.statements:reader) 1.0.0-beta-2: : 1.0.0-beta-1
> > What is the release version for "writer"? (
> > com.purdueefcu.statements:writer) 1.0.0-beta-2: : 1.0.0-beta-1
> > What is the release version for "statments ear"? (
> > com.purdueefcu.statements:statements-app) 1.0.0-beta-2: : 1.0.0-beta-1
> > What is SCM release tag or label for "Master Build Module for Parent"? (
> > com.purdueefcu.statements:parent) parent-1.0.0-beta-1: :
> > What is the new development version for "Master Build Module for Parent"?
> > (com.purdueefcu.statements:parent) 1.0.0-beta-3-SNAPSHOT: : 1.0.0-
> > beta-2-SNAPSHOT
> >
> > ### omitting junit test output ###
> >
> > [INFO] Executing: svn --non-interactive commit --file
> > c:\DOCUME~1\tnine\LOCALS~1\Temp\maven-scm-2128849133.commit --targets
> > c:\DOCUME~1\tnin
> > e\LOCALS~1\Temp\maven-scm-8191-targets
> > [INFO] Working directory: c:\development\pefcu\statements\trunk
> > [INFO] Release preparation complete.
> > [INFO]
> > [INFO]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Master Build Module for Parent ........................ SUCCESS [2:
> > 14.438s]
> > [INFO] dataaccess ............................................ SUCCESS [
> > 0.016s]
> > [INFO] common ................................................ SUCCESS [
> > 0.000s]
> > [INFO] parser ................................................ SUCCESS [
> > 0.000s]
> > [INFO] processor ............................................. SUCCESS [
> > 0.109s]
> > [INFO] mdb ................................................... SUCCESS [
> > 0.063s]
> > [INFO] overlays .............................................. SUCCESS [
> > 0.000s]
> > [INFO] reader ................................................ SUCCESS [
> > 0.156s]
> > [INFO] writer ................................................ SUCCESS [
> > 0.015s]
> > [INFO] statments ear ......................................... SUCCESS [
> > 0.125s]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESSFUL
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 2 minutes 24 seconds
> > [INFO] Finished at: Wed Sep 05 09:40:07 EDT 2007
> > [INFO] Final Memory: 9M/32M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> >
> > Next command
> >
> > mvn clean release:perform (from parent pom.xml working directory)
> >
> > ### omitting clean output ####
> > [INFO] Executing: svn --non-interactive checkout 
> > http://sourceforge.purdueefcu.com/svn/repos/statements/tags/parent-1.0.0-beta-1
> > checkout
> > [INFO] Working directory: c:\development\pefcu\statements\trunk\target
> > [INFO] Executing goals 'deploy site-deploy'...
> > [INFO] Executing: mvn deploy site-deploy --no-plugin-updates -P
> > pefcu-profile -DperformRelease=true
> >     [INFO] Scanning for projects...
> >     [INFO] Reactor build order:
> >     [INFO]   Master Build Module for Parent
> >     [INFO]   dataaccess
> >     [INFO]   common
> >     [INFO]   parser
> >     [INFO]   processor
> >     [INFO]   mdb
> >     [INFO]   overlays
> >     [INFO]   reader
> >     [INFO]   writer
> >     [INFO]   statments ear
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [INFO] Building Master Build Module for Parent
> >     [INFO]    task-segment: [deploy, site-deploy]
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [INFO] [site:attach-descriptor]
> >     [INFO] Preparing source:jar
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [INFO] No goals needed for project - skipping
> >     [INFO] [source:jar {execution: attach-sources}]
> >     [INFO] Preparing javadoc:jar
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [INFO] Building Master Build Module for Parent
> >     [INFO]
> > ----------------------------------------------------------------------------
> >
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [INFO] No goals needed for project - skipping
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [INFO] Building dataaccess
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [INFO] No goals needed for project - skipping
> >     [INFO]
> > ----------------------------------------------------------------------------
> >
> >     [INFO] Building common
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [INFO] No goals needed for project - skipping
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [INFO] Building parser
> >     [INFO]
> > ----------------------------------------------------------------------------
> >
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [INFO] No goals needed for project - skipping
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [INFO] Building processor
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [INFO] No goals needed for project - skipping
> >     [INFO]
> > ----------------------------------------------------------------------------
> >
> >     [INFO] Building mdb
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [INFO] No goals needed for project - skipping
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [INFO] Building overlays
> >     [INFO]
> > ----------------------------------------------------------------------------
> >
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [INFO] No goals needed for project - skipping
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [INFO] Building reader
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [INFO] No goals needed for project - skipping
> >     [INFO]
> > ----------------------------------------------------------------------------
> >
> >     [INFO] Building writer
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [INFO] No goals needed for project - skipping
> >     [INFO]
> > ----------------------------------------------------------------------------
> >     [INFO] Building statments ear
> >     [INFO]
> > ----------------------------------------------------------------------------
> >
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> > invocation.
> >     [INFO] No goals needed for project - skipping
> >     Downloading: 
> > http://sourceforge.purdueefcu.com/maven2//com/purdueefcu/statements/dataaccess/1.0.0-beta-1/dataaccess-1.0.0-beta-1.jar
> >
> >     Downloading:
> > http://download.java.net/maven/1/com.purdueefcu.statements/jars/dataaccess-1.0.0-beta-1.jar
> >     Downloading: 
> > http://repo1.maven.org/maven2/com/purdueefcu/statements/dataaccess/1.0.0-beta-1/dataaccess-1.0.0-beta-1.jar
> >
> >     [INFO]
> > ------------------------------------------------------------------------
> >     [ERROR] BUILD ERROR
> >     [INFO]
> > ------------------------------------------------------------------------
> >     [INFO] Failed to resolve artifact.
> >
> >     Missing:
> >     ----------
> >     1) com.purdueefcu.statements:dataaccess:jar:1.0.0-beta-1
> >
> >       Try downloading the file manually from the project website.
> >
> >       Then, install it using the command:
> >           mvn install:install-file 
> > -DgroupId=com.purdueefcu.statements-DartifactId=dataaccess \
> >               -Dversion=1.0.0-beta-1 -Dpackaging=jar -Dfile=/path/to/file
> >     Alternatively, if you host your own repository you can deploy the file
> > there:       mvn deploy:deploy-file -DgroupId= com.purdueefcu.stat
> > ements -DartifactId=dataaccess \
> >               -Dversion=1.0.0-beta-1 -Dpackaging=jar -Dfile=/path/to/file
> > \
> >                -Durl=[url] -DrepositoryId=[id]
> >
> >       Path to dependency:
> >         1) com.purdueefcu.statements:common:jar:1.0.0-beta-1
> >         2) com.purdueefcu.statements:dataaccess:jar:1.0.0-beta-1
> >
> >     ----------
> >     1 required artifact is missing.
> >
> >     for artifact:
> >       com.purdueefcu.statements:common:jar:1.0.0-beta-1
> >
> >     from the specified remote repositories:
> >       central (http://repo1.maven.org/maven2),
> >       java.net (http://download.java.net/maven/1),
> >       pefcu-repo (http://sourceforge.purdueefcu.com/maven2/)
> >
> >
> >     [INFO]
> > ------------------------------------------------------------------------
> >     [INFO] For more information, run Maven with the -e switch
> >     [INFO]
> > ------------------------------------------------------------------------
> >     [INFO] Total time: 3 seconds
> >     [INFO] Finished at: Wed Sep 05 09:42:57 EDT 2007
> >     [INFO] Final Memory: 11M/20M
> >     [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Cleaning up after release...
> > [INFO]
> > [INFO]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Master Build Module for Parent ........................ SUCCESS [
> > 23.187s]
> > [INFO] dataaccess ............................................ SUCCESS [
> > 0.125s]
> > [INFO] common ................................................ SUCCESS [
> > 0.047s]
> > [INFO] parser ................................................ SUCCESS [
> > 0.094s]
> > [INFO] processor ............................................. SUCCESS [
> > 0.453s]
> > [INFO] mdb ................................................... SUCCESS [
> > 0.109s]
> > [INFO] overlays .............................................. SUCCESS [
> > 0.094s]
> > [INFO] reader ................................................ SUCCESS [
> > 0.312s]
> > [INFO] writer ................................................ SUCCESS [
> > 0.078s]
> > [INFO] statments ear ......................................... SUCCESS [
> > 0.110s]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESSFUL
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 26 seconds
> > [INFO] Finished at: Wed Sep 05 09:42:57 EDT 2007
> > [INFO] Final Memory: 10M/18M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> > The build is definitely not successfully.  Am I missing some options when
> > I execute the release prepare or perform?
> >
> > Thanks,
> > Todd
> >
> >
> >
> >
> >
> >
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

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

Reply via email to