|
4 | 4 | <groupId>io.openkruise</groupId> |
5 | 5 | <artifactId>agents-client-java</artifactId> |
6 | 6 | <packaging>jar</packaging> |
7 | | - <version>0.1.0</version> |
| 7 | + <version>0.1.0-SNAPSHOT</version> |
8 | 8 | <name>agents-client-java</name> |
9 | 9 | <description>Java client for Agents</description> |
10 | 10 | <url>https://github.com/openkruise/agents-api</url> |
11 | 11 |
|
12 | 12 | <prerequisites> |
13 | | - <maven>2.2.0</maven> |
| 13 | + <maven>3.6.0</maven> |
14 | 14 | </prerequisites> |
15 | 15 |
|
16 | 16 | <scm> |
|
28 | 28 | </licenses> |
29 | 29 |
|
30 | 30 | <distributionManagement> |
31 | | - <snapshotRepository> |
32 | | - <id>ossrh</id> |
33 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
34 | | - </snapshotRepository> |
35 | 31 | <repository> |
36 | | - <id>ossrh</id> |
37 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 32 | + <id>central</id> |
| 33 | + <name>Central Repository</name> |
| 34 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
38 | 35 | </repository> |
39 | 36 | </distributionManagement> |
40 | 37 |
|
|
43 | 40 | <plugin> |
44 | 41 | <groupId>org.apache.maven.plugins</groupId> |
45 | 42 | <artifactId>maven-surefire-plugin</artifactId> |
46 | | - <version>2.12</version> |
| 43 | + <version>3.0.0</version> |
47 | 44 | <configuration> |
48 | 45 | <systemProperties> |
49 | 46 | <property> |
|
52 | 49 | </property> |
53 | 50 | </systemProperties> |
54 | 51 | <argLine>-Xms512m -Xmx1500m</argLine> |
55 | | - <parallel>methods</parallel> |
56 | | - <forkMode>pertest</forkMode> |
57 | 52 | </configuration> |
58 | 53 | </plugin> |
59 | 54 | <plugin> |
|
75 | 70 | <plugin> |
76 | 71 | <groupId>org.apache.maven.plugins</groupId> |
77 | 72 | <artifactId>maven-jar-plugin</artifactId> |
78 | | - <version>2.2</version> |
| 73 | + <version>3.3.0</version> |
79 | 74 | <executions> |
80 | 75 | <execution> |
81 | 76 | <goals> |
|
84 | 79 | </goals> |
85 | 80 | </execution> |
86 | 81 | </executions> |
87 | | - <configuration> |
88 | | - </configuration> |
89 | 82 | </plugin> |
90 | 83 |
|
91 | 84 | <plugin> |
92 | 85 | <groupId>org.codehaus.mojo</groupId> |
93 | 86 | <artifactId>build-helper-maven-plugin</artifactId> |
94 | | - <version>1.10</version> |
| 87 | + <version>3.5.0</version> |
95 | 88 | <executions> |
96 | 89 | <execution> |
97 | 90 | <id>add_sources</id> |
|
122 | 115 | <plugin> |
123 | 116 | <groupId>org.apache.maven.plugins</groupId> |
124 | 117 | <artifactId>maven-javadoc-plugin</artifactId> |
125 | | - <version>2.10.4</version> |
| 118 | + <version>3.6.0</version> |
126 | 119 | <executions> |
127 | 120 | <execution> |
128 | 121 | <id>attach-javadocs</id> |
|
135 | 128 | <plugin> |
136 | 129 | <groupId>org.apache.maven.plugins</groupId> |
137 | 130 | <artifactId>maven-source-plugin</artifactId> |
138 | | - <version>2.2.1</version> |
| 131 | + <version>3.3.0</version> |
139 | 132 | <executions> |
140 | 133 | <execution> |
141 | 134 | <id>attach-sources</id> |
|
145 | 138 | </execution> |
146 | 139 | </executions> |
147 | 140 | </plugin> |
| 141 | + <!-- Central Publishing Plugin for Maven Central --> |
| 142 | + <plugin> |
| 143 | + <groupId>org.sonatype.central</groupId> |
| 144 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 145 | + <version>0.9.0</version> |
| 146 | + <extensions>true</extensions> |
| 147 | + <configuration> |
| 148 | + <publishingServerId>central</publishingServerId> |
| 149 | + <tokenAuth>true</tokenAuth> |
| 150 | + </configuration> |
| 151 | + </plugin> |
148 | 152 | </plugins> |
149 | 153 | </build> |
150 | 154 |
|
|
156 | 160 | <plugin> |
157 | 161 | <groupId>org.apache.maven.plugins</groupId> |
158 | 162 | <artifactId>maven-gpg-plugin</artifactId> |
159 | | - <version>1.5</version> |
| 163 | + <version>3.1.0</version> |
160 | 164 | <executions> |
161 | 165 | <execution> |
162 | 166 | <id>sign-artifacts</id> |
163 | 167 | <phase>verify</phase> |
164 | 168 | <goals> |
165 | 169 | <goal>sign</goal> |
166 | 170 | </goals> |
| 171 | + <configuration> |
| 172 | + <gpgArguments> |
| 173 | + <arg>--pinentry-mode</arg> |
| 174 | + <arg>loopback</arg> |
| 175 | + </gpgArguments> |
| 176 | + </configuration> |
167 | 177 | </execution> |
168 | 178 | </executions> |
169 | 179 | </plugin> |
|
0 commit comments