|
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> |
|
27 | 27 | </license> |
28 | 28 | </licenses> |
29 | 29 |
|
30 | | - <distributionManagement> |
31 | | - <snapshotRepository> |
32 | | - <id>ossrh</id> |
33 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
34 | | - </snapshotRepository> |
35 | | - <repository> |
36 | | - <id>ossrh</id> |
37 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
38 | | - </repository> |
39 | | - </distributionManagement> |
| 30 | + <developers> |
| 31 | + <developer> |
| 32 | + <name>Qing Zhao</name> |
| 33 | + <email>zq01297892@alibaba-inc.com</email> |
| 34 | + <organization>openkruise</organization> |
| 35 | + <organizationUrl>https://github.com/openkruise/agents-api</organizationUrl> |
| 36 | + </developer> |
| 37 | + </developers> |
40 | 38 |
|
41 | 39 | <build> |
42 | 40 | <plugins> |
43 | 41 | <plugin> |
44 | 42 | <groupId>org.apache.maven.plugins</groupId> |
45 | 43 | <artifactId>maven-surefire-plugin</artifactId> |
46 | | - <version>2.12</version> |
| 44 | + <version>3.0.0</version> |
47 | 45 | <configuration> |
48 | 46 | <systemProperties> |
49 | 47 | <property> |
|
52 | 50 | </property> |
53 | 51 | </systemProperties> |
54 | 52 | <argLine>-Xms512m -Xmx1500m</argLine> |
55 | | - <parallel>methods</parallel> |
56 | | - <forkMode>pertest</forkMode> |
57 | 53 | </configuration> |
58 | 54 | </plugin> |
59 | 55 | <plugin> |
60 | 56 | <artifactId>maven-dependency-plugin</artifactId> |
| 57 | + <version>3.6.1</version> |
61 | 58 | <executions> |
62 | 59 | <execution> |
63 | 60 | <phase>package</phase> |
|
75 | 72 | <plugin> |
76 | 73 | <groupId>org.apache.maven.plugins</groupId> |
77 | 74 | <artifactId>maven-jar-plugin</artifactId> |
78 | | - <version>2.2</version> |
| 75 | + <version>3.3.0</version> |
79 | 76 | <executions> |
80 | 77 | <execution> |
| 78 | + <id>default-jar</id> |
81 | 79 | <goals> |
82 | 80 | <goal>jar</goal> |
| 81 | + </goals> |
| 82 | + </execution> |
| 83 | + <execution> |
| 84 | + <id>test-jar</id> |
| 85 | + <goals> |
83 | 86 | <goal>test-jar</goal> |
84 | 87 | </goals> |
| 88 | + <configuration> |
| 89 | + <classifier>tests</classifier> |
| 90 | + </configuration> |
85 | 91 | </execution> |
86 | 92 | </executions> |
87 | | - <configuration> |
88 | | - </configuration> |
89 | 93 | </plugin> |
90 | 94 |
|
91 | 95 | <plugin> |
92 | 96 | <groupId>org.codehaus.mojo</groupId> |
93 | 97 | <artifactId>build-helper-maven-plugin</artifactId> |
94 | | - <version>1.10</version> |
| 98 | + <version>3.5.0</version> |
95 | 99 | <executions> |
96 | 100 | <execution> |
97 | 101 | <id>add_sources</id> |
|
122 | 126 | <plugin> |
123 | 127 | <groupId>org.apache.maven.plugins</groupId> |
124 | 128 | <artifactId>maven-javadoc-plugin</artifactId> |
125 | | - <version>2.10.4</version> |
| 129 | + <version>3.6.0</version> |
126 | 130 | <executions> |
127 | 131 | <execution> |
128 | 132 | <id>attach-javadocs</id> |
|
135 | 139 | <plugin> |
136 | 140 | <groupId>org.apache.maven.plugins</groupId> |
137 | 141 | <artifactId>maven-source-plugin</artifactId> |
138 | | - <version>2.2.1</version> |
| 142 | + <version>3.3.0</version> |
139 | 143 | <executions> |
140 | 144 | <execution> |
141 | 145 | <id>attach-sources</id> |
|
145 | 149 | </execution> |
146 | 150 | </executions> |
147 | 151 | </plugin> |
| 152 | + <!-- Central Publishing Plugin for Maven Central --> |
| 153 | + <plugin> |
| 154 | + <groupId>org.sonatype.central</groupId> |
| 155 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 156 | + <version>0.9.0</version> |
| 157 | + <extensions>true</extensions> |
| 158 | + <configuration> |
| 159 | + <publishingServerId>central</publishingServerId> |
| 160 | + <tokenAuth>true</tokenAuth> |
| 161 | + <autoPublish>true</autoPublish> |
| 162 | + </configuration> |
| 163 | + </plugin> |
148 | 164 | </plugins> |
149 | 165 | </build> |
150 | 166 |
|
|
156 | 172 | <plugin> |
157 | 173 | <groupId>org.apache.maven.plugins</groupId> |
158 | 174 | <artifactId>maven-gpg-plugin</artifactId> |
159 | | - <version>1.5</version> |
| 175 | + <version>3.1.0</version> |
160 | 176 | <executions> |
161 | 177 | <execution> |
162 | 178 | <id>sign-artifacts</id> |
163 | 179 | <phase>verify</phase> |
164 | 180 | <goals> |
165 | 181 | <goal>sign</goal> |
166 | 182 | </goals> |
| 183 | + <configuration> |
| 184 | + <gpgArguments> |
| 185 | + <arg>--pinentry-mode</arg> |
| 186 | + <arg>loopback</arg> |
| 187 | + </gpgArguments> |
| 188 | + </configuration> |
167 | 189 | </execution> |
168 | 190 | </executions> |
169 | 191 | </plugin> |
|
0 commit comments