whummer / jaxb-facets

Support for extended XSD features in JAXB: facets (restrictions on simple types), annotations, asserts, ...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Classes in jaxb-api-2.2.7.jar should be included in the jaxb-api-2.2.7-facets-1.0.2.jar.

ageorgousakis opened this issue · comments

The jaxb-api classes are not extracted in target/classes and the jar file with the facets extension does not include the other jaxb-api classes.

This causes a problem especially when you want to use this library with Maven on Java 1.6. If you want maven to use the newest jaxb-api jar file and copy the file in an endorsed directory this will not work because Maven complains you specify as dependencies the same groupId and artifactId with twice with different versions.

Also, because jaxb-api.jar is the MANIFEST.MF file of jaxb-impl it needs to be renamed as jaxb-api.jar. This cannot be achieved if you have to add both versions in the endorsed directory.

Hi,

I have created a branch which merges in some changes from my repo for this purpose. I will leave with whummer to review before it's merged into the main repo.

https://github.com/whummer/jaxb-facets/tree/pellcorp-28jun

@ageorgousakis Please review the changes and close the issue if resolved.

The issue was resolved