Changes required for releasing to Maven Central
This commit is contained in:
parent
324d75db11
commit
9216cebd5e
1 changed files with 87 additions and 32 deletions
119
pom.xml
119
pom.xml
|
@ -10,6 +10,30 @@
|
||||||
<version>1.9.0-SNAPSHOT</version>
|
<version>1.9.0-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
|
<name>VIVO</name>
|
||||||
|
<description>VIVO project</description>
|
||||||
|
<url>http://vivoweb.org/</url>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>BSD 3-Clause License</name>
|
||||||
|
<url>https://raw.github.com/vivo-project/VIVO/develop/LICENSE</url>
|
||||||
|
<distribution>repo</distribution>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The SCM repository location is used by Continuum to update against
|
||||||
|
when changes have occurred. This spawns a new build cycle and releases
|
||||||
|
snapshots into the snapshot repository below.
|
||||||
|
-->
|
||||||
|
<scm>
|
||||||
|
<connection>scm:git:git@github.com:vivo-project/VIVO.git</connection>
|
||||||
|
<developerConnection>scm:git:git@github.com:vivo-project/VIVO.git</developerConnection>
|
||||||
|
<url>git@github.com:vivo-project/VIVO.git</url>
|
||||||
|
<tag>HEAD</tag>
|
||||||
|
</scm>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<vitro-version>${project.version}</vitro-version>
|
<vitro-version>${project.version}</vitro-version>
|
||||||
<vivo-dir>${basedir}</vivo-dir>
|
<vivo-dir>${basedir}</vivo-dir>
|
||||||
|
@ -17,8 +41,6 @@
|
||||||
<build.timestamp>${maven.build.timestamp}</build.timestamp>
|
<build.timestamp>${maven.build.timestamp}</build.timestamp>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<name>VIVO</name>
|
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>api</module>
|
<module>api</module>
|
||||||
<module>webapp</module>
|
<module>webapp</module>
|
||||||
|
@ -59,6 +81,63 @@
|
||||||
<module>${vivo-installer-dir}</module>
|
<module>${vivo-installer-dir}</module>
|
||||||
</modules>
|
</modules>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>doclint-java8-disable</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[1.8,)</jdk>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>release</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<version>2.9.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-javadocs</id>
|
||||||
|
<goals>
|
||||||
|
<goal>jar</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<quiet>true</quiet>
|
||||||
|
<additionalparam>${javadoc.opts}</additionalparam>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
<version>2.2.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-sources</id>
|
||||||
|
<goals>
|
||||||
|
<goal>jar-no-fork</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.sonatype.plugins</groupId>
|
||||||
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||||
|
<version>1.6.3</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<serverId>ossrh</serverId>
|
||||||
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||||||
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
@ -86,25 +165,6 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
|
||||||
<artifactId>properties-maven-plugin</artifactId>
|
|
||||||
<version>1.0.0</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>initialize</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>read-project-properties</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<files>
|
|
||||||
<file>build.properties</file>
|
|
||||||
</files>
|
|
||||||
<quiet>true</quiet>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
@ -147,15 +207,10 @@
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<!--
|
<distributionManagement>
|
||||||
The SCM repository location is used by Continuum to update against
|
<snapshotRepository>
|
||||||
when changes have occurred. This spawns a new build cycle and releases
|
<id>ossrh</id>
|
||||||
snapshots into the snapshot repository below.
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||||
-->
|
</snapshotRepository>
|
||||||
<scm>
|
</distributionManagement>
|
||||||
<connection>scm:git:git@github.com:vivo-project/VIVO.git</connection>
|
|
||||||
<developerConnection>scm:git:git@github.com:vivo-project/VIVO.git</developerConnection>
|
|
||||||
<url>git@github.com:vivo-project/VIVO.git</url>
|
|
||||||
<tag>HEAD</tag>
|
|
||||||
</scm>
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Add table
Reference in a new issue