jira-importer opened a new issue, #205:
URL: https://github.com/apache/maven-war-plugin/issues/205

   **[Laurent 
Dauvilaire](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ldauvilaire)**
 opened 
**[MWAR-35](https://issues.apache.org/jira/browse/MWAR-35?redirect=false)** and 
commented
   
   The package action fails when file name are too long.
   Note: the file creating the error can be created by hand.
   (echo yes > 
d:\Home\LDauvilaire\src\Repository\SVN\JHub\modules\display-webapp\modules\hub-internal\..\..\..\..\target\dev\3.0.20\hub-webapp-internal\hub-webapp-internal-3.0.20\fceditor\editor\dialog\fck_spellerpages\spellerpages\server-scripts\spellchecker.cfm)
   
   See stack trace below:
   
   [INFO] [war:war]
   [INFO] Exploding webapp...
   [INFO] Copy webapp resources to 
d:\Home\LDauvilaire\src\Repository\SVN\JHub\modules\display-webapp\modules\hub-internal\..\..\..\..\target\dev\3.0.20\hub-webapp-internal\hub-webapp-internal-3.0.20
   [INFO] 
------------------------------------------------------------------------
   [ERROR] BUILD ERROR
   [INFO] 
------------------------------------------------------------------------
   [INFO] Error assembling WAR
   
   Embedded error: Could not explode webapp...
   
d:\Home\LDauvilaire\src\Repository\SVN\JHub\modules\display-webapp\modules\hub-internal\..\..\..\..\target\dev\3.0.20\hub-webapp-internal\hub-webapp-internal-3.0.20\fceditor\editor\dialog\fck_spellerpages\spellerpages\server-scripts\spellchecker.cfm
 (The filename, directory name, or volume label syntax is incorrect)
   [INFO] 
------------------------------------------------------------------------
   [INFO] Trace
   org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling WAR
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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(DelegatingMethodAccessorImpl.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)
   Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling 
WAR
   at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:91)
   at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
   ... 16 more
   Caused by: org.apache.maven.plugin.MojoExecutionException: Could not explode 
webapp...
   at 
org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:202)
   at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:108)
   at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:86)
   ... 18 more
   Caused by: java.io.FileNotFoundException: 
d:\Home\LDauvilaire\src\Repository\SVN\JHub\modules\display-webapp\modules\hub-internal\..\..\..\..\target\dev\3.0.20\hub-webapp-internal\hub-webapp-internal-3.0.20\fceditor\editor\dialog\fck_spellerpages\spellerpages\server-scripts\spellchecker.cfm
 (The filename, directory name, or volume label syntax is incorrect)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.\<init>(FileOutputStream.java:179)
   at java.io.FileOutputStream.\<init>(FileOutputStream.java:131)
   at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:821)
   at 
org.apache.maven.plugin.war.AbstractWarMojo.copyResources(AbstractWarMojo.java:230)
   at 
org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:196)
   ... 20 more
   
   
   ---
   
   **Affects:** 2.0
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to