|
85 | 85 | </properties> |
86 | 86 | <build> |
87 | 87 | <plugins> |
88 | | - <plugin> |
89 | | - <artifactId>maven-dependency-plugin</artifactId> |
90 | | - <version>3.6.1</version> |
91 | | - <executions> |
92 | | - <execution> |
93 | | - <id>copy-native-artifacts</id> |
94 | | - <phase>validate</phase> |
95 | | - <goals> |
96 | | - <goal>copy</goal> |
97 | | - </goals> |
98 | | - <configuration> |
99 | | - <outputDirectory>${project.build.directory}</outputDirectory> |
100 | | - <overWriteSnapshots>true</overWriteSnapshots> |
101 | | - <overWriteReleases>true</overWriteReleases> |
102 | | - <useBaseVersion>true</useBaseVersion> |
103 | | - <artifactItems> |
104 | | - <artifactItem> |
105 | | - <groupId>${project.groupId}</groupId> |
106 | | - <artifactId>${project.artifactId}</artifactId> |
107 | | - <version>${project.version}</version> |
108 | | - <classifier>${javacpp.platform.linux-x86_64}</classifier> |
109 | | - </artifactItem> |
110 | | - <artifactItem> |
111 | | - <groupId>${project.groupId}</groupId> |
112 | | - <artifactId>${project.artifactId}</artifactId> |
113 | | - <version>${project.version}</version> |
114 | | - <classifier>${javacpp.platform.linux-x86_64}-gpu</classifier> |
115 | | - </artifactItem> |
116 | | - <artifactItem> |
117 | | - <groupId>${project.groupId}</groupId> |
118 | | - <artifactId>${project.artifactId}</artifactId> |
119 | | - <version>${project.version}</version> |
120 | | - <classifier>${javacpp.platform.macosx-arm64}</classifier> |
121 | | - </artifactItem> |
122 | | - <artifactItem> |
123 | | - <groupId>${project.groupId}</groupId> |
124 | | - <artifactId>${project.artifactId}</artifactId> |
125 | | - <version>${project.version}</version> |
126 | | - <classifier>${javacpp.platform.linux-arm64}</classifier> |
127 | | - </artifactItem> |
128 | | - </artifactItems> |
129 | | - </configuration> |
130 | | - </execution> |
131 | | - </executions> |
132 | | - </plugin> |
| 88 | +<!-- <plugin>--> |
| 89 | +<!-- <artifactId>maven-dependency-plugin</artifactId>--> |
| 90 | +<!-- <version>3.6.1</version>--> |
| 91 | +<!-- <executions>--> |
| 92 | +<!-- <execution>--> |
| 93 | +<!-- <id>copy-native-artifacts</id>--> |
| 94 | +<!-- <phase>validate</phase>--> |
| 95 | +<!-- <goals>--> |
| 96 | +<!-- <goal>copy</goal>--> |
| 97 | +<!-- </goals>--> |
| 98 | +<!-- <configuration>--> |
| 99 | +<!-- <outputDirectory>${project.build.directory}</outputDirectory>--> |
| 100 | +<!-- <overWriteSnapshots>true</overWriteSnapshots>--> |
| 101 | +<!-- <overWriteReleases>true</overWriteReleases>--> |
| 102 | +<!-- <useBaseVersion>true</useBaseVersion>--> |
| 103 | +<!-- <artifactItems>--> |
| 104 | +<!-- <artifactItem>--> |
| 105 | +<!-- <groupId>${project.groupId}</groupId>--> |
| 106 | +<!-- <artifactId>${project.artifactId}</artifactId>--> |
| 107 | +<!-- <version>${project.version}</version>--> |
| 108 | +<!-- <classifier>${javacpp.platform.linux-x86_64}</classifier>--> |
| 109 | +<!-- </artifactItem>--> |
| 110 | +<!-- <artifactItem>--> |
| 111 | +<!-- <groupId>${project.groupId}</groupId>--> |
| 112 | +<!-- <artifactId>${project.artifactId}</artifactId>--> |
| 113 | +<!-- <version>${project.version}</version>--> |
| 114 | +<!-- <classifier>${javacpp.platform.linux-x86_64}-gpu</classifier>--> |
| 115 | +<!-- </artifactItem>--> |
| 116 | +<!-- <artifactItem>--> |
| 117 | +<!-- <groupId>${project.groupId}</groupId>--> |
| 118 | +<!-- <artifactId>${project.artifactId}</artifactId>--> |
| 119 | +<!-- <version>${project.version}</version>--> |
| 120 | +<!-- <classifier>${javacpp.platform.macosx-arm64}</classifier>--> |
| 121 | +<!-- </artifactItem>--> |
| 122 | +<!-- <artifactItem>--> |
| 123 | +<!-- <groupId>${project.groupId}</groupId>--> |
| 124 | +<!-- <artifactId>${project.artifactId}</artifactId>--> |
| 125 | +<!-- <version>${project.version}</version>--> |
| 126 | +<!-- <classifier>${javacpp.platform.linux-arm64}</classifier>--> |
| 127 | +<!-- </artifactItem>--> |
| 128 | +<!-- </artifactItems>--> |
| 129 | +<!-- </configuration>--> |
| 130 | +<!-- </execution>--> |
| 131 | +<!-- </executions>--> |
| 132 | +<!-- </plugin>--> |
133 | 133 | <plugin> |
134 | 134 | <groupId>org.codehaus.mojo</groupId> |
135 | 135 | <artifactId>build-helper-maven-plugin</artifactId> |
|
565 | 565 | </executions> |
566 | 566 | </plugin> |
567 | 567 |
|
| 568 | +<!-- <plugin>--> |
| 569 | +<!-- <artifactId>maven-deploy-plugin</artifactId>--> |
| 570 | +<!-- <version>3.1.1</version>--> |
| 571 | +<!-- <executions>--> |
| 572 | +<!-- <execution>--> |
| 573 | +<!-- <!–--> |
| 574 | +<!-- Deploy only native artifact--> |
| 575 | +<!-- This is used by the CI build to only deploy the native JAR artifact in the platform-specific runners.--> |
| 576 | +<!-- Other artifacts will be deployed in a second pass, when activating the `deploying` profile--> |
| 577 | +<!-- –>--> |
| 578 | +<!-- <id>native-only</id>--> |
| 579 | +<!-- <goals>--> |
| 580 | +<!-- <goal>deploy-file</goal>--> |
| 581 | +<!-- </goals>--> |
| 582 | +<!-- <configuration>--> |
| 583 | +<!-- <!– 'url' property must be provided in command line –>--> |
| 584 | +<!-- <file>${project.build.directory}/${project.artifactId}-${project.version}-${native.classifier}.jar</file>--> |
| 585 | +<!-- <repositoryId>central</repositoryId>--> |
| 586 | +<!-- <groupId>${project.groupId}</groupId>--> |
| 587 | +<!-- <artifactId>${project.artifactId}</artifactId>--> |
| 588 | +<!-- <classifier>${native.classifier}</classifier>--> |
| 589 | +<!-- <pomFile>pom.xml</pomFile>--> |
| 590 | +<!-- <generatePom>false</generatePom>--> |
| 591 | +<!-- </configuration>--> |
| 592 | +<!-- </execution>--> |
| 593 | +<!-- </executions>--> |
| 594 | +<!-- </plugin>--> |
| 595 | + |
568 | 596 | <plugin> |
569 | | - <artifactId>maven-deploy-plugin</artifactId> |
570 | | - <version>3.1.1</version> |
571 | | - <executions> |
572 | | - <execution> |
573 | | - <!-- |
574 | | - Deploy only native artifact |
575 | | - This is used by the CI build to only deploy the native JAR artifact in the platform-specific runners. |
576 | | - Other artifacts will be deployed in a second pass, when activating the `deploying` profile |
577 | | - --> |
578 | | - <id>native-only</id> |
579 | | - <goals> |
580 | | - <goal>deploy-file</goal> |
581 | | - </goals> |
582 | | - <configuration> |
583 | | - <!-- 'url' property must be provided in command line --> |
584 | | - <file>${project.build.directory}/${project.artifactId}-${project.version}-${native.classifier}.jar</file> |
585 | | - <repositoryId>central</repositoryId> |
586 | | - <groupId>${project.groupId}</groupId> |
587 | | - <artifactId>${project.artifactId}</artifactId> |
588 | | - <classifier>${native.classifier}</classifier> |
589 | | - <pomFile>pom.xml</pomFile> |
590 | | - <generatePom>false</generatePom> |
591 | | - </configuration> |
592 | | - </execution> |
593 | | - </executions> |
| 597 | + <groupId>org.sonatype.central</groupId> |
| 598 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 599 | + <configuration> |
| 600 | + <skipPublishing>true</skipPublishing> |
| 601 | + <outputFilename>${project.artifactId}-${project.version}-${native.classifier}.zip</outputFilename> |
| 602 | + </configuration> |
594 | 603 | </plugin> |
595 | 604 |
|
596 | 605 | <plugin> |
|
0 commit comments