dev@glassfish.java.net

[Fwd: Re: Pls review pom.xml]

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Mon, 24 Aug 2009 10:17:46 -0700

attached mail follows:



Hi Bhakti,

Is webservices/jsr109-impl referencing packages in rt.jar/classes.jar?
When I remove rt.jar from bootclasspath, the module built successfully.
If it's not needed, perhaps remove rt.jar instead of adding classes.jar?

Thanks,
Jane


Bhakti Mehta wrote:
> Jane,
> I read your feedback to Hong and would request to add this to the
> pom.xml so that Classes.jar is found in bootclasspath
> Please can you approve
>
> Thanks,
> Bhakti
> ===================================================================
> --- pom.xml (revision 30728)
> +++ pom.xml (working copy)
> @@ -86,7 +86,7 @@
> <artifactId>hk2-maven-plugin</artifactId>
> <configuration>
> <compilerArguments>
> -
> <bootclasspath>${project.build.directory}/endorsed/webservices-api-osgi-${webservices.version}.jar${path.separator}${project.build.directory}/endorsed/jaxb-api-osgi-${jaxb.version}.jar${path.separator}${java.home}/lib/rt.jar</bootclasspath>
>
> +
> <bootclasspath>${project.build.directory}/endorsed/webservices-api-osgi-${webservices.version}.jar${path.separator}${project.build.directory}/endorsed/jaxb-api-osgi-${jaxb.version}.jar${path.separator}${java.home}/../Classes/classes.jar${path.separator}${java.home}/lib/rt.jar</bootclasspath>
>
> </compilerArguments>
> <fork>true</fork>
> <archive>
>