|
35 | 35 | <url>http://github.com/jdemetra/jdemetra-core/tree/master</url>
|
36 | 36 | </scm>
|
37 | 37 |
|
38 |
| - <modules> |
39 |
| - <!-- core modules --> |
40 |
| - <module>jtstoolkit</module> |
41 |
| - <module>jtss</module> |
42 |
| - <module>utilities</module> |
43 |
| - <module>demetra-tck</module> |
44 |
| - <module>demetra-workspace</module> |
45 |
| - |
46 |
| - <!-- I/O modules --> |
47 |
| - <module>odbcprovider</module> |
48 |
| - <module>jdbcprovider</module> |
49 |
| - <module>spreadsheetprovider</module> |
50 |
| - <module>sdmxprovider</module> |
51 |
| - <module>commonprovider</module> |
52 |
| - |
53 |
| - <!-- several apps --> |
54 |
| - <module>jbench</module> |
55 |
| - </modules> |
56 |
| - |
57 | 38 | <properties>
|
58 | 39 | <sql-util.version>1.0.2</sql-util.version>
|
59 | 40 | </properties>
|
|
161 | 142 | </plugins>
|
162 | 143 | </build>
|
163 | 144 |
|
| 145 | + <modules> |
| 146 | + <!-- core modules --> |
| 147 | + <module>jtstoolkit</module> |
| 148 | + <module>jtss</module> |
| 149 | + <module>utilities</module> |
| 150 | + <module>demetra-tck</module> |
| 151 | + <module>demetra-workspace</module> |
| 152 | + |
| 153 | + <!-- I/O modules --> |
| 154 | + <module>odbcprovider</module> |
| 155 | + <module>jdbcprovider</module> |
| 156 | + <module>spreadsheetprovider</module> |
| 157 | + <module>sdmxprovider</module> |
| 158 | + <module>commonprovider</module> |
| 159 | + </modules> |
| 160 | + |
164 | 161 | <profiles>
|
| 162 | + <!-- Non-deployable modules --> |
| 163 | + <profile> |
| 164 | + <id>non-deployable-modules</id> |
| 165 | + <activation> |
| 166 | + <property> |
| 167 | + <name>!nonDeployableModules</name> |
| 168 | + </property> |
| 169 | + </activation> |
| 170 | + <modules> |
| 171 | + <module>jbench</module> |
| 172 | + </modules> |
| 173 | + </profile> |
| 174 | + |
165 | 175 | <!-- Base build java8 -->
|
166 | 176 | <profile>
|
167 | 177 | <id>base-java8</id>
|
|
187 | 197 | <artifactId>maven-jar-plugin</artifactId>
|
188 | 198 | <version>3.2.0</version>
|
189 | 199 | </plugin>
|
190 |
| - <plugin> |
191 |
| - <groupId>org.apache.maven.plugins</groupId> |
192 |
| - <artifactId>maven-deploy-plugin</artifactId> |
193 |
| - <version>3.0.0-M1</version> |
194 |
| - </plugin> |
195 | 200 | </plugins>
|
196 | 201 | </build>
|
197 | 202 | </profile>
|
|
402 | 407 | </build>
|
403 | 408 | </profile>
|
404 | 409 |
|
405 |
| - <!-- Deploy SNAPSHOTS to jfrog with sources --> |
| 410 | + <!-- Base deploy --> |
406 | 411 | <profile>
|
407 |
| - <id>deploy-snapshots</id> |
408 |
| - <distributionManagement> |
409 |
| - <snapshotRepository> |
410 |
| - <id>oss-jfrog-artifactory</id> |
411 |
| - <url>https://oss.jfrog.org/artifactory/oss-snapshot-local</url> |
412 |
| - </snapshotRepository> |
413 |
| - </distributionManagement> |
| 412 | + <id>base-deploy</id> |
414 | 413 | <build>
|
415 | 414 | <plugins>
|
416 |
| - <plugin> |
417 |
| - <groupId>org.apache.maven.plugins</groupId> |
418 |
| - <artifactId>maven-deploy-plugin</artifactId> |
419 |
| - <version>3.0.0-M1</version> |
420 |
| - </plugin> |
421 | 415 | <plugin>
|
422 | 416 | <groupId>org.apache.maven.plugins</groupId>
|
423 | 417 | <artifactId>maven-source-plugin</artifactId>
|
424 | 418 | <version>3.2.1</version>
|
425 | 419 | <executions>
|
426 | 420 | <execution>
|
427 |
| - <phase>verify</phase> |
| 421 | + <id>attach-sources</id> |
428 | 422 | <goals>
|
429 | 423 | <goal>jar-no-fork</goal>
|
430 | 424 | </goals>
|
431 | 425 | </execution>
|
432 | 426 | </executions>
|
433 | 427 | </plugin>
|
| 428 | + <plugin> |
| 429 | + <groupId>org.apache.maven.plugins</groupId> |
| 430 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 431 | + <version>3.2.0</version> |
| 432 | + <executions> |
| 433 | + <execution> |
| 434 | + <id>attach-empty-javadocs</id> |
| 435 | + <goals> |
| 436 | + <goal>jar</goal> |
| 437 | + </goals> |
| 438 | + </execution> |
| 439 | + </executions> |
| 440 | + <configuration> |
| 441 | + <excludePackageNames>*</excludePackageNames> |
| 442 | + <quiet>true</quiet> |
| 443 | + </configuration> |
| 444 | + </plugin> |
| 445 | + <plugin> |
| 446 | + <groupId>org.simplify4u.plugins</groupId> |
| 447 | + <artifactId>sign-maven-plugin</artifactId> |
| 448 | + <version>0.3.1</version> |
| 449 | + <executions> |
| 450 | + <execution> |
| 451 | + <goals> |
| 452 | + <goal>sign</goal> |
| 453 | + </goals> |
| 454 | + </execution> |
| 455 | + </executions> |
| 456 | + </plugin> |
434 | 457 | </plugins>
|
435 | 458 | </build>
|
436 | 459 | </profile>
|
437 | 460 |
|
438 |
| - <!-- Deploy RELEASES to jfrog with sources --> |
| 461 | + <!-- Deploy SNAPSHOTS to OSSRH --> |
439 | 462 | <profile>
|
440 |
| - <id>deploy-releases</id> |
| 463 | + <id>snapshot-deploy</id> |
441 | 464 | <distributionManagement>
|
442 |
| - <repository> |
443 |
| - <id>oss-jfrog-artifactory</id> |
444 |
| - <url>https://oss.jfrog.org/artifactory/oss-release-local</url> |
445 |
| - </repository> |
| 465 | + <snapshotRepository> |
| 466 | + <id>ossrh</id> |
| 467 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url> |
| 468 | + </snapshotRepository> |
446 | 469 | </distributionManagement>
|
447 | 470 | <build>
|
448 | 471 | <plugins>
|
449 | 472 | <plugin>
|
450 |
| - <groupId>org.apache.maven.plugins</groupId> |
451 |
| - <artifactId>maven-deploy-plugin</artifactId> |
452 |
| - <version>3.0.0-M1</version> |
| 473 | + <groupId>org.sonatype.plugins</groupId> |
| 474 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 475 | + <version>1.6.8</version> |
| 476 | + <extensions>true</extensions> |
| 477 | + <configuration> |
| 478 | + <serverId>ossrh</serverId> |
| 479 | + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 480 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 481 | + </configuration> |
453 | 482 | </plugin>
|
| 483 | + </plugins> |
| 484 | + </build> |
| 485 | + </profile> |
| 486 | + |
| 487 | + <!-- Deploy RELEASES to OSSRH --> |
| 488 | + <profile> |
| 489 | + <id>release-deploy</id> |
| 490 | + <distributionManagement> |
| 491 | + <repository> |
| 492 | + <id>ossrh</id> |
| 493 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 494 | + </repository> |
| 495 | + </distributionManagement> |
| 496 | + <build> |
| 497 | + <plugins> |
454 | 498 | <plugin>
|
455 |
| - <groupId>org.apache.maven.plugins</groupId> |
456 |
| - <artifactId>maven-source-plugin</artifactId> |
457 |
| - <version>3.2.1</version> |
458 |
| - <executions> |
459 |
| - <execution> |
460 |
| - <phase>verify</phase> |
461 |
| - <goals> |
462 |
| - <goal>jar-no-fork</goal> |
463 |
| - </goals> |
464 |
| - </execution> |
465 |
| - </executions> |
| 499 | + <groupId>org.sonatype.plugins</groupId> |
| 500 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 501 | + <version>1.6.8</version> |
| 502 | + <extensions>true</extensions> |
| 503 | + <configuration> |
| 504 | + <serverId>ossrh</serverId> |
| 505 | + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 506 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 507 | + </configuration> |
466 | 508 | </plugin>
|
467 | 509 | </plugins>
|
468 | 510 | </build>
|
|
0 commit comments