Closed glassfishrobot closed 14 years ago
Reported by skaplon
lexi said: You can use Inheritance plugin from JAXB2 Basics:
http://confluence.highsource.org/display/J2B/Inheritance+plugin
skaplon said: I'm a bit confused, looking for the tree on the left of that page it seems to point to this same project and the same repository. Do you have an example of that working with maven?
lexi said: I'm not sure which "same project and same repository" you mean.
JAXB2 Basics is distributed via the dev.java.net Maven2 repository. http://confluence.highsource.org/display/J2B/Maven+Repository Here's a direct link: http://download.java.net/maven/2/org/jvnet/jaxb2_commons/jaxb2-basics/0.5.2/
Here's a test project in SVN: https://jaxb2-commons-svn.dev.java.net/svn/jaxb2-commons-svn/trunk/basics/tests/issues/
Here's a sample project for Maven: http://download.java.net/maven/2/org/jvnet/jaxb2_commons/jaxb2-basics-sample-basic/0.5.2/jaxb2-basics-sample-basic-0.5.2-maven-src.zip (This project enables the Inhertiance plugin, but does not use it effectively.)
skaplon said: My fault, I read inheritance as interface and thought was another plugin for the same thing, sorry for the noise. I will give a try since it can also help with my goal, I mainly want a common ground for a choice node which was once available in JAXB as a option and got removed in 2.1/2.2.
lexi said: Probably not a bug.
Was assigned to lexi
This issue was imported from java.net JIRA JAXB2_COMMONS-23
Marked as cannot reproduce on Saturday, July 17th 2010, 11:06:55 pm
Upload interface insertion plugin to a Maven repository, right now the maven support for that plugin needs a manual setup of the jar in the local repository. Its a pain to do so when there is many developers on the same project
Environment
Operating System: All Platform: All
Affected Versions
[0.3]