Hi,
I have some problem. I am trying to create eclipse project using 'mvn eclipse:eclipse' command. My configuration of maven-eclipse-plugin is below:

          <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-eclipse-plugin</artifactId>
              <configuration>
                  <buildcommands>
<buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand> <buildcommand>org.eclipse.mtj.core.preverifier</buildcommand>
                  </buildcommands>
                  <projectnatures>
<projectnature>org.eclipse.jdt.core.javanature</projectnature> <projectnature>org.eclipse.mtj.core.nature</projectnature>
                  </projectnatures>
                  <classpathContainers>
<classpathContainer>org.elipse.mtj.JavaMEContainer/Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC/DefaultColorPhone</classpathContainer>
                  </classpathContainers>
              </configuration>
          </plugin>

With this configuration I get ".classpath" file like this:

<classpath>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
<classpathentry kind="output" path="target/classes"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.elipse.mtj.JavaMEContainer/Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC/DefaultColorPhone"/>
</classpath>

The problem is I would like to get rid of "JRE" in classpath because I use "JavaME". So my question is how to set maven-eclipse-plugin to not generate this line: " <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>"

Cheers,
Tomek



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to