You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/01/07 11:50:39 UTC

[jira] Commented: (MPECLIPSE-15) Plugin fails, if cactus plugin is not present

The following comment has been added to this issue:

     Author: Joerg Schaible
    Created: Wed, 7 Jan 2004 4:48 AM
       Body:
Hi Vincent,

running with Maven 1.0-SNAPSHOT I stall have an exceotion although the .classpath and .project is generated properly:

========= snip ==========

[1] jos@JOS ~/Elsag/research/validation
$ maven eclipse
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2-SNAPSHOT

You are working offline so the build will continue, but maven-junit-report-plugin-1.4-SNAPSHOT.jar may be out of date!
Tag library requested that is not present: 'cactus' in plugin: 'maven-eclipse-plugin-1.6-SNAPSHOT'
Tag library requested that is not present: 'dist' in plugin: 'maven-nsis-plugin-1.0-SNAPSHOT'
<test:dependency-handle></test:dependency-handle><cactus:dependency-handle></cactus:dependency-handle><java:dependency-handle></java:dependency-handle><test:dependency-handle></test:dependency-handle>>eclipse:generate-project:
    [echo] Creating C:\Work\research\validation/.project ...

eclipse:generate-classpath:
    [echo] Creating C:\Work\research\validation/.classpath ...
error
org.apache.maven.plugin.UnknownPluginException: Unknown plugin "cactus-maven"
        at org.apache.maven.plugin.PluginManager.getPluginProject(PluginManager.java:812)
        at org.apache.maven.project.Project.getPluginContext(Project.java:371)
        at org.apache.maven.jelly.tags.maven.PluginVarTag.doTag(PluginVarTag.java:96)
        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.impl.StaticTag.doTag(StaticTag.java:111)
        at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
        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.WhitespaceTag.doTag(WhitespaceTag.java:93)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:634)
        at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:595)
        at org.apache.commons.jelly.tags.core.ImportTag.doTag(ImportTag.java:128)
        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.FileTag.writeBody(FileTag.java:207)
        at org.apache.commons.jelly.tags.core.FileTag.doTag(FileTag.java:103)
        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 com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
        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 org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:660)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:275)
        at org.apache.maven.cli.App.doMain(App.java:543)
        at org.apache.maven.cli.App.main(App.java:1116)
        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)
    [echo] Setting default output directory to target\classes

eclipse:
    [echo] Now refresh your project in Eclipse (right click on the project and select "Refresh")
BUILD SUCCESSFUL
Total time: 13 seconds


========= snap ==========

Regards,
Jörg

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPECLIPSE-15


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPECLIPSE-15
    Summary: Plugin fails, if cactus plugin is not present
       Type: Bug

     Status: Closed
   Priority: Blocker
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-eclipse-plugin
   Fix Fors:
             1.6

   Assignee: Vincent Massol
   Reporter: Joerg Schaible

    Created: Fri, 19 Dec 2003 8:15 AM
    Updated: Wed, 7 Jan 2004 4:48 AM
Environment: Maven 1.0-branch, no cactus-plugin, CVS version of eclipse-plugin

Description:
eclipse:generate-classpath stops with an exception, if the cactus-plugin is not present. Using Maven 1.0 RC1, the exception does not occur, but the generated .classpath has an invalid entry.

========== snip ==========
$ maven eclipse:generate-classpath
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2-SNAPSHOT

You are working offline so the build will continue, but maven-junit-report-plugin-1.4-SNAPSHOT.jar may be out of date!
Tag library requested that is not present: 'http://xmlns.oracle.com/jdeveloper/903/jproject'
Tag library requested that is not present: 'release'
Tag library requested that is not present: 'cactus'
Tag library requested that is not present: 'dashboard'
Tag library requested that is not present: 'dist'
    [echo] Creating C:\Work\research\validation/.classpath ...
error
org.apache.maven.plugin.UnknownPluginException: Unknown plugin "maven-cactus-plugin"
        at org.apache.maven.plugin.PluginManager.getPluginProject(PluginManager.java:835)
        at org.apache.maven.project.Project.getPluginContext(Project.java:369)
        at org.apache.maven.jelly.tags.maven.PluginVarTag.doTag(PluginVarTag.java:96)
========== snap ==========



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org