224 lines
8.7 KiB
XML
224 lines
8.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<groupId>de.nclazz.apps.codebuilder</groupId>
|
|
<artifactId>codebuilder-pom</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>codebuilder-pom</name>
|
|
<description>Template based code generator builder for Apibuilder json specs.</description>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>nexus.nclazz.de</id>
|
|
<url>https://nexus.nclazz.de/repository/maven-snapshots</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>nexus.nclazz.de</id>
|
|
<url>https://nexus.nclazz.de/repository/maven-releases</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<properties>
|
|
<java.version>11</java.version>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.release>11</maven.compiler.release>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<spotbugs.version>4.2.0</spotbugs.version>
|
|
<jacoco.version>0.8.7</jacoco.version>
|
|
<checkstyle.version>3.1.2</checkstyle.version>
|
|
<maven.surefire.version>3.0.0-M5</maven.surefire.version>
|
|
<maven.failsafe.version>3.0.0-M5</maven.failsafe.version>
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>codebuilder-core</module>
|
|
<module>codebuilder-service</module>
|
|
</modules>
|
|
|
|
<build>
|
|
<defaultGoal>install</defaultGoal>
|
|
<pluginManagement>
|
|
<plugins>
|
|
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>3.0.0-M1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven.surefire.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${maven.failsafe.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.0.0-M3</version>
|
|
<configuration>
|
|
<rules>
|
|
<requireMavenVersion>
|
|
<version>3.5</version>
|
|
</requireMavenVersion>
|
|
<requireJavaVersion>
|
|
<version>11</version>
|
|
</requireJavaVersion>
|
|
<banDuplicatePomDependencyVersions/>
|
|
</rules>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-maven</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<version>${spotbugs.version}</version>
|
|
<configuration>
|
|
<xmlOutput>true</xmlOutput>
|
|
<effort>Medium</effort>
|
|
<threshold>Low</threshold>
|
|
<failOnError>false</failOnError>
|
|
<excludeFilterFile>spotbugs-ignore.xml</excludeFilterFile>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>compile-findbugs</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco.version}</version>
|
|
<configuration>
|
|
<rules>
|
|
<rule>
|
|
<element>BUNDLE</element>
|
|
<excludes>
|
|
<exclude>*Test</exclude>
|
|
<exclude>**/models/**</exclude>
|
|
<exclude>**/resources/**/*Controller*</exclude>
|
|
<exclude>**/resources/**/*Event</exclude>
|
|
</excludes>
|
|
<limits>
|
|
<limit>
|
|
<counter>METHOD</counter>
|
|
<value>COVEREDRATIO</value>
|
|
<minimum>50%</minimum>
|
|
</limit>
|
|
</limits>
|
|
</rule>
|
|
</rules>
|
|
<haltOnFailure>false</haltOnFailure>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>prepare-agent</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>report</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>check</id>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<version>${spotbugs.version}</version>
|
|
<configuration>
|
|
<xmlOutput>true</xmlOutput>
|
|
<effort>Medium</effort>
|
|
<threshold>Low</threshold>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<!--suppress MavenModelInspection -->
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<!--suppress MavenModelInspection -->
|
|
<version>${checkstyle.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<!--suppress MavenModelInspection -->
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
<!--suppress MavenModelInspection -->
|
|
<version>${maven.surefire.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
</project>
|