velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micha...@apache.org
Subject svn commit: r1841701 - /velocity/maven/trunk/pom/pom.xml
Date Sat, 22 Sep 2018 22:42:50 GMT
Author: michaelo
Date: Sat Sep 22 22:42:50 2018
New Revision: 1841701

URL: http://svn.apache.org/viewvc?rev=1841701&view=rev
Log:
Add common plugin configuration

Modified:
    velocity/maven/trunk/pom/pom.xml

Modified: velocity/maven/trunk/pom/pom.xml
URL: http://svn.apache.org/viewvc/velocity/maven/trunk/pom/pom.xml?rev=1841701&r1=1841700&r2=1841701&view=diff
==============================================================================
--- velocity/maven/trunk/pom/pom.xml (original)
+++ velocity/maven/trunk/pom/pom.xml Sat Sep 22 22:42:50 2018
@@ -216,4 +216,45 @@
     <developerConnection>scm:svn:httpss://svn.apache.org/repos/asf/velocity/maven/trunk/pom</developerConnection>
     <url>https://svn.apache.org/repos/asf/velocity/maven/trunk/pom</url>
   </scm>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            <autoVersionSubmodules>true</autoVersionSubmodules>
+          </configuration>
+        </plugin>
+        <plugin>
+          <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>
+          <dependencies>
+            <dependency>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>extra-enforcer-rules</artifactId>
+              <version>1.0-beta-9</version>
+            </dependency>
+          </dependencies>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
 </project>



Mime
View raw message