|
17 | 17 | <developers>
|
18 | 18 | <developer>
|
19 | 19 | <name>Adyen</name>
|
20 |
| - <email>plugin@adyen.com</email> |
| 20 | + <email>devrel@adyen.com</email> |
21 | 21 | <organization>Adyen</organization>
|
22 | 22 | <organizationUrl>https://www.adyen.com</organizationUrl>
|
23 | 23 | </developer>
|
24 | 24 | </developers>
|
25 | 25 | <properties>
|
| 26 | + <maven.compiler.source>11</maven.compiler.source> |
| 27 | + <maven.compiler.target>11</maven.compiler.target> |
| 28 | + |
26 | 29 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
27 | 30 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
28 | 31 | <swagger-core-version>1.6.14</swagger-core-version>
|
|
34 | 37 | <developerConnection>scm:git:git@github.com:Adyen/adyen-java-api-library.git</developerConnection>
|
35 | 38 | <url>git@github.com:Adyen/adyen-java-api-library.git</url>
|
36 | 39 | </scm>
|
37 |
| - <distributionManagement> |
38 |
| - <repository> |
39 |
| - <id>ossrh</id> |
40 |
| - <name>Central Repository OSSRH</name> |
41 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
42 |
| - </repository> |
43 |
| - </distributionManagement> |
44 | 40 | <build>
|
45 | 41 | <plugins>
|
46 | 42 | <plugin>
|
47 | 43 | <groupId>org.apache.maven.plugins</groupId>
|
48 | 44 | <artifactId>maven-compiler-plugin</artifactId>
|
49 | 45 | <version>3.13.0</version>
|
50 |
| - <configuration> |
51 |
| - <source>11</source> |
52 |
| - <target>11</target> |
53 |
| - </configuration> |
54 | 46 | </plugin>
|
55 | 47 | <plugin>
|
56 | 48 | <groupId>org.apache.maven.plugins</groupId>
|
|
114 | 106 | <plugin>
|
115 | 107 | <groupId>org.apache.maven.plugins</groupId>
|
116 | 108 | <artifactId>maven-javadoc-plugin</artifactId>
|
117 |
| - <configuration> |
118 |
| - <source>8</source> |
119 |
| - </configuration> |
120 | 109 | <version>3.11.1</version>
|
121 | 110 | <executions>
|
122 | 111 | <execution>
|
|
141 | 130 | </execution>
|
142 | 131 | </executions>
|
143 | 132 | </plugin>
|
| 133 | + <!-- Publish to Sonatype (Maven Central) --> |
144 | 134 | <plugin>
|
145 |
| - <groupId>org.sonatype.plugins</groupId> |
146 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
147 |
| - <version>1.7.0</version> |
| 135 | + <groupId>org.sonatype.central</groupId> |
| 136 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 137 | + <version>0.7.0</version> |
148 | 138 | <extensions>true</extensions>
|
149 | 139 | <configuration>
|
150 |
| - <serverId>ossrh</serverId> |
151 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
152 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 140 | + <publishingServerId>central</publishingServerId> |
| 141 | + <tokenAuth>true</tokenAuth> |
| 142 | + <autoPublish>true</autoPublish> |
| 143 | + <waitUntil>published</waitUntil> |
153 | 144 | </configuration>
|
154 | 145 | </plugin>
|
155 | 146 | <plugin>
|
|
0 commit comments