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 @@ ...@@ -31,7 +31,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.target>11</jdk.target> <jdk.target>11</jdk.target>
<jdk.source>11</jdk.source> <jdk.source>11</jdk.source>
<skip.deploy.artifact>true</skip.deploy.artifact>
<show.deprecations>false</show.deprecations> <show.deprecations>false</show.deprecations>
<slf4j.version>1.7.30</slf4j.version> <slf4j.version>1.7.30</slf4j.version>
<junit.version>4.13.1</junit.version> <junit.version>4.13.1</junit.version>
...@@ -143,20 +142,6 @@ ...@@ -143,20 +142,6 @@
<failOnWarning>true</failOnWarning> <failOnWarning>true</failOnWarning>
</configuration> </configuration>
</plugin> </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> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
......
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
<properties> <properties>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<skip.deploy.artifact>true</skip.deploy.artifact>
<jdk.target>11</jdk.target> <jdk.target>11</jdk.target>
<jdk.source>11</jdk.source> <jdk.source>11</jdk.source>
</properties> </properties>
...@@ -71,6 +72,32 @@ ...@@ -71,6 +72,32 @@
</modules> </modules>
<build> <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> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
...@@ -130,13 +157,16 @@ ...@@ -130,13 +157,16 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version> <version>3.2.0</version>
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>
<goals> <goals>
<goal>jar</goal> <goal>jar</goal>
</goals> </goals>
<configuration>
<source>${jdk.source}</source>
</configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<description>Common application security components</description> <description>Common application security components</description>
<properties> <properties>
<deploy.artifact>true</deploy.artifact> <skip.deploy.artifact>false</skip.deploy.artifact>
</properties> </properties>
<build> <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