maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject [1/3] git commit: updated parent pom
Date Tue, 24 Jun 2014 20:41:58 GMT
Repository: maven-indexer
Updated Branches:
  refs/heads/master 5e034f7ee -> d6f8f1dac


updated parent pom

Project: http://git-wip-us.apache.org/repos/asf/maven-indexer/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-indexer/commit/0cdd3eb4
Tree: http://git-wip-us.apache.org/repos/asf/maven-indexer/tree/0cdd3eb4
Diff: http://git-wip-us.apache.org/repos/asf/maven-indexer/diff/0cdd3eb4

Branch: refs/heads/master
Commit: 0cdd3eb4c711c2c6eeb19b95e8d8dac736a54291
Parents: 5e034f7
Author: Hervé Boutemy <hboutemy@apache.org>
Authored: Mon Jun 23 00:04:50 2014 +0200
Committer: Hervé Boutemy <hboutemy@apache.org>
Committed: Mon Jun 23 00:04:50 2014 +0200

----------------------------------------------------------------------
 pom.xml | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-indexer/blob/0cdd3eb4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4743574..5e91b56 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@ under the License.
   <parent>
     <groupId>org.apache.maven</groupId>
     <artifactId>maven-parent</artifactId>
-    <version>23</version>
+    <version>24</version>
   </parent>
 
   <groupId>org.apache.maven.indexer</groupId>
@@ -74,6 +74,8 @@ under the License.
 
   <properties>
     <surefire.redirectTestOutputToFile>false</surefire.redirectTestOutputToFile>
+    <maven.compiler.source>1.6</maven.compiler.source>
+    <maven.compiler.target>1.6</maven.compiler.target>    
 
     <sisu-inject-plexus.version>2.2.3</sisu-inject-plexus.version>
     <lucene.version>3.6.2</lucene.version>
@@ -213,6 +215,26 @@ under the License.
           </execution>
         </executions>
       </plugin>
+      <plugin><!-- TODO remove when upgrading to maven-parent 25 -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-bytecode-version</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <enforceBytecodeVersion>
+                  <maxJdkVersion>${maven.compiler.target}</maxJdkVersion>
+                </enforceBytecodeVersion>
+              </rules>
+              <fail>true</fail>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>


Mime
View raw message