[fedora-java] GlassFish JAXB and rebundling

Stanislav Ochotnicky sochotnicky at redhat.com
Mon Feb 20 13:00:02 UTC 2012


Quoting Orion Poplawski (2012-02-19 00:46:20)
>On 02/18/2012 01:02 PM, Juan Hernandez wrote:
>> Hello,
>>
>> I am currently trying to cleanup the GlassFish JAXB package and I found
>> something that would like to discuss with you. The build process of this
>> package ends by adding to the jaxb-xjc.jar file the contents of other
>> jar files like codemodel.jar, istack-commons-tools.jar, etc. In Fedora
>> those jars are in other packages. I think that this is not correct:
>> whoever wants to use jaxb-xjc.jar should instead add to the classpath
>> the other .jar files. What do you think?
>
>Correct.  They should not be added to the jaxb-xjc.jar.

However these dependencies should be added in the installed pom file(s)
so that they are added to classpath automatically during maven builds of other
packages.


-- 
Stanislav Ochotnicky <sochotnicky at redhat.com>
Software Engineer - Base Operating Systems Brno

PGP: 7B087241
Red Hat Inc.                               http://cz.redhat.com


More information about the java-devel mailing list