Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'releng/org.eclipse.emf.parsley.repository')
-rw-r--r--releng/org.eclipse.emf.parsley.repository/pom.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/releng/org.eclipse.emf.parsley.repository/pom.xml b/releng/org.eclipse.emf.parsley.repository/pom.xml
index 37cd52d24..76ab0dc13 100644
--- a/releng/org.eclipse.emf.parsley.repository/pom.xml
+++ b/releng/org.eclipse.emf.parsley.repository/pom.xml
@@ -12,4 +12,44 @@
<artifactId>org.eclipse.emf.parsley.repository</artifactId>
<packaging>eclipse-repository</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <!-- copy the p2 repository into the project root folder
+ to allow for easier archiving in CI server -->
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>${maven-antrun-plugin.version}</version>
+ <executions>
+ <execution>
+ <id>copy-to-root-target</id>
+ <phase>package</phase>
+ <configuration>
+ <target>
+ <echo message="" />
+ <echo message="Repository path: ${project.build.directory}/repository" />
+ <echo message="Built version: ${unqualifiedVersion}.${buildQualifier}" />
+ <echo message="" />
+
+ <delete includeemptydirs="false" failonerror="false">
+ <fileset dir="${p2.repository.dest}">
+ <include name="**" />
+ </fileset>
+ </delete>
+ <copy includeemptydirs="false" todir="${p2.repository.dest}">
+ <fileset dir="target/repository">
+ <include name="**" />
+ </fileset>
+ </copy>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
</project> \ No newline at end of file

Back to the top