You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Trent Rosenbaum <tr...@gmail.com> on 2006/07/03 11:52:19 UTC

Re: Howto configure boot classpath for several plugins?

Frank,

I was wondering if you made any progress with the bootclasspath and
compiling JavaME application with Maven.
I have looked at your plugin in the mojo sandbox and could not find anything
about this stage in the build process.

I am looking to start a new maven project with JavaME and do not want to
move away from maven.

Any thoughts or feedback?
Many thanks

Trent


On 21/03/06, Frank Seidinger <fs...@frank-seidinger.de> wrote:
>
>
>
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>