|
| 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>wx</groupId> |
| 5 | + <artifactId>design-pattern</artifactId> |
| 6 | + <version>1.0-SNAPSHOT</version> |
| 7 | + <properties> |
| 8 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 9 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 10 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 11 | + </properties> |
| 12 | + <dependencies> |
| 13 | + <dependency> |
| 14 | + <groupId>junit</groupId> |
| 15 | + <artifactId>junit</artifactId> |
| 16 | + <version>4.12</version> |
| 17 | + </dependency> |
| 18 | + <dependency> |
| 19 | + <groupId>org.hamcrest</groupId> |
| 20 | + <artifactId>hamcrest-all</artifactId> |
| 21 | + <version>1.3</version> |
| 22 | + </dependency> |
| 23 | + </dependencies> |
| 24 | + <build> |
| 25 | + <sourceDirectory>.</sourceDirectory> |
| 26 | + <pluginManagement> |
| 27 | + <plugins> |
| 28 | + <plugin> |
| 29 | + <groupId>org.apache.maven.plugins</groupId> |
| 30 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 31 | + <version>3.0.0</version> |
| 32 | + <dependencies> |
| 33 | + <dependency> |
| 34 | + <groupId>com.puppycrawl.tools</groupId> |
| 35 | + <artifactId>checkstyle</artifactId> |
| 36 | + <version>8.10</version> |
| 37 | + </dependency> |
| 38 | + <dependency> |
| 39 | + <groupId>com.github.ngeor</groupId> |
| 40 | + <artifactId>checkstyle-rules</artifactId> |
| 41 | + <version>1.1.0</version> |
| 42 | + </dependency> |
| 43 | + </dependencies> |
| 44 | + <configuration> |
| 45 | + <configLocation>com/github/ngeor/checkstyle.xml</configLocation> |
| 46 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 47 | + </configuration> |
| 48 | + </plugin> |
| 49 | + </plugins> |
| 50 | + </pluginManagement> |
| 51 | + <plugins> |
| 52 | + <plugin> |
| 53 | + <groupId>org.apache.maven.plugins</groupId> |
| 54 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 55 | + </plugin> |
| 56 | + |
| 57 | + <!-- |
| 58 | + You can run jacoco in the default profile with: |
| 59 | + mvn jacoco:prepare-agent test jacoco:report |
| 60 | + --> |
| 61 | + <plugin> |
| 62 | + <groupId>org.jacoco</groupId> |
| 63 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 64 | + <version>0.8.1</version> |
| 65 | + </plugin> |
| 66 | + </plugins> |
| 67 | + </build> |
| 68 | + <reporting> |
| 69 | + <plugins> |
| 70 | + <plugin> |
| 71 | + <groupId>org.apache.maven.plugins</groupId> |
| 72 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 73 | + <version>3.0.0</version> |
| 74 | + </plugin> |
| 75 | + <plugin> |
| 76 | + <groupId>org.apache.maven.plugins</groupId> |
| 77 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 78 | + <configuration> |
| 79 | + <configLocation>com/github/ngeor/checkstyle.xml</configLocation> |
| 80 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 81 | + </configuration> |
| 82 | + </plugin> |
| 83 | + </plugins> |
| 84 | + </reporting> |
| 85 | + |
| 86 | +</project> |
0 commit comments