Skip to main content

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

Are you able to reproduce the problem with latest m2e 0.13 installed
from [1]? If so, open new bugreport in m2e bugzilla [2] and provide
sample project and steps to reproduce the problem.

[1] https://repository.sonatype.org/content/repositories/forge-sites/m2e/0.13.0/N/0.13.0.201105111208/
[2] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=m2e

--
Regards,
Igor

On 11-05-12 10:01 AM, Honnix Liang wrote:
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