Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Problem with jaxws-maven-plugin on Windows XP #126

Open
glassfishrobot opened this issue Mar 10, 2014 · 2 comments
Open

Problem with jaxws-maven-plugin on Windows XP #126

glassfishrobot opened this issue Mar 10, 2014 · 2 comments

Comments

@glassfishrobot
Copy link
Contributor

Hello,

We encounter a problem when using the plugin org.jvnet.jax-ws-commons: JAXWS-maven-plugin: 2.3
under Windows XP;

Below maven error logs:

...
[INFO] --- jaxws-maven-plugin:2.3:wsgen (default) @ interface-ws228 ---
[INFO] Processing: fr.appli.service.MonService
[WARNING] Using platform encoding (Cp1252), build is platform dependent!
[INFO] jaxws:wsgen args: [-keep, -s, P:\dev-env\workspaces\ws-jaxws\tickets\pb_jdk7_jaxws\InterfaceWS228\target\generated-sources\wsgen, -d, P:\dev-env\workspaces\ws-jaxws\tickets\pb_jdk7_jaxws\InterfaceWS228\target\classes, -verbose, -wsdl, -r, P:\dev-env\workspaces\ws-jaxws\tickets\pb_jdk7_jaxws\InterfaceWS228\target\generated-sources\wsdl, fr.appli.service.MonService]
[WARNING] Length of the command is limitted to 8191 characters but it has 8647 characters.
[WARNING] cmd.exe /X /C "C:\java\jdk1.7.0_21\jre\bin\java.exe -Xbootclasspath/p:C
...
\rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr\eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee\com\sun\org\apache\xml\internal\resolver\20050927\resolver-20050927.jar -keep -s P:\dev-env\workspaces\ws-jaxws\tickets\pb_jdk7_jaxws\InterfaceWS228\target\generated-sources\wsgen -d P:\dev-env\workspaces\ws-jaxws\tickets\pb_jdk7_jaxws\InterfaceWS228\target\classes -verbose -wsdl -r P:\dgfip\dev-env\workspaces\ws-jaxws\tickets\pb_jdk7_jaxws\InterfaceWS228\target\generated-sources\wsdl fr.appli.service.MonService"
La ligne entrée est trop longue.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.791s
[INFO] Finished at: Wed Mar 05 13:55:12 CET 2014
[INFO] Final Memory: 11M/28M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsgen (default) on project interface-ws228: Mojo failed - check output -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsgen (default) on project interface-ws228: Mojo failed - check output
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
...

This error occurs on Windows XP if the size of the command line generated by the plugin exceed 8191 characters.

Is there a solution (other than local maven repository move to the root file system) to avoid this problem?

mvn -v

Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: C:\maven\apache-maven-3.0.4-DGFiP
Java version: 1.7.0_21, vendor: Oracle Corporation
Java home: C:\java\jdk1.7.0_21\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"

Environment

windows XP

Affected Versions

[2.3]

@glassfishrobot
Copy link
Contributor Author

Reported by mmedjahed

@glassfishrobot
Copy link
Contributor Author

This issue was imported from java.net JIRA JAX_WS_COMMONS-126

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants