aboutsummaryrefslogtreecommitdiffstats
path: root/onboarding
diff options
context:
space:
mode:
Diffstat (limited to 'onboarding')
-rw-r--r--onboarding/pom.xml47
1 files changed, 46 insertions, 1 deletions
diff --git a/onboarding/pom.xml b/onboarding/pom.xml
index f2569a0649..afc452e3a1 100644
--- a/onboarding/pom.xml
+++ b/onboarding/pom.xml
@@ -22,7 +22,7 @@
<!-- Maven plugin versions -->
<jacoco.version>0.7.9</jacoco.version>
<mvn.assembly.version>2.1</mvn.assembly.version>
- <mvn.compiler.version>2.5.1</mvn.compiler.version>
+ <mvn.compiler.version>3.7.0</mvn.compiler.version>
<mvn.deploy.version>2.4</mvn.deploy.version>
<mvn.hub.version>1.4.0</mvn.hub.version>
<mvn.install.version>2.3.1</mvn.install.version>
@@ -127,6 +127,8 @@
<artifactId>maven-pmd-plugin</artifactId>
<version>3.8</version>
<configuration>
+ <analysisCache>true</analysisCache>
+ <analysisCacheLocation>${project.build.directory}/pmd/pmd.cache</analysisCacheLocation>
<aggregate>false</aggregate>
<includeTests>true</includeTests>
<linkXRef>false</linkXRef>
@@ -163,7 +165,50 @@
</dependency>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>${project.build.directory}</directory>
+ <excludes>
+ <exclude>test-classes/**</exclude>
+ <exclude>pmd/**</exclude>
+ <exclude>maven-status/**</exclude>
+ </excludes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>${mvn.surefire.version}</version>
+ <configuration>
+ <forkCount>0</forkCount>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <additionalClasspathElements>
+ <additionalClasspathElement>${project.build.directory}/../src/test/resources</additionalClasspathElement>
+ </additionalClasspathElements>
+ <systemPropertyVariables>
+ <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
+ <artifactgenerator.config>${project.basedir}/src/test/resources/config/Artifact-Generator.properties</artifactgenerator.config>
+ <config.location>${project.basedir}/configuration</config.location>
+ </systemPropertyVariables>
+ </configuration>
+ </plugin>
</plugins>
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </testResource>
+ </testResources>
</build>
</project>