vivo/pom.xml

162 lines
5.3 KiB
XML
Raw Normal View History

2015-11-19 23:47:41 +00:00
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.vivoweb</groupId>
<artifactId>vivo-project</artifactId>
<version>1.9.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<vitro-version>${project.version}</vitro-version>
<vivo-dir>${basedir}</vivo-dir>
2016-05-23 15:11:33 +01:00
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
<build.timestamp>${maven.build.timestamp}</build.timestamp>
2015-11-19 23:47:41 +00:00
</properties>
<name>VIVO</name>
<modules>
<module>api</module>
<module>webapp</module>
<module>home</module>
</modules>
<profiles>
<profile>
<id>vitro</id>
<activation>
<file>
<exists>../Vitro/pom.xml</exists>
2015-11-19 23:47:41 +00:00
</file>
</activation>
<modules>
<module>../Vitro</module>
2015-11-19 23:47:41 +00:00
</modules>
</profile>
<profile>
<id>installer</id>
<activation>
<property>
<name>!vivo-installer-dir</name>
</property>
</activation>
2015-11-19 23:47:41 +00:00
<modules>
<module>installer</module>
</modules>
</profile>
<profile>
<id>external-installer</id>
<activation>
<property>
<name>vivo-installer-dir</name>
</property>
</activation>
<modules>
<module>${vivo-installer-dir}</module>
</modules>
</profile>
2015-11-19 23:47:41 +00:00
</profiles>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.vivoweb</groupId>
<artifactId>vitro-api</artifactId>
<version>${vitro-version}</version>
</dependency>
<dependency>
<groupId>org.vivoweb</groupId>
<artifactId>vitro-api</artifactId>
<version>${vitro-version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.vivoweb</groupId>
<artifactId>vitro-webapp</artifactId>
<version>${vitro-version}</version>
<type>war</type>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<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>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
2016-05-23 15:11:33 +01:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<shortRevisionLength>7</shortRevisionLength>
</configuration>
</plugin>
2015-11-19 23:47:41 +00:00
</plugins>
</build>
2016-05-23 15:11:33 +01:00
<!--
Add a custom repository, which is actually just a simple GitHub project
in order to distribute some dependencies that aren't part of Maven central
-->
2015-11-19 23:47:41 +00:00
<repositories>
<repository>
<id>vivo-dependencies</id>
<name>VIVO Dependencies</name>
<url>https://raw.github.com/vivo-project/dependencies/master/</url>
</repository>
</repositories>
2016-05-23 15:11:33 +01:00
<!--
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>
2015-11-19 23:47:41 +00:00
</project>