|
218 | 218 | <artifactId>maven-deploy-plugin</artifactId> |
219 | 219 | <version>3.1.2</version> |
220 | 220 | </plugin> |
| 221 | + <!-- Plugin to create source JAR --> |
| 222 | + <plugin> |
| 223 | + <groupId>org.apache.maven.plugins</groupId> |
| 224 | + <artifactId>maven-source-plugin</artifactId> |
| 225 | + <version>3.3.1</version> |
| 226 | + <executions> |
| 227 | + <execution> |
| 228 | + <id>attach-sources</id> |
| 229 | + <goals> |
| 230 | + <goal>jar</goal> |
| 231 | + </goals> |
| 232 | + </execution> |
| 233 | + </executions> |
| 234 | + </plugin> |
| 235 | + <!-- Plugin to create Javadoc JAR --> |
| 236 | + <plugin> |
| 237 | + <groupId>org.jetbrains.dokka</groupId> |
| 238 | + <artifactId>dokka-maven-plugin</artifactId> |
| 239 | + <version>2.0.0</version> |
| 240 | + <executions> |
| 241 | + <execution> |
| 242 | + <id>javadoc</id> |
| 243 | + <phase>package</phase> |
| 244 | + <goals> |
| 245 | + <goal>javadocJar</goal> |
| 246 | + </goals> |
| 247 | + </execution> |
| 248 | + </executions> |
| 249 | + </plugin> |
| 250 | + <!-- Plugin to generate checksum files --> |
| 251 | + <plugin> |
| 252 | + <groupId>net.nicoulaj.maven.plugins</groupId> |
| 253 | + <artifactId>checksum-maven-plugin</artifactId> |
| 254 | + <version>1.11</version> |
| 255 | + <executions> |
| 256 | + <execution> |
| 257 | + <id>create-checksums</id> |
| 258 | + <phase>package</phase> |
| 259 | + <goals> |
| 260 | + <goal>files</goal> |
| 261 | + </goals> |
| 262 | + <configuration> |
| 263 | + <algorithms> |
| 264 | + <algorithm>MD5</algorithm> |
| 265 | + <algorithm>SHA-1</algorithm> |
| 266 | + <algorithm>SHA-256</algorithm> |
| 267 | + <algorithm>SHA-512</algorithm> |
| 268 | + </algorithms> |
| 269 | + <failOnError>true</failOnError> |
| 270 | + <fileSets> |
| 271 | + <fileSet> |
| 272 | + <directory>${project.build.directory}</directory> |
| 273 | + <includes> |
| 274 | + <include>*.jar</include> |
| 275 | + </includes> |
| 276 | + </fileSet> |
| 277 | + </fileSets> |
| 278 | + </configuration> |
| 279 | + </execution> |
| 280 | + </executions> |
| 281 | + </plugin> |
221 | 282 | </plugins> |
222 | 283 | </pluginManagement> |
223 | 284 | <plugins> |
|
287 | 348 | <id>develop</id> |
288 | 349 | <modules> |
289 | 350 | <module>sdk</module> |
290 | | - <module>sdk-fips-bouncycastle</module> |
291 | 351 | <module>cmdline</module> |
| 352 | + <module>sdk-pqc-bc</module> |
| 353 | + <module>sdk-fips-bc</module> |
292 | 354 | <module>examples</module> |
293 | 355 | </modules> |
294 | 356 | <activation> |
295 | 357 | <activeByDefault>true</activeByDefault> |
296 | 358 | </activation> |
297 | 359 | </profile> |
298 | | - <profile> |
299 | | - <!-- sdk-pqc-bc is gated behind the non-fips profile because its |
300 | | - BC compile dependency (bcprov-jdk18on) collides with bc-fips |
301 | | - on the same package namespace. A FIPS build (mvn -P fips,!non-fips) |
302 | | - must omit sdk-pqc-bc from the reactor entirely; consumers who |
303 | | - want hybrid PQC opt in via the non-fips profile. --> |
304 | | - <id>non-fips</id> |
305 | | - <activation> |
306 | | - <activeByDefault>true</activeByDefault> |
307 | | - </activation> |
308 | | - <modules> |
309 | | - <module>sdk-pqc-bc</module> |
310 | | - </modules> |
311 | | - </profile> |
312 | 360 | <profile> |
313 | 361 | <id>stage</id> |
314 | 362 | <modules> |
|
345 | 393 | <id>release</id> |
346 | 394 | <modules> |
347 | 395 | <module>sdk</module> |
348 | | - <module>sdk-fips-bouncycastle</module> |
| 396 | + <module>sdk-pqc-bc</module> |
| 397 | + <module>sdk-fips-bc</module> |
349 | 398 | </modules> |
350 | 399 | <activation> |
351 | 400 | <activeByDefault>false</activeByDefault> |
|
0 commit comments