Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.7
-
None
-
None
-
MacOs X 10.4, JDK 1.5.0_02, Maven 1.1-beta-1
Description
If I try to run maven on integration/maven using maven 1.1, I get the following error:
felipeal@disco-stu.local]/Users/felipeal/cvs/cactus/felipeal/HEAD/integration/maven: maven
__ __
\/ | __ Apache_ ___ | |||||
\/ | / ` \ V / -) ' \ ~ intelligent projects ~ | |||||
_ | _,_ | _/___ | _ | _ | v. 1.1-beta-1 |
---|
DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
build:start:
cactus-build:jar:
multiproject:projects-init:
BUILD FAILED
File...... /Users/felipeal/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly
Element... ant:echo
Line...... 54
Column.... 17
java.lang.reflect.InvocationTargetException
Total time : 9 seconds
Finished at : Tuesday, July 12, 2005 9:16:43 PM BRT
Runnin with -X, it turns out to be a StackOverflowException, probably caused by incompatibility between Jelly libraries (i.e., incompatibility between Maven 1.1, Cactus and/or maven-multiproject-plugin dependencies):
BUILD FAILED
File...... /Users/felipeal/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly
Element... ant:echo
Line...... 54
Column.... 17
java.lang.reflect.InvocationTargetException
org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [cactus-build:jar] – /Users/felipeal/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly:54:17: <ant:echo> null
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.commons.jelly.JellyTagException: /Users/felipeal/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly:54:17: <ant:echo> null
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:178)
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.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
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.Goal.attainPrecursors(Goal.java:505)
at org.apache.maven.werkz.Goal.attain(Goal.java:590)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.reflect.InvocationTargetException
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:585)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:172)
... 30 more
Caused by: java.lang.StackOverflowError
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:190)
at org.apache.commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
at org.apache.commons.jexl.parser.ASTIdentifier.value(ASTIdentifier.java:53)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:61)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:86)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:200)
at org.apache.commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:74)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:86)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
...
...
Anyway, it's not something we need to worry right now (as we can simply build the plugin using Maven 1.0.2), but we better keep an eye on this issue and try to fix it by the Cactus 1.8/Maven 1.1 timeframe.
– Felipe