|
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | + <parent> |
| 7 | + <groupId>de.rub.nds</groupId> |
| 8 | + <artifactId>protocol-toolkit-bom</artifactId> |
| 9 | + <version>1.1.0</version> |
| 10 | + </parent> |
6 | 11 |
|
7 | | - <groupId>de.rub.nds</groupId> |
8 | | - <artifactId>X509Attacker</artifactId> |
| 12 | + <artifactId>x509-attacker</artifactId> |
9 | 13 | <version>1.4.0-SNAPSHOT</version> |
10 | | - <packaging>jar</packaging> |
11 | 14 |
|
12 | 15 | <name>X.509-Attacker</name> |
13 | 16 | <description>X.509-Attacker is a tool based on ASN.1 Tool for creating arbitrary certificates; including especially |
|
25 | 28 | </license> |
26 | 29 | </licenses> |
27 | 30 |
|
28 | | - <distributionManagement> |
29 | | - <snapshotRepository> |
30 | | - <id>rub-nexus</id> |
31 | | - <name>TLS-Attacker Internal Repository</name> |
32 | | - <url>https://hydrogen.cloud.nds.rub.de/nexus/repository/maven-snapshots/</url> |
33 | | - </snapshotRepository> |
34 | | - <repository> |
35 | | - <id>ossrh</id> |
36 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
37 | | - </repository> |
38 | | - </distributionManagement> |
39 | | - |
40 | 31 | <developers> |
41 | 32 | <developer> |
42 | 33 | <id>nkafka</id> |
|
61 | 52 | <!-- scope: compile --> |
62 | 53 | <dependency> |
63 | 54 | <groupId>de.rub.nds</groupId> |
64 | | - <artifactId>ModifiableVariable</artifactId> |
65 | | - <version>3.6.0-SNAPSHOT</version> |
| 55 | + <artifactId>modifiable-variable</artifactId> |
66 | 56 | </dependency> |
67 | 57 | <dependency> |
68 | 58 | <groupId>de.rub.nds</groupId> |
69 | | - <artifactId>Asn1Tool</artifactId> |
70 | | - <version>1.5.0-SNAPSHOT</version> |
| 59 | + <artifactId>asn1-tool</artifactId> |
71 | 60 | </dependency> |
72 | 61 | <dependency> |
73 | 62 | <groupId>org.apache.logging.log4j</groupId> |
74 | 63 | <artifactId>log4j-api</artifactId> |
75 | | - <version>2.19.0</version> |
76 | 64 | </dependency> |
77 | 65 | <dependency> |
78 | 66 | <groupId>org.apache.logging.log4j</groupId> |
79 | 67 | <artifactId>log4j-core</artifactId> |
80 | | - <version>2.19.0</version> |
81 | 68 | </dependency> |
82 | 69 | <dependency> |
83 | 70 | <groupId>org.bouncycastle</groupId> |
84 | 71 | <artifactId>bcpkix-jdk15on</artifactId> |
85 | | - <version>1.64</version> |
86 | 72 | </dependency> |
87 | 73 | <dependency> |
88 | 74 | <groupId>org.bouncycastle</groupId> |
89 | 75 | <artifactId>bcprov-jdk15on</artifactId> |
90 | | - <version>1.64</version> |
91 | 76 | </dependency> |
92 | 77 | <dependency> |
93 | 78 | <groupId>jakarta.xml.bind</groupId> |
94 | 79 | <artifactId>jakarta.xml.bind-api</artifactId> |
95 | | - <version>4.0.0</version> |
96 | 80 | </dependency> |
97 | 81 | <dependency> |
98 | 82 | <groupId>org.glassfish.jaxb</groupId> |
99 | 83 | <artifactId>jaxb-runtime</artifactId> |
100 | | - <version>4.0.0</version> |
101 | 84 | </dependency> |
102 | 85 | <!-- scope: test --> |
103 | 86 | <dependency> |
104 | 87 | <groupId>org.junit.jupiter</groupId> |
105 | 88 | <artifactId>junit-jupiter</artifactId> |
106 | | - <version>5.9.0</version> |
107 | 89 | <scope>test</scope> |
108 | 90 | </dependency> |
109 | 91 | </dependencies> |
|
114 | 96 | <plugin> |
115 | 97 | <groupId>org.apache.maven.plugins</groupId> |
116 | 98 | <artifactId>maven-clean-plugin</artifactId> |
117 | | - <version>3.2.0</version> |
118 | 99 | <executions> |
119 | 100 | <execution> |
120 | 101 | <id>default-clean</id> |
|
147 | 128 | </executions> |
148 | 129 | </plugin> |
149 | 130 | <!--################# default lifecycle plugins #################--> |
150 | | - <!-- Enforce maven and java version --> |
151 | | - <plugin> |
152 | | - <groupId>org.apache.maven.plugins</groupId> |
153 | | - <artifactId>maven-enforcer-plugin</artifactId> |
154 | | - <version>3.1.0</version> |
155 | | - <executions> |
156 | | - <execution> |
157 | | - <id>enforce-versions</id> |
158 | | - <goals> |
159 | | - <goal>enforce</goal> |
160 | | - </goals> |
161 | | - <configuration> |
162 | | - <rules> |
163 | | - <requireMavenVersion> |
164 | | - <version>3.6</version> |
165 | | - </requireMavenVersion> |
166 | | - <requireJavaVersion> |
167 | | - <version>${maven.compiler.source}</version> |
168 | | - </requireJavaVersion> |
169 | | - </rules> |
170 | | - </configuration> |
171 | | - </execution> |
172 | | - </executions> |
173 | | - </plugin> |
174 | 131 | <!-- Formatting --> |
175 | 132 | <plugin> |
176 | 133 | <groupId>net.revelc.code.formatter</groupId> |
177 | 134 | <artifactId>formatter-maven-plugin</artifactId> |
178 | | - <version>2.20.0</version> |
179 | 135 | <configuration> |
180 | 136 | <configFile>${project.basedir}/maven-eclipse-codestyle.xml</configFile> |
181 | 137 | </configuration> |
|
191 | 147 | <plugin> |
192 | 148 | <groupId>com.mycila</groupId> |
193 | 149 | <artifactId>license-maven-plugin</artifactId> |
194 | | - <version>4.1</version> |
195 | 150 | <configuration> |
196 | 151 | <header>${project.basedir}/license_header_plain.txt</header> |
197 | 152 | <strictCheck>true</strictCheck> |
|
220 | 175 | </execution> |
221 | 176 | </executions> |
222 | 177 | </plugin> |
| 178 | + <!-- Flatten pom.xml before install / deploy phases --> |
| 179 | + <plugin> |
| 180 | + <groupId>org.codehaus.mojo</groupId> |
| 181 | + <artifactId>flatten-maven-plugin</artifactId> |
| 182 | + <configuration> |
| 183 | + <flattenMode>ossrh</flattenMode> |
| 184 | + </configuration> |
| 185 | + <executions> |
| 186 | + <execution> |
| 187 | + <id>flatten</id> |
| 188 | + <phase>process-resources</phase> |
| 189 | + <goals> |
| 190 | + <goal>flatten</goal> |
| 191 | + </goals> |
| 192 | + </execution> |
| 193 | + <execution> |
| 194 | + <id>flatten-clean</id> |
| 195 | + <phase>clean</phase> |
| 196 | + <goals> |
| 197 | + <goal>clean</goal> |
| 198 | + </goals> |
| 199 | + </execution> |
| 200 | + </executions> |
| 201 | + </plugin> |
223 | 202 | <!-- Copy project resources to output directory --> |
224 | 203 | <plugin> |
225 | 204 | <groupId>org.apache.maven.plugins</groupId> |
226 | 205 | <artifactId>maven-resources-plugin</artifactId> |
227 | | - <version>3.3.0</version> |
228 | 206 | </plugin> |
229 | 207 | <!-- Compile source files --> |
230 | 208 | <plugin> |
231 | 209 | <groupId>org.apache.maven.plugins</groupId> |
232 | 210 | <artifactId>maven-compiler-plugin</artifactId> |
233 | | - <version>3.10.1</version> |
234 | 211 | <configuration> |
235 | 212 | <source>${maven.compiler.source}</source> |
236 | 213 | <target>${maven.compiler.target}</target> |
|
240 | 217 | <plugin> |
241 | 218 | <groupId>org.apache.maven.plugins</groupId> |
242 | 219 | <artifactId>maven-surefire-plugin</artifactId> |
243 | | - <version>3.0.0-M7</version> |
244 | 220 | </plugin> |
245 | 221 | <!-- Build jar file --> |
246 | 222 | <plugin> |
247 | 223 | <groupId>org.apache.maven.plugins</groupId> |
248 | 224 | <artifactId>maven-jar-plugin</artifactId> |
249 | | - <version>3.3.0</version> |
250 | 225 | <configuration> |
251 | 226 | <archive> |
252 | 227 | <manifest> |
|
262 | 237 | <plugin> |
263 | 238 | <groupId>org.apache.maven.plugins</groupId> |
264 | 239 | <artifactId>maven-javadoc-plugin</artifactId> |
265 | | - <version>3.4.1</version> |
266 | 240 | <configuration> |
267 | 241 | <source>${maven.compiler.source}</source> |
268 | 242 | <javadocExecutable> |
|
282 | 256 | <plugin> |
283 | 257 | <groupId>org.apache.maven.plugins</groupId> |
284 | 258 | <artifactId>maven-source-plugin</artifactId> |
285 | | - <version>3.2.1</version> |
286 | 259 | <executions> |
287 | 260 | <execution> |
288 | 261 | <id>attach-sources</id> |
|
296 | 269 | <plugin> |
297 | 270 | <groupId>org.apache.maven.plugins</groupId> |
298 | 271 | <artifactId>maven-dependency-plugin</artifactId> |
299 | | - <version>3.3.0</version> |
300 | 272 | <executions> |
301 | 273 | <execution> |
302 | 274 | <id>copy</id> |
|
331 | 303 | </execution> |
332 | 304 | </executions> |
333 | 305 | </plugin> |
334 | | - <!-- Sign artifacts --> |
335 | | - <plugin> |
336 | | - <groupId>org.apache.maven.plugins</groupId> |
337 | | - <artifactId>maven-gpg-plugin</artifactId> |
338 | | - <version>3.0.1</version> |
339 | | - <executions> |
340 | | - <execution> |
341 | | - <id>sign-artifacts</id> |
342 | | - <goals> |
343 | | - <goal>sign</goal> |
344 | | - </goals> |
345 | | - </execution> |
346 | | - </executions> |
347 | | - <configuration> |
348 | | - <skip>${skip.signature}</skip> |
349 | | - </configuration> |
350 | | - </plugin> |
351 | | - <!-- Install artifacts to local maven repository --> |
352 | | - <plugin> |
353 | | - <groupId>org.apache.maven.plugins</groupId> |
354 | | - <artifactId>maven-install-plugin</artifactId> |
355 | | - <version>3.0.1</version> |
356 | | - </plugin> |
357 | | - <!-- Artifact deployment to OSSRH --> |
358 | | - <plugin> |
359 | | - <groupId>org.sonatype.plugins</groupId> |
360 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
361 | | - <version>1.6.13</version> |
362 | | - <extensions>true</extensions> |
363 | | - <configuration> |
364 | | - <serverId>ossrh</serverId> |
365 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
366 | | - <!-- deploy with the following command: mvn nexus-staging:release --> |
367 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
368 | | - </configuration> |
369 | | - </plugin> |
370 | 306 | <!--############ plugins without lifecycle bindings #############--> |
371 | | - <!-- Dependency version management --> |
372 | | - <plugin> |
373 | | - <groupId>org.codehaus.mojo</groupId> |
374 | | - <artifactId>versions-maven-plugin</artifactId> |
375 | | - <version>2.12.0</version> |
376 | | - </plugin> |
377 | 307 | <!-- Codestyle --> |
378 | 308 | <plugin> |
379 | 309 | <groupId>org.apache.maven.plugins</groupId> |
380 | 310 | <artifactId>maven-checkstyle-plugin</artifactId> |
381 | | - <version>3.2.0</version> |
382 | | - <dependencies> |
383 | | - <dependency> |
384 | | - <groupId>com.puppycrawl.tools</groupId> |
385 | | - <artifactId>checkstyle</artifactId> |
386 | | - <version>10.3.3</version> |
387 | | - </dependency> |
388 | | - </dependencies> |
389 | 311 | <configuration> |
390 | 312 | <configLocation>${project.basedir}/checkstyle.xml</configLocation> |
391 | 313 | <violationSeverity>info</violationSeverity> |
|
401 | 323 | <maven.compiler.source>11</maven.compiler.source> |
402 | 324 | <maven.compiler.target>11</maven.compiler.target> |
403 | 325 | <maven.build.timestamp.format>yyyy</maven.build.timestamp.format> |
404 | | - <!-- We redefine the signature generation process, which is enabled by default, |
405 | | - but cannot be performed by typical users. Enable it using -Dskip.signature=false --> |
406 | | - <skip.signature>true</skip.signature> |
407 | 326 | </properties> |
408 | 327 | </project> |
0 commit comments