|
9 | 9 |
|
10 | 10 | <artifactId>zerocode-tdd-parent</artifactId> |
11 | 11 | <groupId>org.jsmart</groupId> |
12 | | - <version>1.3.39-SNAPSHOT</version> |
| 12 | + <version>1.3.43-SNAPSHOT</version> |
13 | 13 |
|
14 | 14 | <packaging>pom</packaging> |
15 | 15 | <name>ZeroCode TDD Parent</name> |
|
322 | 322 | </dependencies> |
323 | 323 | </dependencyManagement> |
324 | 324 |
|
| 325 | + <!-- |
| 326 | + - Commented to avoid javadoc error during maven release to Nexus central. |
| 327 | + - Uncomment this only when needed or if any other module dependent on this section |
| 328 | + - Check, if the CI build is fine, no need to uncomment this section. |
| 329 | + - |
| 330 | + - How to check or reproduce this javadoc error? |
| 331 | + - From your local laptop |
| 332 | + - Option-1 : Run a maven "dry run" <- Results in error e.g. javadoc error due to JAVA_HOME not set - Option-2 : Run a maven "prepare" run <- Results in error e.g. javadoc error due to JAVA_HOME not set |
| 333 | + - |
| 334 | + - Note: or remove the specific plugins from the build section and try dry-run and prepare stages, if full "commenting out" has issues |
| 335 | + --> |
325 | 336 |
|
326 | 337 | <build> |
327 | 338 | <pluginManagement> |
|
335 | 346 | <target>${java-compiler-target.version}</target> |
336 | 347 | </configuration> |
337 | 348 | </plugin> |
338 | | - <plugin> |
| 349 | + <!--<plugin> |
339 | 350 | <groupId>org.apache.maven.plugins</groupId> |
340 | 351 | <artifactId>maven-assembly-plugin</artifactId> |
341 | 352 | <version>${maven-assembly-plugin.version}</version> |
342 | | - </plugin> |
| 353 | + </plugin>--> |
343 | 354 | <plugin> |
344 | 355 | <groupId>org.apache.maven.plugins</groupId> |
345 | 356 | <artifactId>maven-source-plugin</artifactId> |
346 | 357 | <version>${maven-source-plugin.version}</version> |
347 | 358 | </plugin> |
348 | | - <plugin> |
| 359 | + <!--<plugin> |
349 | 360 | <groupId>org.apache.maven.plugins</groupId> |
350 | 361 | <artifactId>maven-javadoc-plugin</artifactId> |
351 | 362 | <version>${maven-javadoc-plugin.version}</version> |
352 | | - </plugin> |
| 363 | + </plugin>--> |
353 | 364 | <plugin> |
354 | 365 | <groupId>org.apache.maven.plugins</groupId> |
355 | 366 | <artifactId>maven-gpg-plugin</artifactId> |
356 | 367 | <version>${maven-gpg-plugin.version}</version> |
357 | 368 | </plugin> |
358 | | - <plugin> |
| 369 | + <!--<plugin> |
359 | 370 | <groupId>org.apache.maven.plugins</groupId> |
360 | 371 | <artifactId>maven-release-plugin</artifactId> |
361 | 372 | <version>${maven-release-plugin.version}</version> |
362 | | - </plugin> |
| 373 | + </plugin>--> |
363 | 374 | <plugin> |
364 | 375 | <groupId>org.apache.maven.plugins</groupId> |
365 | 376 | <artifactId>maven-surefire-plugin</artifactId> |
|
373 | 384 | </plugins> |
374 | 385 | </pluginManagement> |
375 | 386 |
|
376 | | - <!-- Uncomment this for uber jar --> |
| 387 | + |
| 388 | + <!-- Uncomment this for uber jar --> |
377 | 389 | <!-- |
378 | 390 | <plugins> |
379 | 391 | <plugin> |
|
391 | 403 | </execution> |
392 | 404 | </executions> |
393 | 405 | </plugin> |
394 | | - </plugins> |
395 | | - --> |
396 | | - |
| 406 | + </plugins> |
| 407 | + --> |
397 | 408 | </build> |
398 | 409 | </project> |
0 commit comments