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>
|
2016-06-20 19:45:53 +01:00
|
|
|
<exists>../Vitro/pom.xml</exists>
|
2015-11-19 23:47:41 +00:00
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<modules>
|
2016-06-20 19:45:53 +01:00
|
|
|
<module>../Vitro</module>
|
2015-11-19 23:47:41 +00:00
|
|
|
</modules>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
2015-11-25 15:17:11 +00:00
|
|
|
<id>installer</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
2015-11-26 14:55:47 +00:00
|
|
|
<name>!vivo-installer-dir</name>
|
2015-11-25 15:17:11 +00:00
|
|
|
</property>
|
|
|
|
</activation>
|
2015-11-19 23:47:41 +00:00
|
|
|
<modules>
|
|
|
|
<module>installer</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
2015-11-25 15:17:11 +00:00
|
|
|
<profile>
|
|
|
|
<id>external-installer</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
2015-11-26 14:55:47 +00:00
|
|
|
<name>vivo-installer-dir</name>
|
2015-11-25 15:17:11 +00:00
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<modules>
|
2015-11-26 14:55:47 +00:00
|
|
|
<module>${vivo-installer-dir}</module>
|
2015-11-25 15:17:11 +00:00
|
|
|
</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>
|