You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by CD...@hannaford.com on 2006/09/01 22:24:08 UTC
Re: [jira] Resolved: (PLUTO-191) Dynamic Inclusion of dependencies in Maven
Plugin
Hi Elliot,
I get a failure when running the pluto:install goal using Maven 2.0.4.
Here's the error message:
[INFO] Failed to resolve artifact.
GroupId: xerces
ArtifactId: xercesImpl
Version: 1.1.0-SNAPSHOT
Reason: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=xerces -DartifactId=xercesImpl \
-Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
xerces:xercesImpl:jar:1.1.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
It appears that this goal is not using the versions.properties file.
/Craig
"Elliot Metsger (JIRA)" <ji...@apache.org>
08/30/2006 08:59 PM
Please respond to
pluto-dev@portals.apache.org
To
pluto-dev@portals.apache.org
cc
Subject
[jira] Resolved: (PLUTO-191) Dynamic Inclusion of dependencies in Maven
Plugin
[ http://issues.apache.org/jira/browse/PLUTO-191?page=all ]
Elliot Metsger resolved PLUTO-191.
----------------------------------
Resolution: Fixed
Added maven-pluto-plugin/src/main/resources/versions.properties which is
interpolated during Maven's process-resources lifecycle phase. The
InstallationDependency class queries the versions.properties file to
determine the versions of the artifacts to install.
Committed r438736.
> Dynamic Inclusion of dependencies in Maven Plugin
> -------------------------------------------------
>
> Key: PLUTO-191
> URL: http://issues.apache.org/jira/browse/PLUTO-191
> Project: Pluto
> Issue Type: Bug
> Components: deployer
> Affects Versions: 1.1.0
> Reporter: David DeWolf
> Assigned To: Elliot Metsger
> Fix For: 1.1.0
>
>
> remove hard coded version in mojo. use configuration param - or even
better - current'y executing version.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] Resolved: (PLUTO-191) Dynamic Inclusion of dependencies in Maven
Plugin
Posted by CD...@hannaford.com.
Hi Elliot,
Thanks for the quick response. I did run mvn install from the root
directory. Apparently, the new maven plugin did not make it into my
repository. I will take another look at my configurations sometime this
weekend.
Thanks, again.
/Craig
Elliot Metsger <em...@jhu.edu>
09/01/2006 04:54 PM
Please respond to
pluto-dev@portals.apache.org
To
pluto-dev@portals.apache.org
cc
Subject
Re: [jira] Resolved: (PLUTO-191) Dynamic Inclusion of dependencies in
Maven Plugin
Craig,
If your working copy is up-to-date, I'm not sure how this is happening
(I can mvn pluto:install with no problem). It may be that you need to
run a 'mvn install' which will install the updated maven pluto plugin
into your local maven repository.
When I committed PLUTO-191 I did not deploy a new snapshot artifact to
the remote Maven repository, which may be the cause of this.
If re-installing the maven pluto plugin to your local repository doesn't
solve the problem, could you send me the following from your pluto trunk
working copy after running 'mvn install'
./pom.xml
./maven-pluto-plugin/target/classes/versions.properties (if it exists)
And then sending the output of 'mvn -X pluto:install
-DinstallDir=</path/to/tomcat>'
Sorry about the hassle,
Elliot
CDoremus@hannaford.com wrote:
>
> Hi Elliot,
>
> I get a failure when running the pluto:install goal using Maven 2.0.4.
> Here's the error message:
>
>
> [INFO] Failed to resolve artifact.
>
> GroupId: xerces
> ArtifactId: xercesImpl
> Version: 1.1.0-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=xerces -DartifactId=xercesImpl \
> -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>
> xerces:xercesImpl:jar:1.1.0-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
>
> It appears that this goal is not using the versions.properties file.
> /Craig
>
>
>
>
> *"Elliot Metsger (JIRA)" <ji...@apache.org>*
>
> 08/30/2006 08:59 PM
> Please respond to
> pluto-dev@portals.apache.org
>
>
>
> To
> pluto-dev@portals.apache.org
> cc
>
> Subject
> [jira] Resolved: (PLUTO-191) Dynamic Inclusion of
dependencies in Maven
> Plugin
>
>
>
>
>
>
>
>
> [ http://issues.apache.org/jira/browse/PLUTO-191?page=all ]
>
> Elliot Metsger resolved PLUTO-191.
> ----------------------------------
>
> Resolution: Fixed
>
> Added maven-pluto-plugin/src/main/resources/versions.properties which is
> interpolated during Maven's process-resources lifecycle phase. The
> InstallationDependency class queries the versions.properties file to
> determine the versions of the artifacts to install.
>
> Committed r438736.
>
> > Dynamic Inclusion of dependencies in Maven Plugin
> > -------------------------------------------------
> >
> > Key: PLUTO-191
> > URL: http://issues.apache.org/jira/browse/PLUTO-191
> > Project: Pluto
> > Issue Type: Bug
> > Components: deployer
> > Affects Versions: 1.1.0
> > Reporter: David DeWolf
> > Assigned To: Elliot Metsger
> > Fix For: 1.1.0
> >
> >
> > remove hard coded version in mojo. use configuration param - or even
> better - current'y executing version.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
http://www.atlassian.com/software/jira
>
>
>
Re: [jira] Resolved: (PLUTO-191) Dynamic Inclusion of dependencies
in Maven Plugin
Posted by Elliot Metsger <em...@jhu.edu>.
Craig,
If your working copy is up-to-date, I'm not sure how this is happening
(I can mvn pluto:install with no problem). It may be that you need to
run a 'mvn install' which will install the updated maven pluto plugin
into your local maven repository.
When I committed PLUTO-191 I did not deploy a new snapshot artifact to
the remote Maven repository, which may be the cause of this.
If re-installing the maven pluto plugin to your local repository doesn't
solve the problem, could you send me the following from your pluto trunk
working copy after running 'mvn install'
./pom.xml
./maven-pluto-plugin/target/classes/versions.properties (if it exists)
And then sending the output of 'mvn -X pluto:install
-DinstallDir=</path/to/tomcat>'
Sorry about the hassle,
Elliot
CDoremus@hannaford.com wrote:
>
> Hi Elliot,
>
> I get a failure when running the pluto:install goal using Maven 2.0.4.
> Here's the error message:
>
>
> [INFO] Failed to resolve artifact.
>
> GroupId: xerces
> ArtifactId: xercesImpl
> Version: 1.1.0-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=xerces -DartifactId=xercesImpl \
> -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>
> xerces:xercesImpl:jar:1.1.0-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
>
> It appears that this goal is not using the versions.properties file.
> /Craig
>
>
>
>
> *"Elliot Metsger (JIRA)" <ji...@apache.org>*
>
> 08/30/2006 08:59 PM
> Please respond to
> pluto-dev@portals.apache.org
>
>
>
> To
> pluto-dev@portals.apache.org
> cc
>
> Subject
> [jira] Resolved: (PLUTO-191) Dynamic Inclusion of dependencies in Maven
> Plugin
>
>
>
>
>
>
>
>
> [ http://issues.apache.org/jira/browse/PLUTO-191?page=all ]
>
> Elliot Metsger resolved PLUTO-191.
> ----------------------------------
>
> Resolution: Fixed
>
> Added maven-pluto-plugin/src/main/resources/versions.properties which is
> interpolated during Maven's process-resources lifecycle phase. The
> InstallationDependency class queries the versions.properties file to
> determine the versions of the artifacts to install.
>
> Committed r438736.
>
> > Dynamic Inclusion of dependencies in Maven Plugin
> > -------------------------------------------------
> >
> > Key: PLUTO-191
> > URL: http://issues.apache.org/jira/browse/PLUTO-191
> > Project: Pluto
> > Issue Type: Bug
> > Components: deployer
> > Affects Versions: 1.1.0
> > Reporter: David DeWolf
> > Assigned To: Elliot Metsger
> > Fix For: 1.1.0
> >
> >
> > remove hard coded version in mojo. use configuration param - or even
> better - current'y executing version.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
Re: [jira] Resolved: (PLUTO-191) Dynamic Inclusion of dependencies
in Maven Plugin
Posted by Elliot Metsger <em...@jhu.edu>.
Ugh. Sorry about that. I'll take a look straight away.
CDoremus@hannaford.com wrote:
>
> Hi Elliot,
>
> I get a failure when running the pluto:install goal using Maven 2.0.4.
> Here's the error message:
>
>
> [INFO] Failed to resolve artifact.
>
> GroupId: xerces
> ArtifactId: xercesImpl
> Version: 1.1.0-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=xerces -DartifactId=xercesImpl \
> -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>
> xerces:xercesImpl:jar:1.1.0-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
>
> It appears that this goal is not using the versions.properties file.
> /Craig
>
>
>
>
> *"Elliot Metsger (JIRA)" <ji...@apache.org>*
>
> 08/30/2006 08:59 PM
> Please respond to
> pluto-dev@portals.apache.org
>
>
>
> To
> pluto-dev@portals.apache.org
> cc
>
> Subject
> [jira] Resolved: (PLUTO-191) Dynamic Inclusion of dependencies in Maven
> Plugin
>
>
>
>
>
>
>
>
> [ http://issues.apache.org/jira/browse/PLUTO-191?page=all ]
>
> Elliot Metsger resolved PLUTO-191.
> ----------------------------------
>
> Resolution: Fixed
>
> Added maven-pluto-plugin/src/main/resources/versions.properties which is
> interpolated during Maven's process-resources lifecycle phase. The
> InstallationDependency class queries the versions.properties file to
> determine the versions of the artifacts to install.
>
> Committed r438736.
>
> > Dynamic Inclusion of dependencies in Maven Plugin
> > -------------------------------------------------
> >
> > Key: PLUTO-191
> > URL: http://issues.apache.org/jira/browse/PLUTO-191
> > Project: Pluto
> > Issue Type: Bug
> > Components: deployer
> > Affects Versions: 1.1.0
> > Reporter: David DeWolf
> > Assigned To: Elliot Metsger
> > Fix For: 1.1.0
> >
> >
> > remove hard coded version in mojo. use configuration param - or even
> better - current'y executing version.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>