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)" <[EMAIL PROTECTED]>

08/30/2006 08:59 PM

Please respond to
[email protected]

To
[email protected]
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

       

Reply via email to