Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] maven-compiler-plugin bootclasspath compiler argument ignored

This is not supported by m2e. Also see

https://bugs.eclipse.org/bugs/show_bug.cgi?id=363237

--
Regards,
Igor

On 12-02-08 9:32 AM, Ramon Rockx wrote:
Hello,

Right now we are moving from Eclipse Helios to Eclipse Indigo and will
be using M2E. Most of the things are working fine, but I'm having
difficulties with the following:

I have a project with jaxws 2.2.1 dependencies. However, when compiling
this project with maven, the jax-ws of the default JRE libraries will be
used, which are outdated in our case. Resulting in compile errors.
With Helios and M2Eclipse (and also with maven itself) we succesfully
bypassed the default jax-ws libraries, by using the "bootclasspath"
compiler argument in the following way:

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-compiler-plugin</artifactId>
	<configuration>
		<verbose />
		<compilerArguments>
	
<bootclasspath>${settings.localRepository}\javax\xml\ws\jaxws-api\2.2.1\
jaxws-api-2.2.1.jar;${settings.localRepository}\com\sun\xml\ws\jaxws-rt\
2.2.1\jaxws-rt-2.2.1.jar;${java.home}\lib\rt.jar</bootclasspath>
		</compilerArguments>
	</configuration>
</plugin>

This doesn't seem to do the trick with Indigo/M2E. Can someone help me
out?

Regards,
Ramon Rockx
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top