jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x Plugin Plugin
  • MPPLUGIN-13

plugin:download-artifact doesn't work any more

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3
  • Fix Version/s: 1.3
  • Labels:
    None
  • Environment:
    linux ,1.0 maven rc2

Description

download of plugins does not work any more

example:
maven -e -X -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/maven,http://www.ibiblio.org/maven -DartifactId=maven-sdocbook-plugin -DgroupId=maven-plugins -Dversion=1.3 plugin:download

fails but the file exists

possible reason (classloader?):
Could not load class: org.apache.maven.util.HttpUtils. Reason: java.lang.reflect.InvocationTargetException
BUILD FAILED
Unable to find plug-in
at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:104)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:117)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:143)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:565)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:304)
at org.apache.maven.cli.App.doMain(App.java:490)
at org.apache.maven.cli.App.main(App.java:1141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
File...... file:/home/keesj/.maven/plugins/maven-plugin-plugin-1.3-SNAPSHOT/plugin.jelly
Element... ant:fail
Line...... 230
Column.... 52
Unable to find plug-in
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [plugin:download-artifact] – file:/home/keesj/
.maven/plugins/maven-plugin-plugin-1.3-SNAPSHOT/plugin.jelly:230:52: <ant:fail> Unable to find plug-in
at com.werken.werkz.Goal.fire(Goal.java:646)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:565)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:304)
at org.apache.maven.cli.App.doMain(App.java:490)
at org.apache.maven.cli.App.main(App.java:1141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.commons.jelly.JellyTagException: file:/home/keesj/.maven/plugins/maven-plug

Issue Links

is depended upon by

Task - A task that needs to be done. MAVEN-1166 plugin issues to fix by RC2

  • Blocker - Blocks development and/or testing work, production could not run
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Kees Jongenburger added a comment - 16/Mar/04 2:01 PM

after some more research. I think it has to do with the destination directory. If the destination does not exist the download fails

Show
Kees Jongenburger added a comment - 16/Mar/04 2:01 PM after some more research. I think it has to do with the destination directory. If the destination does not exist the download fails

People

  • Assignee:
    Unassigned
    Reporter:
    Kees Jongenburger
Vote (0)
Watch (0)

Dates

  • Created:
    16/Mar/04 7:00 AM
    Updated:
    18/Mar/04 1:02 AM
    Resolved:
    18/Mar/04 1:02 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.