Frank Seidinger wrote: > > I want to build J2ME applications with maven. To do this, you have to use > another boot classpath for the compiler. This ensures, that you only can > use classes known to the J2ME platform. I guess this can be done via > configuration of the compiler plugin. >
I digged into the sources of the maven-compiler-plugin and found, that the bootclasspath cannot be configured. This is not an issue of the maven-compiler-plugin, because it relies on the plexus javac plugin, that also lacks the ability to specify a bootclasspath. Frank Seidinger wrote: > > Because I don't want to specify the classpath twice, I'm looking for a way > to specify the boot class path in the pom at one place and inject the > configuration into the compiler plugin and the preverify plugin. Is there > an easy way to do this? > I went through the pom reference and found no obvious starting point to place such a configuration. Maybe the use of profiles could be a help. I will investigate this a little further. Kind regards, Frank -- View this message in context: http://www.nabble.com/Howto-configure-boot-classpath-for-several-plugins--t1312917.html#a3522485 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
