aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-12-10 08:52:24 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-12-10 08:52:24 +0100
commitcf01ed53c99960c88483ae9a000b2284421f281b (patch)
tree894b10916bc3ca5671267291ea2405d06476e61a /pom.xml
parent6e2eef88e7f28a8589faf0ebc8027ef4af334f30 (diff)
downloadNational_eIDAS_Gateway-cf01ed53c99960c88483ae9a000b2284421f281b.tar.gz
National_eIDAS_Gateway-cf01ed53c99960c88483ae9a000b2284421f281b.tar.bz2
National_eIDAS_Gateway-cf01ed53c99960c88483ae9a000b2284421f281b.zip
add assembly plugin to build release packages
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml32
1 files changed, 31 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index ee85e79a..042fe2e7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,6 +44,11 @@
<license.outputDirectory>${project.build.directory}/thirdparty_licenses</license.outputDirectory>
<pmw_rules_location>https://apps.egiz.gv.at/checkstyle/egiz_pmd_checks.xml</pmw_rules_location>
+
+ <!-- Build and assembly -->
+ <license-maven-plugin>1.20</license-maven-plugin>
+ <maven-assembly-plugin.version>3.2.0</maven-assembly-plugin.version>
+
</properties>
<profiles>
@@ -273,9 +278,34 @@
<version>2.7</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>${maven-assembly-plugin.version}</version>
+ </plugin>
+
</plugins>
</pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <version>${license-maven-plugin}</version>
+ <executions>
+ <execution>
+ <id>download-licenses</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>add-third-party</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludedScopes>test</excludedScopes>
+ <excludedGroups>iaik.*|MOA.spss.*</excludedGroups>
+ </configuration>
+ </plugin>
+
<!-- Code quality checks -->
<plugin>
@@ -384,7 +414,7 @@
<ruleset>${pmw_rules_location}</ruleset>
</rulesets>
<excludeRoots>
- <excludeRoot>target/generated/cxf</excludeRoot>
+ <excludeRoot>target/generated/cxf</excludeRoot>
</excludeRoots>
</configuration>
</plugin>