Hi Damien, u might have misunderstood my problem:
- in the J2ME API java.io.DataInputStream IS INCLUDED. - the problem is that the J2ME is derived from an old JDK 1.1 (just slightly changed), and therefore the inheritence structure for the java.io.DataInputStream (in J2ME) is: java.lang.Object | +----java.io.InputStream | +----java.io.DataInputStream but in the JDK 1.3 (which is usually the source version): java.lang.Object | +----java.io.InputStream | +----java.io.FilterInputStream | +----java.io.DataInputStream and actually the problem is, that the plugin seems to use 1.3 to compile the classes, but can not run a pre-verification, since the java.io.FilterInputStream is missing. hope that clarifies my problem R.C. Damien Lecan-2 wrote: > > Hello, > >> i'm using a java.io.DataInputStream in my application, which is derived >> from: >> So how can i tell the maven-compile-plugin, to use the J2ME API insteaed >> of >> JDK? >> (When compiling with my old eclipseME-plugin, everything works fine, for >> JDK >> 1.3) > > Your question is not clear :) > > You want to use java.io.DataInputStream, available only in J2SE API > but at the same time you want compile with J2ME API. > > What do you want to do ? > > Damien > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-M2--j2me-maven-plugin%3A-preverification-error-tf3975257s177.html#a11289592 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]