You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/06/18 18:30:18 UTC

svn commit: r1494187 - /commons/sandbox/commons-gpg-plugin/trunk/pom.xml

Author: sebb
Date: Tue Jun 18 16:30:18 2013
New Revision: 1494187

URL: http://svn.apache.org/r1494187
Log:
Add a parent pom

Modified:
    commons/sandbox/commons-gpg-plugin/trunk/pom.xml

Modified: commons/sandbox/commons-gpg-plugin/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/commons-gpg-plugin/trunk/pom.xml?rev=1494187&r1=1494186&r2=1494187&view=diff
==============================================================================
--- commons/sandbox/commons-gpg-plugin/trunk/pom.xml (original)
+++ commons/sandbox/commons-gpg-plugin/trunk/pom.xml Tue Jun 18 16:30:18 2013
@@ -1,13 +1,13 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
-<!-- 
+
+  <!-- Cannot easily use CP as that is only suitable for jar packaging -->
   <parent>
-    <groupId>org.apache.commons</groupId>
-    <artifactId>commons-parent</artifactId>
-    <version>30</version>
+    <groupId>org.apache</groupId>
+    <artifactId>apache</artifactId>
+    <version>13</version>
   </parent>
- -->
  
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-gpg-plugin</artifactId>
@@ -102,6 +102,16 @@ This is intended as a temporary measure 
 
     <pluginManagement>
       <plugins>
+        <!-- See bug https://issues.apache.org/jira/browse/MPOM-44 -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>3.1</version>
+          <configuration>
+            <source>${maven.compiler.source}</source>
+            <target>${maven.compiler.target}</target>
+          </configuration>
+        </plugin>
         <plugin>
           <artifactId>maven-plugin-plugin</artifactId>
           <version>${mavenPluginPluginVersion}</version>