This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | JAXB wizard in Maven doesn't do anything | ||
---|---|---|---|
Product: | xml | Reporter: | terje7601 |
Component: | JAXB | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | normal | CC: | cristallo, dstrupl, jmkgreen, markiewb, mkuchtiak, sdedic |
Priority: | P2 | Keywords: | PLAN |
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
terje7601
2011-07-01 10:47:33 UTC
*** Bug 209574 has been marked as a duplicate of this bug. *** Please consider to support classpath/endorsed in maven - is that possible ? Maven projects _do_ support an endorsed classpath. See bug #185139 for example. target/endorsed/*.jar are checked (and mapped to repo JARs when possible). These JARs are normally copied there by the dependency plugin, as in the web app archetype for EE 6. Please provide proper justification for upgrading the priority. Changing P3 > P1 without but a word of explanation is not much productive. Adding 'plan' keyword, so it gets planned properly. The support for maven + jaxb is half-made in Maven JAX-WS module, whose primary focus is JEE project. The schema generator for maven is implemented there. JAXB schema nodes implementation is tied to ANT projects. Proper support should probably include these steps: * take the schema JAXB maven generator support from maven jax-ws into a separate module, not depending on JEE * create a SPI to locate (or manage) schemas can be located in both ANT and Maven projects * refactor the existing ant implementation to implement the SPI * implement new maven supporting code which implements the SPI and reads / alters pom.xml Note if you install Jax-WS support in 7.2(3), then jaxb wizard WILL alter the pom.xml file, adding the jaxb plugin execution into generate goal, and maven build will generate the proper classes. But project view will not show the appropriate nodes. *** Bug 251151 has been marked as a duplicate of this bug. *** Milane - what are your ideas/recommendations ? |