maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud Heritier (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MPMULTIPROJECT-59) Multiproject plugin problem in Maven 1.1-betaX
Date Sat, 15 Apr 2006 08:56:48 GMT
    [ http://jira.codehaus.org/browse/MPMULTIPROJECT-59?page=comments#action_63600 ] 

Arnaud Heritier commented on MPMULTIPROJECT-59:
-----------------------------------------------

I don't reproduce this error. It was certainly related to MPARTIFACT-51
FYI, to use the multiproject:install goal you have to set the property 'maven.multiproject.type'
as explained in the doco :
http://maven.apache.org/maven-1.x/plugins/multiproject/properties.html
The default goal isn't used (actually) for this task.

> Multiproject plugin problem in Maven 1.1-betaX
> ----------------------------------------------
>
>          Key: MPMULTIPROJECT-59
>          URL: http://jira.codehaus.org/browse/MPMULTIPROJECT-59
>      Project: maven-multiproject-plugin
>         Type: Bug

>  Environment: Win2000 Professional SP3
> Maven 1.1-beta1 and Maven1.1-beta2
> java version "1.4.1"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
> Classic VM (build 1.4.1, J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT enabled:
jitc))
>     Reporter: Oddmar Sandvik
>      Fix For: 1.5
>  Attachments: project_root.xml, project_sub1.xml, project_sub2.xml
>
>
> A multiproject that works fine in Maven 1.02 fails in 1.1-betaX.
> The first project always runs fine.  The second project seems to fail after uploading
the jar to the repository.  Even if I switch the order of the projects or remove some of them,
the second seems to fail always.
> >maven multiproject:install
> >Unable to obtain goal [multiproject:install-callback] -- C:\Documents and Settings\AB36632\.maven\cache\maven-artifact-plugin-1.6\plugin.jelly:73:9:
<artifact:artifact-install> Error getting the project as a string
> See the stack trace below.  If I go to the subproject in question and run maven, it works
fine. (Default goal is set in project.xml).
> One item to note is that the <defaultGoal> is different in different projects,
i.e. jar:install and ejb:install.
> As is, this is a complete showstopper for Maven 1.1-betaX.
> Stack trace:
> org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [multiproject:install]
-- C:\Documents and Settings\AB36632\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jelly:218:9:
<maven:reactor> Reactor subproject failure occurred
>         at org.apache.maven.werkz.Goal.fire(Goal.java:663)
>         at org.apache.maven.werkz.Goal.attain(Goal.java:592)
>         at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
>         at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
>         at org.apache.maven.cli.App.doMain(App.java:511)
>         at org.apache.maven.cli.App.main(App.java:1258)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
>         at java.lang.reflect.Method.invoke(Method.java:386)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> org.apache.commons.jelly.JellyTagException: C:\Documents and Settings\AB36632\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jelly:218:9:
<maven:reactor> Reactor subproject failure occurred
>         at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:378)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
>         at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
>         at org.apache.maven.werkz.Goal.fire(Goal.java:656)
>         at org.apache.maven.werkz.Goal.attain(Goal.java:592)
>         at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210)
>         at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:114)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
>         at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
>         at org.apache.maven.werkz.Goal.fire(Goal.java:656)
>         at org.apache.maven.werkz.Goal.attain(Goal.java:592)
>         at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
>         at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
>         at org.apache.maven.cli.App.doMain(App.java:511)
>         at org.apache.maven.cli.App.main(App.java:1258)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
>         at java.lang.reflect.Method.invoke(Method.java:386)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caused by: org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [multiproject:install-callback]
-- C:\Documents and Settings\AB36632\.maven\cache\maven-artifact-plugin-1.6\plugin.jelly:73:9:
<artifact:artifact-install> Error getting the project as a string
>         at org.apache.maven.werkz.Goal.fire(Goal.java:663)
>         at org.apache.maven.werkz.Goal.attain(Goal.java:592)
>         at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
>         at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
>         at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:368)
>         ... 24 more
> Root cause
> org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [multiproject:install-callback]
-- C:\Documents and Settings\AB36632\.maven\cache\maven-artifact-plugin-1.6\plugin.jelly:73:9:
<artifact:artifact-install> Error getting the project as a string
>         at org.apache.maven.werkz.Goal.fire(Goal.java:663)
>         at org.apache.maven.werkz.Goal.attain(Goal.java:592)
>         at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
>         at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
>         at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:368)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
>         at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
>         at org.apache.maven.werkz.Goal.fire(Goal.java:656)
>         at org.apache.maven.werkz.Goal.attain(Goal.java:592)
>         at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210)
>         at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:114)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>         at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
>         at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
>         at org.apache.maven.werkz.Goal.fire(Goal.java:656)
>         at org.apache.maven.werkz.Goal.attain(Goal.java:592)
>         at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
>         at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
>         at org.apache.maven.cli.App.doMain(App.java:511)
>         at org.apache.maven.cli.App.main(App.java:1258)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
>         at java.lang.reflect.Method.invoke(Method.java:386)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)

-- 
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


Mime
View raw message