You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Enrique Gaona <eg...@us.ibm.com> on 2007/11/27 19:41:37 UTC

Best way of changing project version


Greets,

I have a big maven project  that has about 300 pom files in it.  Currently,
the <version> is hardcoded on all the pom.xml files and moving from one
version to another is a PITA.   My question is, what's the best way of
doing away with the hardcoded value and moving to a variable where it can
be set in the parent pom.   Right now, I'm experimenting by setting version
to <version>${build_version}</version>  and added in my parent pom
<properties><build_version>2.2</build_version></properties>.      For the
most part, this works fine, but  there are some sub-components in the
project where ${build_version} is not getting expanded, which is quite
annoying, to say the least.

Here's a sample output where the variable is not getting expanded.

[INFO]
----------------------------------------------------------------------------
[INFO] Building CSDPRoleMappingPortlet
[INFO]    task-segment: [clean, antrun:run, install, rpm:rpm]
[INFO]
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/WebContent/WEB-INF/classes
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target/test-classes
Downloading:
ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository csdpFtpRepository
(ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository)
Downloading:
ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository csdpFtpRepository
(ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
Downloading:
http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository csdpRepository
(http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
Downloading:
http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: com.ibm.csdp.prereq
ArtifactId: com.ibm.csdp.prereq
Version: ${csdp_version}

Reason: Unable to download the artifact from any repository

  com.ibm.csdp.prereq:com.ibm.csdp.prereq:pom:${csdp_version}

from the specified remote repositories:
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
  central (http://repo1.maven.org/maven2),
  csdpRepository
(http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository),
  csdpFtpRepository
(ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 21 seconds
[INFO] Finished at: Tue Nov 27 12:36:55 CST 2007
[INFO] Final Memory: 11M/30M
[INFO]
------------------------------------------------------------------------


Any ideas?  Thanks.

Enrique

Re: Best way of changing project version

Posted by Erez Nahir <er...@gmail.com>.
Have someone tried it with Clearcase dynamic views? and Clearcase UCM?

If it does not work with Clearcase, you still need to define manually all
the version elements for all <parent> in all poms, even if you use ${
project.version}, you can not (AFAIK) use it in <parent><version>...

Erez.

On Nov 28, 2007 4:23 PM, Enrique Gaona <eg...@us.ibm.com> wrote:

> Arnaud/Kalle/Nick,
> Thanks for the suggestions. I'll looking into the maven-release plugin,
> hopefully, it solves my problem.
>
> Enrique
>

Re: Best way of changing project version

Posted by Enrique Gaona <eg...@us.ibm.com>.
Arnaud/Kalle/Nick,
Thanks for the suggestions. I'll looking into the maven-release plugin,
hopefully, it solves my problem.

Enrique

Re: Best way of changing project version

Posted by Arnaud HERITIER <ah...@gmail.com>.
I forgot to add :
  If you have an inheritence, you don't have to define the version in each
submodule (just the parent) and for dependencies you can use ${pom.version}
in each dependency or in the dependencyManagement of the parent like Kalle
proposed.
  The problem is with the parent part of the pom because you have to always
define the version. For that I think that the release plugin is the best
choice.

Arnaud

On Nov 27, 2007 7:57 PM, Kalle Korhonen <ka...@gmail.com> wrote:

> Is there a reason why you just don't set the versions of the child modules
> in the dependencyManagement section of the parent pom?
>
> Kalle
>
> On 11/27/07, Enrique Gaona <eg...@us.ibm.com> wrote:
> >
> >
> >
> > Greets,
> >
> > I have a big maven project  that has about 300 pom files in
> > it.  Currently,
> > the <version> is hardcoded on all the pom.xml files and moving from one
> > version to another is a PITA.   My question is, what's the best way of
> > doing away with the hardcoded value and moving to a variable where it
> can
> > be set in the parent pom.   Right now, I'm experimenting by setting
> > version
> > to <version>${build_version}</version>  and added in my parent pom
> > <properties><build_version>2.2</build_version></properties>.      For
> the
> > most part, this works fine, but  there are some sub-components in the
> > project where ${build_version} is not getting expanded, which is quite
> > annoying, to say the least.
> >
> > Here's a sample output where the variable is not getting expanded.
> >
> > [INFO]
> >
> >
> ----------------------------------------------------------------------------
> > [INFO] Building CSDPRoleMappingPortlet
> > [INFO]    task-segment: [clean, antrun:run, install, rpm:rpm]
> > [INFO]
> >
> >
> ----------------------------------------------------------------------------
> > [INFO] [clean:clean]
> > [INFO] Deleting directory
> >
> >
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target
> > [INFO] Deleting directory
> >
> >
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/WebContent/WEB-INF/classes
> > [INFO] Deleting directory
> >
> >
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target/test-classes
> > Downloading:
> >
> >
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom<ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/$%7Bcsdp_version%7D/com.ibm.csdp.prereq-$%7Bcsdp_version%7D.pom>
> > [WARNING] Unable to get resource from repository csdpFtpRepository
> > (
> >
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository
> > )
> > Downloading:
> >
> >
> ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom<ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/$%7Bcsdp_version%7D/com.ibm.csdp.prereq-$%7Bcsdp_version%7D.pom>
> > [WARNING] Unable to get resource from repository csdpFtpRepository
> > (ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> > Downloading:
> >
> >
> http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom<http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/$%7Bcsdp_version%7D/com.ibm.csdp.prereq-$%7Bcsdp_version%7D.pom>
> > [WARNING] Unable to get resource from repository csdpRepository
> > (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> > Downloading:
> >
> >
> http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom<http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/$%7Bcsdp_version%7D/com.ibm.csdp.prereq-$%7Bcsdp_version%7D.pom>
> > [WARNING] Unable to get resource from repository central
> > (http://repo1.maven.org/maven2)
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: com.ibm.csdp.prereq
> > ArtifactId: com.ibm.csdp.prereq
> > Version: ${csdp_version}
> >
> > Reason: Unable to download the artifact from any repository
> >
> >   com.ibm.csdp.prereq:com.ibm.csdp.prereq:pom:${csdp_version}
> >
> > from the specified remote repositories:
> >   Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
> >   central (http://repo1.maven.org/maven2),
> >   csdpRepository
> > (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository),
> >   csdpFtpRepository
> > (
> >
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository
> > )
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 1 minute 21 seconds
> > [INFO] Finished at: Tue Nov 27 12:36:55 CST 2007
> > [INFO] Final Memory: 11M/30M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> > Any ideas?  Thanks.
> >
> > Enrique
> >
>



-- 
..........................................................
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
...........................................................

Re: Best way of changing project version

Posted by Kalle Korhonen <ka...@gmail.com>.
Is there a reason why you just don't set the versions of the child modules
in the dependencyManagement section of the parent pom?

Kalle

On 11/27/07, Enrique Gaona <eg...@us.ibm.com> wrote:
>
>
>
> Greets,
>
> I have a big maven project  that has about 300 pom files in
> it.  Currently,
> the <version> is hardcoded on all the pom.xml files and moving from one
> version to another is a PITA.   My question is, what's the best way of
> doing away with the hardcoded value and moving to a variable where it can
> be set in the parent pom.   Right now, I'm experimenting by setting
> version
> to <version>${build_version}</version>  and added in my parent pom
> <properties><build_version>2.2</build_version></properties>.      For the
> most part, this works fine, but  there are some sub-components in the
> project where ${build_version} is not getting expanded, which is quite
> annoying, to say the least.
>
> Here's a sample output where the variable is not getting expanded.
>
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] Building CSDPRoleMappingPortlet
> [INFO]    task-segment: [clean, antrun:run, install, rpm:rpm]
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/WebContent/WEB-INF/classes
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target/test-classes
> Downloading:
>
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpFtpRepository
> (
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository
> )
> Downloading:
>
> ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpFtpRepository
> (ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> Downloading:
>
> http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpRepository
> (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> Downloading:
>
> http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: com.ibm.csdp.prereq
> ArtifactId: com.ibm.csdp.prereq
> Version: ${csdp_version}
>
> Reason: Unable to download the artifact from any repository
>
>   com.ibm.csdp.prereq:com.ibm.csdp.prereq:pom:${csdp_version}
>
> from the specified remote repositories:
>   Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
>   central (http://repo1.maven.org/maven2),
>   csdpRepository
> (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository),
>   csdpFtpRepository
> (
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository
> )
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 21 seconds
> [INFO] Finished at: Tue Nov 27 12:36:55 CST 2007
> [INFO] Final Memory: 11M/30M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Any ideas?  Thanks.
>
> Enrique
>

Re: Best way of changing project version

Posted by Arnaud HERITIER <ah...@gmail.com>.
Can't you use the release plugin ? It will automatically update it for you
....

Arnaud

On Nov 27, 2007 7:41 PM, Enrique Gaona <eg...@us.ibm.com> wrote:

>
>
> Greets,
>
> I have a big maven project  that has about 300 pom files in it.
>  Currently,
> the <version> is hardcoded on all the pom.xml files and moving from one
> version to another is a PITA.   My question is, what's the best way of
> doing away with the hardcoded value and moving to a variable where it can
> be set in the parent pom.   Right now, I'm experimenting by setting
> version
> to <version>${build_version}</version>  and added in my parent pom
> <properties><build_version>2.2</build_version></properties>.      For the
> most part, this works fine, but  there are some sub-components in the
> project where ${build_version} is not getting expanded, which is quite
> annoying, to say the least.
>
> Here's a sample output where the variable is not getting expanded.
>
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] Building CSDPRoleMappingPortlet
> [INFO]    task-segment: [clean, antrun:run, install, rpm:rpm]
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/WebContent/WEB-INF/classes
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target/test-classes
> Downloading:
>
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom<ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/$%7Bcsdp_version%7D/com.ibm.csdp.prereq-$%7Bcsdp_version%7D.pom>
> [WARNING] Unable to get resource from repository csdpFtpRepository
> (
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository
> )
> Downloading:
>
> ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom<ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/$%7Bcsdp_version%7D/com.ibm.csdp.prereq-$%7Bcsdp_version%7D.pom>
> [WARNING] Unable to get resource from repository csdpFtpRepository
> (ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> Downloading:
>
> http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom<http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/$%7Bcsdp_version%7D/com.ibm.csdp.prereq-$%7Bcsdp_version%7D.pom>
> [WARNING] Unable to get resource from repository csdpRepository
> (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> Downloading:
>
> http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom<http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/$%7Bcsdp_version%7D/com.ibm.csdp.prereq-$%7Bcsdp_version%7D.pom>
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: com.ibm.csdp.prereq
> ArtifactId: com.ibm.csdp.prereq
> Version: ${csdp_version}
>
> Reason: Unable to download the artifact from any repository
>
>  com.ibm.csdp.prereq:com.ibm.csdp.prereq:pom:${csdp_version}
>
> from the specified remote repositories:
>  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
>  central (http://repo1.maven.org/maven2),
>  csdpRepository
> (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository),
>  csdpFtpRepository
> (
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository
> )
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 21 seconds
> [INFO] Finished at: Tue Nov 27 12:36:55 CST 2007
> [INFO] Final Memory: 11M/30M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Any ideas?  Thanks.
>
> Enrique
>



-- 
..........................................................
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
...........................................................

Re: Best way of changing project version

Posted by Nick Stolwijk <ni...@planet.nl>.
Best way of changing the project version is by not doing it (yourself).

Please have a look at the maven release plugin, which will make a tag in 
your scm and change the version number.

So for example, if your trunk is at version 0.1.0-SNAPSHOT.

When you run mvn release:prepare and mvn release:perform you have a tag 
of version 0.1.0, your 0.1.0 is deployed in your repository and your 
trunk is at 0.1.1-SNAPSHOT.

See [1] for the documentation,

Hth,

Nick Stolwijk

[1] http://maven.apache.org/plugins/maven-release-plugin/

Enrique Gaona wrote:
> Greets,
>
> I have a big maven project  that has about 300 pom files in it.  Currently,
> the <version> is hardcoded on all the pom.xml files and moving from one
> version to another is a PITA.   My question is, what's the best way of
> doing away with the hardcoded value and moving to a variable where it can
> be set in the parent pom.   Right now, I'm experimenting by setting version
> to <version>${build_version}</version>  and added in my parent pom
> <properties><build_version>2.2</build_version></properties>.      For the
> most part, this works fine, but  there are some sub-components in the
> project where ${build_version} is not getting expanded, which is quite
> annoying, to say the least.
>
> Here's a sample output where the variable is not getting expanded.
>
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building CSDPRoleMappingPortlet
> [INFO]    task-segment: [clean, antrun:run, install, rpm:rpm]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target
> [INFO] Deleting directory
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/WebContent/WEB-INF/classes
> [INFO] Deleting directory
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target/test-classes
> Downloading:
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpFtpRepository
> (ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> Downloading:
> ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpFtpRepository
> (ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> Downloading:
> http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpRepository
> (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> Downloading:
> http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: com.ibm.csdp.prereq
> ArtifactId: com.ibm.csdp.prereq
> Version: ${csdp_version}
>
> Reason: Unable to download the artifact from any repository
>
>   com.ibm.csdp.prereq:com.ibm.csdp.prereq:pom:${csdp_version}
>
> from the specified remote repositories:
>   Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
>   central (http://repo1.maven.org/maven2),
>   csdpRepository
> (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository),
>   csdpFtpRepository
> (ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 21 seconds
> [INFO] Finished at: Tue Nov 27 12:36:55 CST 2007
> [INFO] Final Memory: 11M/30M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Any ideas?  Thanks.
>
> Enrique
>
>   

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