[
http://jira.codehaus.org/browse/MNG-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Fox closed MNG-3024.
--------------------------
Resolution: Fixed
put it on one line
> Missing artifact error text improvement
> ---------------------------------------
>
> Key: MNG-3024
> URL: http://jira.codehaus.org/browse/MNG-3024
> Project: Maven 2
> Issue Type: Improvement
> Components: Artifacts and Repositories
> Affects Versions: 2.0.6
> Reporter: Patrick Lightbody
> Assignee: Jason van Zyl
> Priority: Minor
> Fix For: 2.0.8
>
> Attachments: screenshot-1.jpg
>
>
> I love how when an artifact can't be found, a nice error explains how to
> install it locally. This is a great technique for onboarding new maven users
> who might otherwise be frustrated, thinking that they can't use things no in
> the public repo. Kudos to whoever did this initial work.
> Now I suggest you take it a step further by including instructions for
> deploying the file to a personal repo. For example:
> Caused by: Missing:
> ----------
> 1) j2ssh:j2ssh-core:jar:0.2.9
> Try downloading the file manually from the project website.
> Then, install it using the command:
> mvn install:install-file -DgroupId=j2ssh -DartifactId=j2ssh-core \
> -Dversion=0.2.9 -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=j2ssh -DartifactId=j2ssh-core \
> -Dversion=0.2.9 -Dpackaging=jar -Dfile=/path/to/file
> -Durl=... -DrepositoryId=...
> Path to dependency:
> 1) com.hostedqa:hostedqa-anywhere-server:jar:1.7.4-SNAPSHOT
> 2) j2ssh:j2ssh-core:jar:0.2.9
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira