Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] [Quesion] OSGi bundle get wrong compiler version when imported into Eclipse

Hi,

When importing an OSGi project using m2eclipse, following line is
always generated:

<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>

event I've configured maven-compiler-plugin as following:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.6</source>
          <target>1.6</target>
        </configuration>
      </plugin>


Guess the reason is that packaing is "bundle" not normal "jar".

So is it a know bug? And how to work around? Thanks.

Br,
Honnix


Back to the top