Skip to main content

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

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


Back to the top