Commit 70098c05 authored by Matija Obreza's avatar Matija Obreza
Browse files

Install and deploy only core, security and auditlog artifacts

parent cb366764
......@@ -31,7 +31,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.target>11</jdk.target>
<jdk.source>11</jdk.source>
<skip.deploy.artifact>true</skip.deploy.artifact>
<show.deprecations>false</show.deprecations>
<slf4j.version>1.7.30</slf4j.version>
<junit.version>4.13.1</junit.version>
......@@ -143,20 +142,6 @@
<failOnWarning>true</failOnWarning>
</configuration>
</plugin>
<!--maven-surefire-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<testFailureIgnore>false</testFailureIgnore>
<useSystemClassLoader>false</useSystemClassLoader>
<includes>
<include>**/*Test.java</include>
<include>**/*Tests.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
......
......@@ -59,6 +59,7 @@
<properties>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<skip.deploy.artifact>true</skip.deploy.artifact>
<jdk.target>11</jdk.target>
<jdk.source>11</jdk.source>
</properties>
......@@ -71,6 +72,32 @@
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<configuration>
<skip>${skip.deploy.artifact}</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<testFailureIgnore>false</testFailureIgnore>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkMode>once</forkMode>
<rerunFailingTestsCount>0</rerunFailingTestsCount>
<skipAfterFailureCount>1</skipAfterFailureCount>
<argLine>-Xms1g -Xmx3g -Djava.awt.headless=true -server</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
......@@ -130,13 +157,16 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<source>${jdk.source}</source>
</configuration>
</execution>
</executions>
</plugin>
......
......@@ -28,7 +28,7 @@
<description>Common application security components</description>
<properties>
<deploy.artifact>true</deploy.artifact>
<skip.deploy.artifact>false</skip.deploy.artifact>
</properties>
<build>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment