summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-10-15 14:03:46 +1100
committerOlivier Lamy <olamy@apache.org>2014-10-15 14:03:46 +1100
commitd2fcfdd21fa3ef6490cc73bd6ee7057572206660 (patch)
tree104cccdc7352bc434c11637e2e019d7a6ff90a20
parentdf99049a93df30a12eef5469706423152f23bb42 (diff)
downloadarchiva-d2fcfdd21fa3ef6490cc73bd6ee7057572206660.tar.gz
archiva-d2fcfdd21fa3ef6490cc73bd6ee7057572206660.zip
add a modernizer maven plugin build profile
-rw-r--r--pom.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index dde2b62b9..36ccc03b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1956,6 +1956,30 @@
<jacocoagent>${jacocoproperty}</jacocoagent>
</properties>
</profile>
+ <profile>
+ <id>modernizer</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.gaul</groupId>
+ <artifactId>modernizer-maven-plugin</artifactId>
+ <version>1.1.0</version>
+ <configuration>
+ <javaVersion>1.8</javaVersion>
+ </configuration>
+ <executions>
+ <execution>
+ <id>modernizer</id>
+ <goals>
+ <goal>modernizer</goal>
+ </goals>
+ <phase>process-test-classes</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<repositories>