|
10 | 10 |
|
11 | 11 | <properties> |
12 | 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
13 | | - <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version> |
14 | 13 | <testng.version>6.11</testng.version> |
| 14 | + <surefire-plugin.version>2.19.1</surefire-plugin.version> |
| 15 | + <compiler-plugin.version>3.6.0</compiler-plugin.version> |
| 16 | + <source-plugin.version>3.0.1</source-plugin.version> |
| 17 | + <javadoc-plugin.version>2.10.4</javadoc-plugin.version> |
| 18 | + <deploy-plugin.version>2.8.2</deploy-plugin.version> |
15 | 19 | </properties> |
16 | 20 |
|
17 | 21 | <dependencyManagement> |
|
38 | 42 | <plugin> |
39 | 43 | <groupId>org.apache.maven.plugins</groupId> |
40 | 44 | <artifactId>maven-compiler-plugin</artifactId> |
41 | | - <version>${maven-compiler-plugin.version}</version> |
| 45 | + <version>${compiler-plugin.version}</version> |
42 | 46 | <configuration> |
43 | 47 | <source>1.8</source> |
44 | 48 | <target>1.8</target> |
45 | 49 | </configuration> |
46 | 50 | </plugin> |
47 | 51 | </plugins> |
48 | 52 | </pluginManagement> |
| 53 | + <plugins> |
| 54 | + <plugin> |
| 55 | + <groupId>org.apache.maven.plugins</groupId> |
| 56 | + <artifactId>maven-surefire-plugin</artifactId> |
| 57 | + <version>${surefire-plugin.version}</version> |
| 58 | + </plugin> |
| 59 | + <plugin> |
| 60 | + <groupId>org.apache.maven.plugins</groupId> |
| 61 | + <artifactId>maven-source-plugin</artifactId> |
| 62 | + <version>${source-plugin.version}</version> |
| 63 | + <executions> |
| 64 | + <execution> |
| 65 | + <id>attach-sources</id> |
| 66 | + <goals> |
| 67 | + <goal>jar-no-fork</goal> |
| 68 | + </goals> |
| 69 | + </execution> |
| 70 | + </executions> |
| 71 | + </plugin> |
| 72 | + <plugin> |
| 73 | + <groupId>org.apache.maven.plugins</groupId> |
| 74 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 75 | + <version>${javadoc-plugin.version}</version> |
| 76 | + <executions> |
| 77 | + <execution> |
| 78 | + <id>attach-javadocs</id> |
| 79 | + <goals> |
| 80 | + <goal>jar</goal> |
| 81 | + </goals> |
| 82 | + </execution> |
| 83 | + </executions> |
| 84 | + </plugin> |
| 85 | + <plugin> |
| 86 | + <groupId>org.apache.maven.plugins</groupId> |
| 87 | + <artifactId>maven-deploy-plugin</artifactId> |
| 88 | + <version>${deploy-plugin.version}</version> |
| 89 | + <executions> |
| 90 | + <execution> |
| 91 | + <id>deploy-file</id> |
| 92 | + <phase>deploy</phase> |
| 93 | + <goals> |
| 94 | + <goal>deploy-file</goal> |
| 95 | + </goals> |
| 96 | + <configuration> |
| 97 | + <file>${project.build.directory}${file.separator}${project.build.finalName}.jar</file> |
| 98 | + <repositoryId>releases</repositoryId> |
| 99 | + <url>https://mvnrepo.nordstrom.net/nexus/content/repositories/releases</url> |
| 100 | + </configuration> |
| 101 | + </execution> |
| 102 | + </executions> |
| 103 | + </plugin> |
| 104 | + </plugins> |
49 | 105 | </build> |
50 | 106 | </project> |
0 commit comments