Author: nickboldt
Date: 2011-01-05 15:30:14 -0500 (Wed, 05 Jan 2011)
New Revision: 27923
Modified:
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/pom.xml
Log:
add org.sonatype.tycho:maven-osgi-compiler-plugin with source/target == 1.6 to suppress
warnings in log
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/pom.xml
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/pom.xml 2011-01-05 19:44:18 UTC
(rev 27922)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/pom.xml 2011-01-05 20:30:14 UTC
(rev 27923)
@@ -14,6 +14,17 @@
<build>
<plugins>
<plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-compiler-plugin</artifactId>
+ <version>${tychoVersion}</version>
+ <!-- not strictly needed but this suppresses warnings when compiling
+ that the default value (1.5) is being overwritten by the value in the MANIFEST.MF
-->
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.4</version>
<executions>
@@ -21,13 +32,10 @@
<phase>validate</phase>
<configuration>
<tasks>
- <!-- JBDS-1343 uncomment this to pull a fresh copy of the jar from this or
another location as needed -->
- <!--
- <delete file="modeshape-client.jar" quiet="true" />
- <get
-
src="http://jawa05.englab.brq.redhat.com/candidate/SOA-5.1-ER3/JBDS/...
- dest="modeshape-client.jar" usetimestamp="true" />
- -->
+ <!-- JBDS-1343 uncomment this to pull a fresh copy of the jar from
+ this or another location as needed -->
+ <!-- <delete file="modeshape-client.jar" quiet="true"
/> <get
src="http://jawa05.englab.brq.redhat.com/candidate/SOA-5.1-ER3/JBDS/...
+ dest="modeshape-client.jar" usetimestamp="true" />
-->
</tasks>
</configuration>
<goals>