blob: 371ecc1ff46428700f0bd84ff5085248a625fccd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>org.eclipse.tycho.extras.its</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>bundle</artifactId>
<version>1.0.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<profiles>
<profile>
<!-- mimics the behaviour of reproducible version qualifier, replacing from baseline -->
<id>reuse</id>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>copy-baseline-jar</id>
<!-- Choose a lifecycle between package and verify -->
<phase>integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy
file="${basedir}/../repo/target/repository/plugins/${project.artifactId}_1.0.1.original.jar"
tofile="${project.build.directory}/${project.artifactId}-${project.version}.jar"
overwrite="true"/>
<copy
file="${basedir}/../repo/target/repository/plugins/${project.artifactId}.source_1.0.1.original.jar"
tofile="${project.build.directory}/${project.artifactId}-${project.version}-sources.jar"
overwrite="true"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<executions>
<execution>
<id>p2-metadata</id>
<goals>
<goal>p2-metadata</goal>
</goals>
<!-- Choose a lifecycle between package and verify -->
<phase>integration-test</phase>
</execution>
</executions>
<configuration>
<defaultP2Metadata>false</defaultP2Metadata>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>