|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>clinic.programming.time-tracker</groupId> |
| 5 | + <artifactId>time-tracker-parent</artifactId> |
| 6 | + <packaging>pom</packaging> |
| 7 | + <version>0.5.0-SNAPSHOT</version> |
| 8 | + <name>Time Tracker (Parent)</name> |
| 9 | + <description> |
| 10 | + This is a simple Maven / Java web project. |
| 11 | + </description> |
| 12 | + <inceptionYear>2015</inceptionYear> |
| 13 | + <url>http://maven.training/</url> |
| 14 | + |
| 15 | + <properties> |
| 16 | + <spring.version>4.3.8.RELEASE</spring.version> |
| 17 | + <java.version>1.8</java.version> |
| 18 | + <junit.version>4.12</junit.version> |
| 19 | + <findbugs.version>3.0.1</findbugs.version> |
| 20 | + <pmd.version>3.4</pmd.version> |
| 21 | + <checkstyle.version>2.15</checkstyle.version> |
| 22 | + </properties> |
| 23 | + |
| 24 | + <modules> |
| 25 | + <module>core</module> |
| 26 | + <module>web</module> |
| 27 | + </modules> |
| 28 | + |
| 29 | + <build> |
| 30 | + <pluginManagement> |
| 31 | + <plugins> |
| 32 | + <plugin> |
| 33 | + <groupId>org.apache.maven.plugins</groupId> |
| 34 | + <artifactId>maven-compiler-plugin</artifactId> |
| 35 | + <version>3.6.1</version> |
| 36 | + <configuration> |
| 37 | + <verbose>true</verbose> |
| 38 | + <fork>true</fork> |
| 39 | + <source>${java.version}</source> |
| 40 | + <target>${java.version}</target> |
| 41 | + </configuration> |
| 42 | + </plugin> |
| 43 | + <plugin> |
| 44 | + <groupId>org.codehaus.mojo</groupId> |
| 45 | + <artifactId>findbugs-maven-plugin</artifactId> |
| 46 | + <version>${findbugs.version}</version> |
| 47 | + </plugin> |
| 48 | + <plugin> |
| 49 | + <groupId>org.apache.maven.plugins</groupId> |
| 50 | + <artifactId>maven-pmd-plugin</artifactId> |
| 51 | + <version>${pmd.version}</version> |
| 52 | + </plugin> |
| 53 | + <plugin> |
| 54 | + <groupId>org.apache.maven.plugins</groupId> |
| 55 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 56 | + <version>${checkstyle.version}</version> |
| 57 | + </plugin> |
| 58 | + </plugins> |
| 59 | + </pluginManagement> |
| 60 | + </build> |
| 61 | + |
| 62 | + <reporting> |
| 63 | + <plugins> |
| 64 | + <plugin> |
| 65 | + <groupId>org.codehaus.mojo</groupId> |
| 66 | + <artifactId>findbugs-maven-plugin</artifactId> |
| 67 | + <configuration> |
| 68 | + <effort>Max</effort> |
| 69 | + <threshold>Low</threshold> |
| 70 | + <xmlOutput>true</xmlOutput> |
| 71 | + </configuration> |
| 72 | + </plugin> |
| 73 | + <plugin> |
| 74 | + <groupId>org.apache.maven.plugins</groupId> |
| 75 | + <artifactId>maven-pmd-plugin</artifactId> |
| 76 | + <reportSets> |
| 77 | + <reportSet> |
| 78 | + <reports> |
| 79 | + <report>pmd</report> |
| 80 | + <report>cpd</report> |
| 81 | + </reports> |
| 82 | + </reportSet> |
| 83 | + </reportSets> |
| 84 | + </plugin> |
| 85 | + <plugin> |
| 86 | + <groupId>org.apache.maven.plugins</groupId> |
| 87 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 88 | + </plugin> |
| 89 | + </plugins> |
| 90 | + </reporting> |
| 91 | +</project> |
0 commit comments