incubator-amber-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1023726 - /incubator/amber/trunk/pom.xml
Date Mon, 18 Oct 2010 10:14:13 GMT
Author: simonetripodi
Date: Mon Oct 18 10:14:13 2010
New Revision: 1023726

URL: http://svn.apache.org/viewvc?rev=1023726&view=rev
Log:
updated jar/compiler maven plugins

Modified:
    incubator/amber/trunk/pom.xml

Modified: incubator/amber/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/pom.xml?rev=1023726&r1=1023725&r2=1023726&view=diff
==============================================================================
--- incubator/amber/trunk/pom.xml (original)
+++ incubator/amber/trunk/pom.xml Mon Oct 18 10:14:13 2010
@@ -206,6 +206,9 @@
 
     <properties>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+        <javac.src.version>1.6</javac.src.version>
+        <javac.target.version>1.6</javac.target.version>
+        <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>
     </properties>
 
     <dependencyManagement>
@@ -351,6 +354,20 @@
             <plugin>
                 <artifactId>maven-jar-plugin</artifactId>
                 <version>2.3.1</version>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                        </manifest>
+                        <manifestEntries>
+                            <Implementation-Build>r${buildNumber}</Implementation-Build>
+                            <Implementation-Build-Date>${maven.build.timestamp}</Implementation-Build-Date>
+                            <X-Compile-Source-JDK>${javac.src.version}</X-Compile-Source-JDK>
+                            <X-Compile-Target-JDK>${javac.target.version}</X-Compile-Target-JDK>
+                        </manifestEntries>
+                    </archive>
+                </configuration>
             </plugin>
 
             <plugin>
@@ -388,11 +405,11 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.3.1</version>
+                <version>2.3.2</version>
                 <configuration>
-                    <source>1.6</source>
-                    <target>1.6</target>
-                    <encoding>UTF-8</encoding>
+                    <source>${javac.src.version}</source>
+                    <target>${javac.target.version}</target>
+                    <encoding>${project.build.sourceEncoding}</encoding>
                 </configuration>
             </plugin>
 



Mime
View raw message