|
50 | 50 | <version>${java.version}</version>
|
51 | 51 | </requireJavaVersion>
|
52 | 52 | <requireMavenVersion>
|
53 |
| - <version>[3.0.5,)</version> |
| 53 | + <version>[3.8,)</version> |
54 | 54 | </requireMavenVersion>
|
55 | 55 | </rules>
|
56 | 56 | </configuration>
|
|
110 | 110 | <plugin>
|
111 | 111 | <groupId>org.apache.maven.plugins</groupId>
|
112 | 112 | <artifactId>maven-assembly-plugin</artifactId>
|
113 |
| - <version>3.7.1</version> |
| 113 | + <version>3.8.1</version> |
114 | 114 | </plugin>
|
115 | 115 | <plugin>
|
116 | 116 | <groupId>org.apache.maven.plugins</groupId>
|
|
171 | 171 | <groupId>org.apache.maven.plugins</groupId>
|
172 | 172 | <artifactId>maven-javadoc-plugin</artifactId>
|
173 | 173 | <version>3.11.2</version>
|
| 174 | + <executions> |
| 175 | + <execution> |
| 176 | + <id>attach-javadocs</id> |
| 177 | + <goals> |
| 178 | + <goal>jar</goal> |
| 179 | + </goals> |
| 180 | + </execution> |
| 181 | + </executions> |
174 | 182 | <configuration>
|
175 | 183 | <!-- Never fail a build based on Javadoc errors -->
|
176 | 184 | <failOnError>false</failOnError>
|
|
197 | 205 | <version>3.1.1</version>
|
198 | 206 | <configuration>
|
199 | 207 | <!-- During release:perform, enable the "release" profile (see below) -->
|
200 |
| - <releaseProfiles>release</releaseProfiles> |
| 208 | + <releaseProfiles>-Drelease</releaseProfiles> |
201 | 209 | <goals>deploy</goals>
|
| 210 | + <!-- Suggest tagging the release in SCM as "dspace-[version]" --> |
| 211 | + <tagNameFormat>dspace-replicate-@{project.version}</tagNameFormat> |
202 | 212 | <!-- Auto-Version all modules the same as the parent module -->
|
203 | 213 | <autoVersionSubmodules>true</autoVersionSubmodules>
|
204 | 214 | </configuration>
|
205 | 215 | </plugin>
|
206 |
| - <!-- Copy necessary Runtime Depenencies to /target/lib/ |
| 216 | + <!-- Copy necessary Runtime Dependencies to /target/lib/ |
207 | 217 | during build process. (We are only including Runtime
|
208 | 218 | dependencies which are not a part of DSpace by default)-->
|
209 | 219 | <plugin>
|
|
253 | 263 | MUST be specified for server 'ossrh' -->
|
254 | 264 | <serverId>ossrh</serverId>
|
255 | 265 | <nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
| 266 | + <!-- Disable autoclose of repository after upload, as this sometimes times out --> |
| 267 | + <skipStagingRepositoryClose>true</skipStagingRepositoryClose> |
256 | 268 | <!-- Require manual verification / release to Maven Central -->
|
257 | 269 | <autoReleaseAfterClose>false</autoReleaseAfterClose>
|
| 270 | + <!-- Increase Staging timeout to 10mins --> |
| 271 | + <stagingProgressTimeoutMinutes>10</stagingProgressTimeoutMinutes> |
258 | 272 | </configuration>
|
259 | 273 | </plugin>
|
260 | 274 | <!-- For new releases, generate Source JAR files -->
|
|
0 commit comments