commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r780055 - /commons/proper/pool/trunk/pom.xml
Date Fri, 29 May 2009 18:10:43 GMT
Author: sebb
Date: Fri May 29 18:10:43 2009
New Revision: 780055

URL: http://svn.apache.org/viewvc?rev=780055&view=rev
Log:
Set encoding to UTF-8; add spec and impl. entries to source manifest

Modified:
    commons/proper/pool/trunk/pom.xml

Modified: commons/proper/pool/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/pom.xml?rev=780055&r1=780054&r2=780055&view=diff
==============================================================================
--- commons/proper/pool/trunk/pom.xml (original)
+++ commons/proper/pool/trunk/pom.xml Fri May 29 18:10:43 2009
@@ -128,6 +128,8 @@
   </distributionManagement>
   
   <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <maven.compile.source>1.3</maven.compile.source>
     <maven.compile.target>1.3</maven.compile.target>
     <commons.componentid>pool</commons.componentid>
@@ -138,6 +140,16 @@
   </properties> 
 
   <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <!-- Override plugin versions in parent Pom, which are too old to support manifests
-->
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-source-plugin</artifactId>
+          <version>2.1</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
     <sourceDirectory>src/java</sourceDirectory>
     <testSourceDirectory>src/test</testSourceDirectory>
       <plugins>
@@ -197,6 +209,18 @@
             <tarLongFileMode>gnu</tarLongFileMode>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-source-plugin</artifactId>
+          <configuration>
+            <archive>
+              <manifest>
+                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+              </manifest>
+            </archive>
+          </configuration>
+        </plugin>
       </plugins>
     </build>
 



Mime
View raw message