Can anyone explain this one?  This is happening on one machine with
one project.  'mvn idea:idea' works for other projects on this
machine.  And it works for this project on other machines.

Is there anything else I can try to get more information?

svn co http://svn.apache.org/repos/asf/struts/action/trunk action
cd action
mvn idea:idea -e

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Struts Action
[INFO]   Struts Action - Core
[INFO]   Struts Action - Taglib
[INFO]   Struts Action - Apps
[INFO]   Struts Action - Apps - Cookbook
[INFO]   Struts Action - Tiles
[INFO]   Struts Action - Faces
[INFO]   Struts Action - Apps - Faces Example 1
[INFO]   Struts Action - Apps - Faces Example 2
[INFO]   Struts Action - Extras
[INFO]   Struts Action - Apps - Examples
[INFO]   Struts Action - Apps - Blank
[INFO]   Struts Action - Mailreader DAO
[INFO]   Struts Action - Apps - Mailreader
[INFO]   Struts Action - EL
[INFO]   Struts Action - Apps - Struts EL Exercise
[INFO]   Struts Action - Scripting
[INFO]   Struts Action - Apps - Scripting Mailreader
[INFO]   Struts Action - Assembly
[INFO]   Struts Action - Integration Tests
[INFO]   Struts Action - Integration - Apps Tests
[INFO] Searching repository for plugin with prefix: 'idea'.
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Struts Action
[INFO]    task-segment: [idea:idea]
[INFO] -------------------------------------------------------------------------
---
[INFO] Preparing idea:idea
[INFO] No goals needed for project - skipping
[INFO] [idea:idea]
[INFO] jdkName is not set, using [java version1.5.0_06] as default.
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Struts Action - Core
[INFO]    task-segment: [idea:idea]
[INFO] -------------------------------------------------------------------------
---
[INFO] Preparing idea:idea
[INFO] No goals needed for project - skipping
[INFO] [idea:idea]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] String index out of range: -1
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
       at java.lang.String.substring(String.java:1768)
       at java.lang.String.substring(String.java:1735)
       at org.apache.maven.plugin.idea.AbstractIdeaMojo.toRelative(AbstractIdea
Mojo.java:217)
       at org.apache.maven.plugin.idea.IdeaModuleMojo.getModuleFileUrl(IdeaModu
leMojo.java:795)
       at org.apache.maven.plugin.idea.IdeaModuleMojo.getModuleFileUrl(IdeaModu
leMojo.java:800)
       at org.apache.maven.plugin.idea.IdeaModuleMojo.addSourceFolder(IdeaModul
eMojo.java:815)
       at org.apache.maven.plugin.idea.IdeaModuleMojo.rewriteModule(IdeaModuleM
ojo.java:287)
       at org.apache.maven.plugin.idea.IdeaMojo.rewriteModule(IdeaMojo.java:205
)
       at org.apache.maven.plugin.idea.IdeaMojo.execute(IdeaMojo.java:185)
       at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:458)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Jun 21 09:51:18 GMT-07:00 2006
[INFO] Final Memory: 4M/7M
[INFO] ------------------------------------------------------------------------

Thanks,
--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to