| <?xml version="1.0" encoding="UTF-8"?> |
| <project |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <artifactId>org.eclipse.jubula.releng.client</artifactId> |
| <groupId>org.eclipse.jubula</groupId> |
| <version>8.0.4-SNAPSHOT</version> |
| <relativePath>../org.eclipse.jubula.releng.client</relativePath> |
| </parent> |
| <artifactId>org.eclipse.jubula.toolkit.api.gen</artifactId> |
| <packaging>eclipse-plugin</packaging> |
| <version>4.0.0-SNAPSHOT</version> |
| |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-eclipserun-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <configuration> |
| <executionEnvironment>JavaSE-1.8</executionEnvironment> |
| <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile generateGenerators.xml</appArgLine> |
| <dependencies> |
| <!-- list of bundles that we need --> |
| <dependency> |
| <artifactId>org.eclipse.ant.core</artifactId> |
| <type>eclipse-plugin</type> |
| </dependency> |
| <dependency> |
| <artifactId>org.apache.ant</artifactId> |
| <type>eclipse-plugin</type> |
| </dependency> |
| <dependency> |
| <artifactId>org.eclipse.pde.api.tools</artifactId> |
| <type>eclipse-plugin</type> |
| </dependency> |
| <dependency> |
| <artifactId>org.eclipse.pde.build</artifactId> |
| <type>eclipse-plugin</type> |
| </dependency> |
| <dependency> |
| <artifactId>org.eclipse.pde.core</artifactId> |
| <type>eclipse-plugin</type> |
| </dependency> |
| <dependency> |
| <artifactId>org.eclipse.equinox.launcher</artifactId> |
| <type>eclipse-plugin</type> |
| </dependency> |
| <dependency> |
| <artifactId>org.eclipse.emf.ant</artifactId> |
| <type>eclipse-plugin</type> |
| </dependency> |
| </dependencies> |
| <repositories> |
| <repository> |
| <layout>p2</layout> |
| <url>http://download.eclipse.org/releases/mars</url> |
| </repository> |
| </repositories> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>eclipse-run</goal> |
| </goals> |
| <phase>generate-sources</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>lib</id> |
| <phase>process-sources</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>target/dependent-libs</outputDirectory> |
| <overWriteReleases>true</overWriteReleases> |
| <overWriteSnapshots>false</overWriteSnapshots> |
| <overWriteIfNewer>true</overWriteIfNewer> |
| <excludeTransitive>false</excludeTransitive> |
| <stripVersion>true</stripVersion> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.7</version> |
| <executions> |
| <execution> |
| <id>generateAPI</id> |
| <phase>pre-integration-test</phase> |
| <configuration> |
| <target> |
| <ant dir="${project.build.directory}/.." |
| antfile="generateAPI.xml" /> |
| </target> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>post-package-cleanup</id> |
| <phase>post-integration-test</phase> |
| <configuration> |
| <target> |
| <delete dir="${project.build.directory}/dependent-libs"/> |
| </target> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |