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-installer</artifactId>
|
|
|
|
<version>1.9.0-SNAPSHOT</version>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<name>VIVO Installer</name>
|
|
|
|
|
2015-11-20 21:21:25 +00:00
|
|
|
<properties>
|
|
|
|
<app-name>vivo</app-name>
|
|
|
|
<home-dir>/usr/local/vivo/home</home-dir>
|
|
|
|
<tomcat-dir>/usr/local/tomcat</tomcat-dir>
|
|
|
|
</properties>
|
|
|
|
|
2015-11-19 23:47:41 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2015-11-20 21:21:25 +00:00
|
|
|
<!-- plugin>
|
2015-11-19 23:47:41 +00:00
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>1.4.16</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>2.10</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-home</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includeArtifactIds>vivo-home</includeArtifactIds>
|
|
|
|
<overWriteReleases>true</overWriteReleases>
|
|
|
|
<overWriteSnapshots>true</overWriteSnapshots>
|
|
|
|
<outputDirectory>target/home</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.7</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>install-home</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>/usr/local/vitro/test</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>target/home</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<includeEmptyDirs>true</includeEmptyDirs>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2015-11-20 21:21:25 +00:00
|
|
|
</plugin -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
|
|
<version>2.5.2</version>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
2015-11-19 23:47:41 +00:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
<module>home</module>
|
2015-11-20 21:21:25 +00:00
|
|
|
<module>solr</module>
|
2015-11-19 23:47:41 +00:00
|
|
|
<module>webapp</module>
|
|
|
|
</modules>
|
|
|
|
</project>
|