[jira] Commented: (MNG-3024) Missing artifact error text improvement
[ http://jira.codehaus.org/browse/MNG-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108971 ] Oleksandr Maksymchuk commented on MNG-3024: --- I also support putting command into one line as for Windows users '\' need to be stripped manually. 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
[jira] Commented: (MNG-3024) Missing artifact error text improvement
[ http://jira.codehaus.org/browse/MNG-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108580 ] Mauro Talevi commented on MNG-3024: --- Fixed format to appear as follows - also added unit test for it. Missing artifact Try downloading the file manually from: http://somewhere.com/download Then, install it using the command: mvn install:install-file -DgroupId=aGroupId -DartifactId=anArtifactId \ -Dversion=aVersion -Dclassifier=aClassifier -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=aGroupId -DartifactId=anArtifactId \ -Dversion=aVersion -Dclassifier=aClassifier -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) dependency1 2) dependency2 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
[jira] Commented: (MNG-3024) Missing artifact error text improvement
[ http://jira.codehaus.org/browse/MNG-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108582 ] Mauro Talevi commented on MNG-3024: --- I'll postpone merging to 2.1 trunk until this issue is closed on 2.0.x branch. Please confirm that the fix addresses the formatting issues. IMO - we could also remove the '\ ' and have the install/deploy commands appear in a single line. Most command line terminal handle quite well the long line wrapping. 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