Hi,
I have had no luck with resolving this issue. There are a number of
weblogs around that suggest changing the version of maven etc but I
tried this with no luck. It has the same problem under 1.0-rc3 and
1.0.1. Any Maven Developers monitoring this list. If so, any idea what
might be wrong. It's a pretty strange bug as this used to work before. I
am running with ant 1.6.2 and also tried it with ant 1.6.5.
Thanks,
Richie.
-----Original Message-----
From: Walsh, Richard (Richard)
Sent: 11 August 2005 10:22
To: 'Maven Users List'
Subject: RE: InvocationTargetException on echo & ant:echo in maven.xml
When I do a maven -e I get the following. The line that is causing this
is in the maven.xml and is:
<echo
message="maven.junit.sysproperties=${maven.junit.sysproperties}"/>
ERROR :
C:\maven\dsapi-mx\Dub_MX_Dsapi\sourcecode>maven -e __ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
BUILD FAILED
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:170)
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.j
ava:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAc
tion(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671
)
at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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)
Caused by: java.lang.StackOverflowError
File...... C:\maven\dsapi-mx\Dub_MX_Dsapi\sourcecode\maven.xml
Element... echo
Line...... 6
Column.... 76
java.lang.reflect.InvocationTargetException
Total time: 5 seconds
Finished at: Thu Aug 11 10:12:58 BST 2005
-----Original Message-----
From: Walsh, Richard (Richard)
Sent: 11 August 2005 09:53
To: [email protected]
Subject: InvocationTargetException on echo & ant:echo in maven.xml
Hi,
I have the following problem with my maven.xml file, it gives the
following error. I am using maven 1.0.2. It also happens with 1.0-rc3.
Anyone any ideas,
Thanks,
Richie.
C:\maven\dsapi-mx\Dub_MX_Dsapi\sourcecode>maven
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Plugin cache will be regenerated
BUILD FAILED
File...... C:\maven\dsapi-mx\Dub_MX_Dsapi\sourcecode\maven.xml
Element... echo
Line...... 6
Column.... 76
java.lang.reflect.InvocationTargetException
Total time: 20 seconds
Finished at: Thu Aug 11 09:27:27 BST 2005
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]