|
6 | 6 |
|
7 | 7 | <groupId>pl.wtx.woocommerce</groupId>
|
8 | 8 | <artifactId>woocommerce-api-client</artifactId>
|
9 |
| - <version>0.9.4</version> |
| 9 | + <version>0.9.5</version> |
10 | 10 | <packaging>jar</packaging>
|
11 | 11 |
|
12 | 12 | <name>WooCommerce REST API Client</name>
|
|
24 | 24 | <gsonfire.version>1.9.0</gsonfire.version>
|
25 | 25 | <jsr305.version>3.0.2</jsr305.version>
|
26 | 26 | <javax.annotation.version>1.3.2</javax.annotation.version>
|
| 27 | + <maven.deploy.skip>true</maven.deploy.skip> |
27 | 28 | </properties>
|
28 | 29 |
|
| 30 | + <distributionManagement> |
| 31 | + <snapshotRepository> |
| 32 | + <id>ossrh</id> |
| 33 | + <url>https://central.sonatype.com/api/v1/publisher/upload</url> |
| 34 | + </snapshotRepository> |
| 35 | + <repository> |
| 36 | + <id>ossrh</id> |
| 37 | + <url>https://central.sonatype.com/api/v1/publisher/upload</url> |
| 38 | + </repository> |
| 39 | + </distributionManagement> |
| 40 | + |
29 | 41 | <dependencies>
|
30 | 42 |
|
31 | 43 | <dependency>
|
|
164 | 176 | </executions>
|
165 | 177 | </plugin>
|
166 | 178 |
|
| 179 | + <plugin> |
| 180 | + <groupId>org.apache.maven.plugins</groupId> |
| 181 | + <artifactId>maven-gpg-plugin</artifactId> |
| 182 | + <version>3.0.1</version> |
| 183 | + <executions> |
| 184 | + <execution> |
| 185 | + <id>sign-artifacts</id> |
| 186 | + <phase>verify</phase> |
| 187 | + <goals> |
| 188 | + <goal>sign</goal> |
| 189 | + </goals> |
| 190 | + <configuration> |
| 191 | + <keyname>${gpg.keyname}</keyname> |
| 192 | + <passphrase>${gpg.passphrase}</passphrase> |
| 193 | + <gpgArguments> |
| 194 | + <arg>--batch</arg> |
| 195 | + <arg>--yes</arg> |
| 196 | + <arg>--pinentry-mode</arg> |
| 197 | + <arg>loopback</arg> |
| 198 | + </gpgArguments> |
| 199 | + </configuration> |
| 200 | + </execution> |
| 201 | + </executions> |
| 202 | + </plugin> |
| 203 | + |
| 204 | + <plugin> |
| 205 | + <groupId>org.sonatype.central</groupId> |
| 206 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 207 | + <version>0.7.0</version> |
| 208 | + <extensions>true</extensions> |
| 209 | + <configuration> |
| 210 | + <serverId>central</serverId> |
| 211 | + <centralBaseUrl>https://central.sonatype.com</centralBaseUrl> |
| 212 | + <deploymentName>WooCommerce API Client - ${project.version}</deploymentName> |
| 213 | + <checksums>required</checksums> |
| 214 | + <skipPublishing>false</skipPublishing> |
| 215 | + </configuration> |
| 216 | + </plugin> |
| 217 | + |
| 218 | + <plugin> |
| 219 | + <groupId>org.apache.maven.plugins</groupId> |
| 220 | + <artifactId>maven-deploy-plugin</artifactId> |
| 221 | + <version>3.1.1</version> |
| 222 | + <configuration> |
| 223 | + <altDeploymentRepository>ossrh::default::https://central.sonatype.com/api/v1/publisher/upload</altDeploymentRepository> |
| 224 | + </configuration> |
| 225 | + </plugin> |
| 226 | + |
167 | 227 | </plugins>
|
168 | 228 | </build>
|
169 | 229 |
|
|
201 | 261 | </developer>
|
202 | 262 | </developers>
|
203 | 263 |
|
| 264 | + <profiles> |
| 265 | + <profile> |
| 266 | + <id>release</id> |
| 267 | + <build> |
| 268 | + <plugins> |
| 269 | + <plugin> |
| 270 | + <groupId>org.apache.maven.plugins</groupId> |
| 271 | + <artifactId>maven-source-plugin</artifactId> |
| 272 | + <executions> |
| 273 | + <execution> |
| 274 | + <id>attach-sources</id> |
| 275 | + <goals> |
| 276 | + <goal>jar-no-fork</goal> |
| 277 | + </goals> |
| 278 | + </execution> |
| 279 | + </executions> |
| 280 | + </plugin> |
| 281 | + <plugin> |
| 282 | + <groupId>org.apache.maven.plugins</groupId> |
| 283 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 284 | + <executions> |
| 285 | + <execution> |
| 286 | + <id>attach-javadocs</id> |
| 287 | + <goals> |
| 288 | + <goal>jar</goal> |
| 289 | + </goals> |
| 290 | + </execution> |
| 291 | + </executions> |
| 292 | + </plugin> |
| 293 | + <plugin> |
| 294 | + <groupId>org.apache.maven.plugins</groupId> |
| 295 | + <artifactId>maven-gpg-plugin</artifactId> |
| 296 | + <executions> |
| 297 | + <execution> |
| 298 | + <id>sign-artifacts</id> |
| 299 | + <phase>verify</phase> |
| 300 | + <goals> |
| 301 | + <goal>sign</goal> |
| 302 | + </goals> |
| 303 | + </execution> |
| 304 | + </executions> |
| 305 | + </plugin> |
| 306 | + </plugins> |
| 307 | + </build> |
| 308 | + </profile> |
| 309 | + </profiles> |
| 310 | + |
| 311 | + <licenses> |
| 312 | + <license> |
| 313 | + <name>MIT License</name> |
| 314 | + <url>https://opensource.org/licenses/MIT</url> |
| 315 | + <distribution>repo</distribution> |
| 316 | + </license> |
| 317 | + </licenses> |
| 318 | + |
204 | 319 | </project>
|
0 commit comments