Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikaël Barbero2014-07-04 13:01:23 +0000
committerMikaël Barbero2014-07-04 13:01:23 +0000
commit8401494cc2b68af0486db2955c0aa08e425682f5 (patch)
treeb32c62520f595cd8efc9ebd914a3b797d1d596c3 /packaging
parent4dd62f025259309d7981e075c69287263f8212b3 (diff)
downloadorg.eclipse.emf.compare-8401494cc2b68af0486db2955c0aa08e425682f5.tar.gz
org.eclipse.emf.compare-8401494cc2b68af0486db2955c0aa08e425682f5.tar.xz
org.eclipse.emf.compare-8401494cc2b68af0486db2955c0aa08e425682f5.zip
add resource filtering of a publisher.properties file
Diffstat (limited to 'packaging')
-rw-r--r--packaging/org.eclipse.emf.compare.update/pom.xml135
1 files changed, 48 insertions, 87 deletions
diff --git a/packaging/org.eclipse.emf.compare.update/pom.xml b/packaging/org.eclipse.emf.compare.update/pom.xml
index 4ebdb0575..92a584a39 100644
--- a/packaging/org.eclipse.emf.compare.update/pom.xml
+++ b/packaging/org.eclipse.emf.compare.update/pom.xml
@@ -1,91 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (C) 2012 Obeo
-
- Cedric Brun <cedric.brun@obeo.fr>
-
--->
-
-<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>
- <artifactId>emf.compare-parent</artifactId>
- <groupId>org.eclipse.emf.compare</groupId>
- <version>3.1.0-SNAPSHOT</version>
- <relativePath>../../org.eclipse.emf.compare-parent</relativePath>
- </parent>
-
- <artifactId>org.eclipse.emf.compare.update</artifactId>
- <packaging>eclipse-repository</packaging>
-
- <!-- see http://issues.sonatype.org/browse/TYCHO-313 -->
+<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>
+ <artifactId>emf.compare-parent</artifactId>
+ <groupId>org.eclipse.emf.compare</groupId>
<version>3.1.0-SNAPSHOT</version>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-p2-repository-plugin</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <createArtifactRepository>true</createArtifactRepository>
- <finalName>${project.groupId}-${unqualifiedVersion}.${buildQualifier}</finalName>
- <compress>true</compress>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/target/repository</outputDirectory>
- <resources>
- <resource>
- <directory>.</directory>
- <includes>
- <include>index.html</include>
- <include>web/*</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>prepare_promotion</id>
- <phase>verify</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <mkdir dir="${project.build.directory}/promotion"/>
- <echo file="${project.build.directory}/promotion/promote.properties"
- message="#EMFCompare promotion process.${line.separator}
-build.alias=${BUILD_ALIAS}${line.separator}
-build.qualifier=${env.BUILD_TYPE}${buildQualifier}${line.separator}
-version=${unqualifiedVersion}"/>
- <copy file="p2.xsl" todir="${project.build.directory}/promotion"/>
- <copy file="promoter.xml" todir="${project.build.directory}/promotion" />
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
+ <relativePath>../../org.eclipse.emf.compare-parent</relativePath>
+ </parent>
+ <artifactId>org.eclipse.emf.compare.update</artifactId>
+ <packaging>eclipse-repository</packaging>
+ <version>3.1.0-SNAPSHOT</version>
+ <build>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <filtering>true</filtering>
+ <includes>
+ <include>publisher.properties</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-repository-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <createArtifactRepository>true</createArtifactRepository>
+ <finalName>${project.groupId}-${unqualifiedVersion}.${buildQualifier}</finalName>
+ <compress>true</compress>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.6</version>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>resources</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>

Back to the top