|
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 | <groupId>com.nordstrom.tools</groupId> |
4 | 4 | <artifactId>junit-foundation</artifactId> |
5 | | - <version>3.2.2-SNAPSHOT</version> |
| 5 | + <version>4.0.0-SNAPSHOT</version> |
6 | 6 | <packaging>jar</packaging> |
7 | 7 |
|
8 | 8 | <name>JUnit Foundation</name> |
|
28 | 28 | <properties> |
29 | 29 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
30 | 30 | <java-utils.version>1.3.3</java-utils.version> |
31 | | - <surefire-plugin.version>2.19.1</surefire-plugin.version> |
| 31 | + <surefire-plugin.version>2.22.0</surefire-plugin.version> |
32 | 32 | <compiler-plugin.version>3.6.0</compiler-plugin.version> |
33 | 33 | <source-plugin.version>3.0.1</source-plugin.version> |
34 | 34 | <javadoc-plugin.version>2.10.4</javadoc-plugin.version> |
35 | | - <settings.version>2.0.7</settings.version> |
| 35 | + <settings.version>2.2.0</settings.version> |
36 | 36 | <junit.version>4.12</junit.version> |
37 | | - <bytebuddy.version>1.7.9</bytebuddy.version> |
| 37 | + <testng.version>6.10</testng.version> |
| 38 | + <bytebuddy.version>1.8.13</bytebuddy.version> |
38 | 39 | <logback.version>1.2.2</logback.version> |
39 | 40 | <gpg-plugin.version>1.6</gpg-plugin.version> |
40 | 41 | <staging-plugin.version>1.6.7</staging-plugin.version> |
41 | 42 | <release-plugin.version>2.5.3</release-plugin.version> |
| 43 | + <jar-plugin.version>3.0.0</jar-plugin.version> |
42 | 44 | <skipSigning>true</skipSigning> |
43 | 45 | </properties> |
44 | 46 |
|
|
77 | 79 | <artifactId>junit</artifactId> |
78 | 80 | <version>${junit.version}</version> |
79 | 81 | </dependency> |
| 82 | + <dependency> |
| 83 | + <groupId>org.testng</groupId> |
| 84 | + <artifactId>testng</artifactId> |
| 85 | + <version>${testng.version}</version> |
| 86 | + </dependency> |
80 | 87 | <dependency> |
81 | 88 | <groupId>net.bytebuddy</groupId> |
82 | 89 | <artifactId>byte-buddy</artifactId> |
83 | 90 | <version>${bytebuddy.version}</version> |
84 | 91 | </dependency> |
| 92 | + <dependency> |
| 93 | + <groupId>net.bytebuddy</groupId> |
| 94 | + <artifactId>byte-buddy-agent</artifactId> |
| 95 | + <version>${bytebuddy.version}</version> |
| 96 | + </dependency> |
85 | 97 | <dependency> |
86 | 98 | <groupId>ch.qos.logback</groupId> |
87 | 99 | <artifactId>logback-classic</artifactId> |
|
103 | 115 | <groupId>junit</groupId> |
104 | 116 | <artifactId>junit</artifactId> |
105 | 117 | </dependency> |
| 118 | + <dependency> |
| 119 | + <groupId>org.testng</groupId> |
| 120 | + <artifactId>testng</artifactId> |
| 121 | + <scope>test</scope> |
| 122 | + </dependency> |
106 | 123 | <dependency> |
107 | 124 | <groupId>net.bytebuddy</groupId> |
108 | 125 | <artifactId>byte-buddy</artifactId> |
109 | 126 | </dependency> |
| 127 | + <dependency> |
| 128 | + <groupId>net.bytebuddy</groupId> |
| 129 | + <artifactId>byte-buddy-agent</artifactId> |
| 130 | + <scope>test</scope> |
| 131 | + </dependency> |
110 | 132 | <dependency> |
111 | 133 | <groupId>ch.qos.logback</groupId> |
112 | 134 | <artifactId>logback-classic</artifactId> |
|
160 | 182 | <artifactId>maven-release-plugin</artifactId> |
161 | 183 | <version>${release-plugin.version}</version> |
162 | 184 | </plugin> |
| 185 | + <plugin> |
| 186 | + <groupId>org.apache.maven.plugins</groupId> |
| 187 | + <artifactId>maven-jar-plugin</artifactId> |
| 188 | + <version>${jar-plugin.version}</version> |
| 189 | + </plugin> |
163 | 190 | </plugins> |
164 | 191 | </pluginManagement> |
165 | 192 |
|
|
185 | 212 | <plugin> |
186 | 213 | <groupId>org.apache.maven.plugins</groupId> |
187 | 214 | <artifactId>maven-surefire-plugin</artifactId> |
| 215 | + <configuration> |
| 216 | + <argLine>-javaagent:src/test/resources/test-agent.jar</argLine> |
| 217 | + </configuration> |
188 | 218 | </plugin> |
189 | 219 | <plugin> |
190 | 220 | <groupId>org.apache.maven.plugins</groupId> |
|
248 | 278 | <goals>deploy</goals> |
249 | 279 | </configuration> |
250 | 280 | </plugin> |
| 281 | + <plugin> |
| 282 | + <groupId>org.apache.maven.plugins</groupId> |
| 283 | + <artifactId>maven-jar-plugin</artifactId> |
| 284 | + <configuration> |
| 285 | + <archive> |
| 286 | + <manifestEntries> |
| 287 | + <Premain-Class>com.nordstrom.automation.junit.LifecycleHooks</Premain-Class> |
| 288 | + <Can-Redefine-Classes>false</Can-Redefine-Classes> |
| 289 | + <Can-Retransform-Classes>true</Can-Retransform-Classes> |
| 290 | + </manifestEntries> |
| 291 | + </archive> |
| 292 | + </configuration> |
| 293 | + </plugin> |
251 | 294 | </plugins> |
252 | 295 | </build> |
253 | 296 |
|
|
0 commit comments