|
35 | 35 | </scm>
|
36 | 36 | <distributionManagement>
|
37 | 37 | <repository>
|
38 |
| - <id>bintray-amavashev2-jkoolcloud</id> |
39 |
| - <name>amavashev2-jkoolcloud</name> |
40 |
| - <url>https://api.bintray.com/maven/amavashev2/jkoolcloud/jkool-client-api/;publish=1;override=1;</url> |
| 38 | + <id>oss.sonatype.org</id> |
| 39 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
41 | 40 | </repository>
|
| 41 | + <snapshotRepository> |
| 42 | + <id>github</id> |
| 43 | + <name>GitHub Nastel Apache Maven Packages</name> |
| 44 | + <url>https://maven.pkg.github.com/Nastel/jkool-client-java-api</url> |
| 45 | + </snapshotRepository> |
42 | 46 | </distributionManagement>
|
43 | 47 |
|
44 | 48 | <properties>
|
45 | 49 | <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
|
46 | 50 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 51 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 52 | + <project.resources.encoding>UTF-8</project.resources.encoding> |
47 | 53 | <product.vendor>jKool, LLC</product.vendor>
|
48 | 54 |
|
49 | 55 | <project.java.version>1.8</project.java.version>
|
|
55 | 61 | <java.compiler.fork>false</java.compiler.fork>
|
56 | 62 |
|
57 | 63 | <release.deploy.name>${project.artifactId}</release.deploy.name>
|
58 |
| - <release.deploy.dir>../build/${release.deploy.name}</release.deploy.dir> |
| 64 | + <release.deploy.dir>build/</release.deploy.dir> |
59 | 65 | <release.deploy.finalName>${release.deploy.name}-${project.version}</release.deploy.finalName>
|
60 | 66 | <release.deploy.zip.assembly>src/assembly/zipDeployAssembly.xml</release.deploy.zip.assembly>
|
61 | 67 | <release.deploy.gz.assembly>src/assembly/gzDeployAssembly.xml</release.deploy.gz.assembly>
|
|
76 | 82 | <dependency>
|
77 | 83 | <groupId>com.fasterxml.jackson.datatype</groupId>
|
78 | 84 | <artifactId>jackson-datatype-joda</artifactId>
|
79 |
| - <version>2.11.3</version> |
| 85 | + <version>2.12.2</version> |
80 | 86 | </dependency>
|
81 | 87 | <!-- https://mvnrepository.com/artifact/org.jboss.resteasy/resteasy-client -->
|
82 | 88 | <dependency>
|
83 | 89 | <groupId>org.jboss.resteasy</groupId>
|
84 | 90 | <artifactId>resteasy-client</artifactId>
|
85 |
| - <version>4.5.8.Final</version> |
| 91 | + <version>4.6.0.Final</version> |
86 | 92 | </dependency>
|
87 | 93 | <!-- https://mvnrepository.com/artifact/io.swagger/swagger-annotations -->
|
88 | 94 | <dependency>
|
89 | 95 | <groupId>io.swagger.core.v3</groupId>
|
90 | 96 | <artifactId>swagger-annotations</artifactId>
|
91 |
| - <version>2.1.5</version> |
| 97 | + <version>2.1.7</version> |
92 | 98 | </dependency>
|
93 | 99 | <dependency>
|
94 | 100 | <groupId>org.glassfish.tyrus</groupId>
|
95 | 101 | <artifactId>tyrus-container-grizzly-client</artifactId>
|
96 |
| - <version>1.17</version> |
| 102 | + <version>2.0.0</version> |
97 | 103 | </dependency>
|
98 | 104 | <!-- https://mvnrepository.com/artifact/org.glassfish/javax.json -->
|
99 | 105 | <dependency>
|
|
130 | 136 | <assembly.skipAssembly>false</assembly.skipAssembly>
|
131 | 137 | </properties>
|
132 | 138 | </profile>
|
| 139 | + <profile> |
| 140 | + <id>maven-release</id> |
| 141 | + <properties> |
| 142 | + <gpg.skip>false</gpg.skip> |
| 143 | + </properties> |
| 144 | + </profile> |
133 | 145 | </profiles>
|
134 | 146 |
|
135 | 147 | <build>
|
|
148 | 160 | <fork>${java.compiler.fork}</fork>
|
149 | 161 | </configuration>
|
150 | 162 | </plugin>
|
| 163 | + <plugin> |
| 164 | + <groupId>org.apache.maven.plugins</groupId> |
| 165 | + <artifactId>maven-resources-plugin</artifactId> |
| 166 | + <version>3.2.0</version> |
| 167 | + <configuration> |
| 168 | + <encoding>${project.resources.encoding}</encoding> |
| 169 | + </configuration> |
| 170 | + </plugin> |
151 | 171 | <plugin>
|
152 | 172 | <groupId>org.apache.maven.plugins</groupId>
|
153 | 173 | <artifactId>maven-source-plugin</artifactId>
|
|
212 | 232 | <filesets>
|
213 | 233 | <fileset>
|
214 | 234 | <directory>${release.deploy.dir}</directory>
|
| 235 | + <includes> |
| 236 | + <include>${release.deploy.finalName}/</include> |
| 237 | + <include>${release.deploy.finalName}.*</include> |
| 238 | + </includes> |
215 | 239 | </fileset>
|
216 | 240 | </filesets>
|
217 | 241 | </configuration>
|
|
230 | 254 | <Implementation-Vendor>${product.vendor}</Implementation-Vendor>
|
231 | 255 | <Implementation-Title>${project.name}</Implementation-Title>
|
232 | 256 | <Implementation-Version>${project.version}-${maven.build.timestamp}</Implementation-Version>
|
| 257 | + <X-Compile-Source-JDK>${java.source.version}</X-Compile-Source-JDK> |
| 258 | + <X-Compile-Target-JDK>${java.target.version}</X-Compile-Target-JDK> |
233 | 259 | <Main-Class>com.jkoolcloud.client.api.utils.JKQLCmd</Main-Class>
|
234 | 260 | </manifestEntries>
|
235 | 261 | </archive>
|
|
239 | 265 | <groupId>org.apache.maven.plugins</groupId>
|
240 | 266 | <artifactId>maven-gpg-plugin</artifactId>
|
241 | 267 | <version>1.6</version>
|
| 268 | + <configuration> |
| 269 | + <gpgArguments> |
| 270 | + <arg>--pinentry-mode</arg> |
| 271 | + <arg>loopback</arg> |
| 272 | + </gpgArguments> |
| 273 | + </configuration> |
242 | 274 | <executions>
|
243 | 275 | <execution>
|
244 | 276 | <id>sign-artifacts</id>
|
|
253 | 285 | <groupId>org.apache.maven.plugins</groupId>
|
254 | 286 | <artifactId>maven-deploy-plugin</artifactId>
|
255 | 287 | <version>2.8.2</version>
|
| 288 | + <configuration> |
| 289 | + <skip>true</skip> |
| 290 | + </configuration> |
| 291 | + </plugin> |
| 292 | + <plugin> |
| 293 | + <groupId>org.sonatype.plugins</groupId> |
| 294 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 295 | + <version>1.6.8</version> |
| 296 | + <extensions>true</extensions> |
| 297 | + <configuration> |
| 298 | + <serverId>oss.sonatype.org</serverId> |
| 299 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 300 | + <!--<description>${project.version}</description>--> |
| 301 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 302 | + </configuration> |
| 303 | + <executions> |
| 304 | + <execution> |
| 305 | + <id>deploy-to-sonatype</id> |
| 306 | + <phase>deploy</phase> |
| 307 | + <goals> |
| 308 | + <goal>deploy</goal> |
| 309 | + <!--<goal>release</goal>--> |
| 310 | + </goals> |
| 311 | + </execution> |
| 312 | + </executions> |
| 313 | + </plugin> |
| 314 | + <plugin> |
| 315 | + <groupId>org.codehaus.mojo</groupId> |
| 316 | + <artifactId>versions-maven-plugin</artifactId> |
| 317 | + <version>2.8.1</version> |
| 318 | + <configuration> |
| 319 | + <generateBackupPoms>false</generateBackupPoms> |
| 320 | + </configuration> |
256 | 321 | </plugin>
|
257 | 322 | </plugins>
|
258 | 323 | </build>
|
|
0 commit comments