| <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/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.eclipse.ote.test.server</groupId> |
| <artifactId>org.eclipse.ote.test.server.parent</artifactId> |
| <version>0.26.0-SNAPSHOT</version> |
| <relativePath>../org.eclipse.ote.test.server.parent</relativePath> |
| </parent> |
| |
| <artifactId>org.eclipse.ote.test.server.p2</artifactId> |
| <packaging>eclipse-repository</packaging> |
| <name>OTE Test Server - p2 Site </name> |
| <version>0.26.0-SNAPSHOT</version> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-repository-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <configuration> |
| <includeAllDependencies>true</includeAllDependencies> |
| </configuration> |
| <executions> |
| <execution> |
| <id>assemble-repository</id> |
| <goals> |
| <goal>assemble-repository</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>archive-repository</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>archive-repository</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>${maven-antrun-version}</version> |
| <executions> |
| <execution> |
| <id>build-osee-server</id> |
| <phase>package</phase> |
| <configuration> |
| <target> |
| <property name="plugin_classpath" refid="maven.plugin.classpath" /> |
| <taskdef resource="net/sf/antcontrib/antlib.xml"> |
| <classpath> |
| <pathelement path="${classpath}" /> |
| <pathelement path="${plugin_classpath}" /> |
| </classpath> |
| </taskdef> |
| |
| <property name="output-name" value="ote.server.runtime" /> |
| <property name="p2-content-path" value="${project.build.directory}/repository" /> |
| <property name="output-path" value="${project.build.directory}" /> |
| <property name="server-path" value="${output-path}/server" /> |
| <property name="script-data-path" value="${project.basedir}/scriptData" /> |
| <property name="etc-content-path" value="${project.basedir}/etc" /> |
| <if> |
| <available file="version.xml" /> |
| <then> |
| <ant antfile="version.xml" /> |
| </then> |
| </if> |
| <ant antfile="package-server-runtime.xml" target="run" |
| inheritRefs="true" /> |
| |
| </target> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |