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

Passing XJC plugins does not work at all #131

Open
glassfishrobot opened this issue Jul 29, 2014 · 2 comments
Open

Passing XJC plugins does not work at all #131

glassfishrobot opened this issue Jul 29, 2014 · 2 comments

Comments

@glassfishrobot
Copy link
Contributor

According to this one can simply declare a dependency to a XJC plugin and pass the xjcArg and that's it.

This is simply pointless and does not work. This plugin spawns a shell and passes all necessary stuff. The dependency is never used. One must add -B-classpah and PATH TO ALL JARS -B-Xinheritance.

It ends with this:

<xjcArg>-classpath</xjcArg>

						<xjcArg>${settings.localRepository}/org/jvnet/jaxb2_commons/jaxb2-basics/0.6.5/jaxb2-basics-0.6.5.jar;${settings.localRepository}/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.6.5/jaxb2-basics-tools-0.6.5.jar;;${settings.localRepository}/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.6.5/jaxb2-basics-runtime-0.6.5.jar;D:\mvn-repository\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;${settings.localRepository}/commons-lang/commons-lang/2.4/commons-lang-2.4.jar</xjcArg>
						<xjcArg>-Xinheritance</xjcArg>

This works with -Xcommons-lang but not for plugins with a custom namespace in the bindings file. Though, this is a different (wsimport) issue.

Affected Versions

[2.3]

@glassfishrobot
Copy link
Contributor Author

Reported by michael-o

@glassfishrobot
Copy link
Contributor Author

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

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