[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] "Overriding compiler source level" warnings
|
wrong groupId.
assuming you are using tycho < 0.12:
<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>maven-osgi-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
else it would be:
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
Regards,
Jan
-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Eric Jain
Sent: Mittwoch, 1. Juni 2011 03:39
To: tycho-user
Subject: [tycho-user] "Overriding compiler source level" warnings
I have one of these warnings for each bundle I build:
[INFO] --- maven-osgi-compiler-plugin:0.10.0:compile (default-compile) @ foo ---
[INFO] Using compile source roots from build.properties
[WARNING] Overriding compiler source level 1.5 from POM with source
level 1.6 from MANIFEST.MF
[WARNING] Overriding compiler target level 1.5 from POM with target
level 1.6 from MANIFEST.MF
[INFO] Compiling 5 source files to ...
...even though the parent pom.xml has:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-osgi-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
Is there another place I need to specify the source level?
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user