diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-12-10 08:52:24 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-12-10 08:52:24 +0100 |
commit | cf01ed53c99960c88483ae9a000b2284421f281b (patch) | |
tree | 894b10916bc3ca5671267291ea2405d06476e61a /pom.xml | |
parent | 6e2eef88e7f28a8589faf0ebc8027ef4af334f30 (diff) | |
download | National_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.xml | 32 |
1 files changed, 31 insertions, 1 deletions
@@ -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> |