|
19 | 19 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
20 | 20 | </properties>
|
21 | 21 |
|
| 22 | + <distributionManagement> |
| 23 | + <snapshotRepository> |
| 24 | + <id>ossrh</id> |
| 25 | + <url>https://central.sonatype.com/api/v1/publisher/upload</url> |
| 26 | + </snapshotRepository> |
| 27 | + <repository> |
| 28 | + <id>ossrh</id> |
| 29 | + <url>https://central.sonatype.com/api/v1/publisher/upload</url> |
| 30 | + </repository> |
| 31 | + </distributionManagement> |
| 32 | + |
22 | 33 | <dependencies>
|
23 | 34 |
|
24 | 35 | <dependency>
|
|
42 | 53 | <dependency>
|
43 | 54 | <groupId>com.google.code.gson</groupId>
|
44 | 55 | <artifactId>gson</artifactId>
|
45 |
| - <version>2.11.0</version> |
| 56 | + <version>2.13.1</version> |
46 | 57 | </dependency>
|
47 | 58 |
|
48 | 59 | <dependency>
|
49 | 60 | <groupId>com.squareup.okio</groupId>
|
50 | 61 | <artifactId>okio</artifactId>
|
51 |
| - <version>3.9.1</version> |
| 62 | + <version>3.13.0</version> |
52 | 63 | </dependency>
|
53 | 64 |
|
54 | 65 | <dependency>
|
|
79 | 90 | </plugin>
|
80 | 91 |
|
81 | 92 | <plugin>
|
82 |
| - <groupId>org.apache.maven.plugins</groupId> |
83 |
| - <artifactId>maven-assembly-plugin</artifactId> |
84 |
| - <version>3.3.0</version> |
85 |
| - <configuration> |
86 |
| - <descriptorRefs> |
87 |
| - <descriptorRef>jar-with-dependencies</descriptorRef> |
88 |
| - </descriptorRefs> |
89 |
| - <archive> |
90 |
| - <manifest> |
91 |
| - <mainClass>pl.wtx.symfonia.SymfoniaErpWebApiClientUsageDemo</mainClass> |
92 |
| - </manifest> |
93 |
| - </archive> |
94 |
| - <appendAssemblyId>false</appendAssemblyId> |
95 |
| - </configuration> |
96 |
| - <executions> |
97 |
| - <execution> |
98 |
| - <id>assemble-jar-with-dependencies</id> |
99 |
| - <phase>package</phase> |
100 |
| - <goals> |
101 |
| - <goal>single</goal> |
102 |
| - </goals> |
103 |
| - </execution> |
104 |
| - </executions> |
105 |
| - </plugin> |
| 93 | + <groupId>org.apache.maven.plugins</groupId> |
| 94 | + <artifactId>maven-source-plugin</artifactId> |
| 95 | + <version>3.3.0</version> |
| 96 | + <executions> |
| 97 | + <execution> |
| 98 | + <id>attach-sources</id> |
| 99 | + <goals> |
| 100 | + <goal>jar-no-fork</goal> |
| 101 | + </goals> |
| 102 | + </execution> |
| 103 | + </executions> |
| 104 | + </plugin> |
| 105 | + |
| 106 | + <plugin> |
| 107 | + <groupId>org.apache.maven.plugins</groupId> |
| 108 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 109 | + <version>3.6.3</version> |
| 110 | + <configuration> |
| 111 | + <doclint>none</doclint> |
| 112 | + <failOnError>false</failOnError> |
| 113 | + </configuration> |
| 114 | + <executions> |
| 115 | + <execution> |
| 116 | + <id>attach-javadocs</id> |
| 117 | + <phase>package</phase> |
| 118 | + <goals> |
| 119 | + <goal>jar</goal> |
| 120 | + </goals> |
| 121 | + </execution> |
| 122 | + </executions> |
| 123 | + </plugin> |
| 124 | + |
| 125 | + <plugin> |
| 126 | + <groupId>org.apache.maven.plugins</groupId> |
| 127 | + <artifactId>maven-assembly-plugin</artifactId> |
| 128 | + <version>3.3.0</version> |
| 129 | + <configuration> |
| 130 | + <descriptorRefs> |
| 131 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 132 | + </descriptorRefs> |
| 133 | + <archive> |
| 134 | + <manifest> |
| 135 | + <mainClass>pl.wtx.symfonia.SymfoniaErpWebApiClientUsageDemo</mainClass> |
| 136 | + </manifest> |
| 137 | + </archive> |
| 138 | + <appendAssemblyId>false</appendAssemblyId> |
| 139 | + </configuration> |
| 140 | + <executions> |
| 141 | + <execution> |
| 142 | + <id>assemble-jar-with-dependencies</id> |
| 143 | + <phase>package</phase> |
| 144 | + <goals> |
| 145 | + <goal>single</goal> |
| 146 | + </goals> |
| 147 | + </execution> |
| 148 | + </executions> |
| 149 | + </plugin> |
| 150 | + |
| 151 | + <plugin> |
| 152 | + <groupId>org.apache.maven.plugins</groupId> |
| 153 | + <artifactId>maven-gpg-plugin</artifactId> |
| 154 | + <version>3.0.1</version> |
| 155 | + <executions> |
| 156 | + <execution> |
| 157 | + <id>sign-artifacts</id> |
| 158 | + <phase>verify</phase> |
| 159 | + <goals> |
| 160 | + <goal>sign</goal> |
| 161 | + </goals> |
| 162 | + <configuration> |
| 163 | + <keyname>${gpg.keyname}</keyname> |
| 164 | + <passphrase>${gpg.passphrase}</passphrase> |
| 165 | + <gpgArguments> |
| 166 | + <arg>--batch</arg> |
| 167 | + <arg>--yes</arg> |
| 168 | + <arg>--pinentry-mode</arg> |
| 169 | + <arg>loopback</arg> |
| 170 | + </gpgArguments> |
| 171 | + </configuration> |
| 172 | + </execution> |
| 173 | + </executions> |
| 174 | + </plugin> |
| 175 | + |
| 176 | + <plugin> |
| 177 | + <groupId>org.sonatype.central</groupId> |
| 178 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 179 | + <version>0.7.0</version> |
| 180 | + <extensions>true</extensions> |
| 181 | + <configuration> |
| 182 | + <serverId>central</serverId> |
| 183 | + <centralBaseUrl>https://central.sonatype.com</centralBaseUrl> |
| 184 | + <deploymentName>Symfonia ERP WebAPI Client - ${project.version}</deploymentName> |
| 185 | + <checksums>required</checksums> |
| 186 | + <skipPublishing>false</skipPublishing> |
| 187 | + </configuration> |
| 188 | + </plugin> |
| 189 | + |
| 190 | + <plugin> |
| 191 | + <groupId>org.apache.maven.plugins</groupId> |
| 192 | + <artifactId>maven-deploy-plugin</artifactId> |
| 193 | + <version>3.1.1</version> |
| 194 | + <configuration> |
| 195 | + <altDeploymentRepository>ossrh::default::https://central.sonatype.com/api/v1/publisher/upload</altDeploymentRepository> |
| 196 | + </configuration> |
| 197 | + </plugin> |
106 | 198 |
|
107 | 199 | </plugins>
|
108 | 200 | </build>
|
109 | 201 |
|
| 202 | + <reporting> |
| 203 | + <plugins> |
| 204 | + <plugin> |
| 205 | + <groupId>org.apache.maven.plugins</groupId> |
| 206 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 207 | + <version>3.6.3</version> |
| 208 | + </plugin> |
| 209 | + </plugins> |
| 210 | + </reporting> |
| 211 | + |
| 212 | + <scm> |
| 213 | + <connection>scm:git:git://github.com/wtx-labs/symfonia-erp-webapi-client-java.git</connection> |
| 214 | + <developerConnection>scm:git:ssh://github.com/wtx-labs/symfonia-erp-webapi-client-java.git</developerConnection> |
| 215 | + <url>https://github.com/wtx-labs/symfonia-erp-webapi-client-java</url> |
| 216 | + </scm> |
| 217 | + |
| 218 | + <issueManagement> |
| 219 | + <system>GitHub</system> |
| 220 | + <url>https://github.com/wtx-labs/symfonia-erp-webapi-client-java/issues</url> |
| 221 | + </issueManagement> |
| 222 | + |
| 223 | + <ciManagement> |
| 224 | + <system>GitHub Actions</system> |
| 225 | + <url>https://github.com/wtx-labs/symfonia-erp-webapi-client-java/actions</url> |
| 226 | + </ciManagement> |
| 227 | + |
| 228 | + <developers> |
| 229 | + <developer> |
| 230 | + <name>WTX Labs Team</name> |
| 231 | + <organization>WTX Labs</organization> |
| 232 | + <organizationUrl>https://github.com/wtx-labs</organizationUrl> |
| 233 | + </developer> |
| 234 | + </developers> |
| 235 | + |
| 236 | + <profiles> |
| 237 | + <profile> |
| 238 | + <id>release</id> |
| 239 | + <build> |
| 240 | + <plugins> |
| 241 | + <plugin> |
| 242 | + <groupId>org.apache.maven.plugins</groupId> |
| 243 | + <artifactId>maven-source-plugin</artifactId> |
| 244 | + <executions> |
| 245 | + <execution> |
| 246 | + <id>attach-sources</id> |
| 247 | + <goals> |
| 248 | + <goal>jar-no-fork</goal> |
| 249 | + </goals> |
| 250 | + </execution> |
| 251 | + </executions> |
| 252 | + </plugin> |
| 253 | + <plugin> |
| 254 | + <groupId>org.apache.maven.plugins</groupId> |
| 255 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 256 | + <executions> |
| 257 | + <execution> |
| 258 | + <id>attach-javadocs</id> |
| 259 | + <goals> |
| 260 | + <goal>jar</goal> |
| 261 | + </goals> |
| 262 | + </execution> |
| 263 | + </executions> |
| 264 | + </plugin> |
| 265 | + <plugin> |
| 266 | + <groupId>org.apache.maven.plugins</groupId> |
| 267 | + <artifactId>maven-gpg-plugin</artifactId> |
| 268 | + <executions> |
| 269 | + <execution> |
| 270 | + <id>sign-artifacts</id> |
| 271 | + <phase>verify</phase> |
| 272 | + <goals> |
| 273 | + <goal>sign</goal> |
| 274 | + </goals> |
| 275 | + </execution> |
| 276 | + </executions> |
| 277 | + </plugin> |
| 278 | + </plugins> |
| 279 | + </build> |
| 280 | + </profile> |
| 281 | + </profiles> |
| 282 | + |
| 283 | + <licenses> |
| 284 | + <license> |
| 285 | + <name>MIT License</name> |
| 286 | + <url>https://opensource.org/licenses/MIT</url> |
| 287 | + <distribution>repo</distribution> |
| 288 | + </license> |
| 289 | + </licenses> |
| 290 | + |
110 | 291 | </project>
|
0 commit comments