|
1 | 1 | <?xml version="1.0"?> |
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | | - <parent> |
5 | | - <groupId>org.sonatype.oss</groupId> |
6 | | - <artifactId>oss-parent</artifactId> |
7 | | - <version>2</version> |
8 | | - </parent> |
9 | 4 |
|
10 | 5 | <groupId>com.googlecode.aviator</groupId> |
11 | 6 | <artifactId>aviator</artifactId> |
|
152 | 147 | </archive> |
153 | 148 | </configuration> |
154 | 149 | </plugin> |
| 150 | + <plugin> |
| 151 | + <groupId>org.apache.maven.plugins</groupId> |
| 152 | + <artifactId>maven-release-plugin</artifactId> |
| 153 | + <version>3.1.1</version> |
| 154 | + <configuration> |
| 155 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 156 | + <useReleaseProfile>false</useReleaseProfile> |
| 157 | + <releaseProfiles>release</releaseProfiles> |
| 158 | + <goals>deploy</goals> |
| 159 | + </configuration> |
| 160 | + </plugin> |
155 | 161 | </plugins> |
156 | 162 | <pluginManagement> |
157 | 163 | <plugins> |
|
162 | 168 | </plugins> |
163 | 169 | </pluginManagement> |
164 | 170 | </build> |
165 | | - <distributionManagement> |
166 | | - <snapshotRepository> |
167 | | - <id>oss</id> |
168 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
169 | | - </snapshotRepository> |
170 | | - <repository> |
171 | | - <id>oss</id> |
172 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
173 | | - </repository> |
174 | | - </distributionManagement> |
175 | 171 | <profiles> |
176 | 172 | <profile> |
177 | 173 | <id>auto-activation-for-jdk8+</id> |
|
247 | 243 | <id>release</id> |
248 | 244 | <activation> |
249 | 245 | <activeByDefault>false</activeByDefault> |
250 | | - <property> |
251 | | - <!-- where property `performRelease` comes from? - maven-release-plugin |
252 | | - Whether to use the release profile that adds sources and javadocs to the |
253 | | - released artifact, if appropriate. If set to true, the release plugin sets |
254 | | - the property "performRelease" to true, which activates the profile "release-profile", |
255 | | - which is inherited from the super pom. Default value is: true. https://maven.apache.org/plugins-archives/maven-release-plugin-2.2.2/perform-mojo.html |
256 | | - - All models implicitly inherit from a super-POM which added maven-source-plugin |
257 | | - and maven-javadoc-plugin https://maven.apache.org/ref/3.0.4/maven-model-builder/super-pom.html --> |
258 | | - <name>performRelease</name> |
259 | | - <value>true</value> |
260 | | - </property> |
261 | 246 | </activation> |
262 | 247 | <build> |
263 | 248 | <plugins> |
| 249 | + <!-- Central Portal Publishing Plugin --> |
| 250 | + <plugin> |
| 251 | + <groupId>org.sonatype.central</groupId> |
| 252 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 253 | + <version>0.9.0</version> |
| 254 | + <extensions>true</extensions> |
| 255 | + <configuration> |
| 256 | + <publishingServerId>central</publishingServerId> |
| 257 | + <autoPublish>true</autoPublish> |
| 258 | + </configuration> |
| 259 | + </plugin> |
264 | 260 | <plugin> |
265 | 261 | <artifactId>maven-gpg-plugin</artifactId> |
266 | | - <version>1.6</version> |
| 262 | + <version>3.2.4</version> |
267 | 263 | <executions> |
268 | 264 | <execution> |
269 | 265 | <id>sign-artifacts</id> |
|
0 commit comments