123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <?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>
- <groupId>org.yakindu.base</groupId>
- <artifactId>org.yakindu.base.releng</artifactId>
- <version>2.1.1-SNAPSHOT</version>
- <relativePath>../org.yakindu.base.releng/pom.xml</relativePath>
- </parent>
- <artifactId>de.itemis.xtext.utils.promote</artifactId>
- <packaging>pom</packaging>
- <properties>
- <tycho-extras-version>0.16.0</tycho-extras-version>
- <!-- scp settings for publishing udpdate site -->
- <promotionTarget>indigo/integration</promotionTarget>
- <promotionSource>http://builds.itemis.de/urlToCIJob/lastSuccessfulBuild</promotionSource>
- <updateSiteUrl>http://updates.yakindu.com/${promotionTarget}</updateSiteUrl>
- <local.update.site>${project.build.directory}/local-update-site</local.update.site>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-p2-extras-plugin</artifactId>
- <version>${tycho-extras-version}</version>
- <inherited>false</inherited>
- <executions>
- <execution>
- <id>appendYakinduBase</id>
- <phase>package</phase>
- <goals>
- <goal>mirror</goal>
- </goals>
- <configuration>
- <source>
- <!-- source repositori(es) to mirror from -->
- <repository>
- <url>${promotionSource}artifact/update-site/</url>
- <layout>p2</layout>
- <!-- sypported layouts are "p2-metadata", "p2-artifacts", and "p2"
- (for joint repositories) -->
- </repository>
- </source>
- <destination>${local.update.site}</destination>
- <compress>true</compress>
- <append>true</append>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <!-- This profile is activated by default, if the remote repository should be extended. -->
- <!-- Deactivate if no remote repository should be copied to append artifacts -->
- <id>CopySource</id>
- <activation>
- <property>
- <name>appendToExistingRepository</name>
- <value>!false</value>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-p2-extras-plugin</artifactId>
- <version>${tycho-extras-version}</version>
- <inherited>false</inherited>
- <executions>
- <execution>
- <id>copyRemoteSite</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>mirror</goal>
- </goals>
- <configuration>
- <source>
- <!-- source repositori(es) to mirror from -->
- <repository>
- <url>${updateSiteUrl}</url>
- <layout>p2</layout>
- <!-- sypported layouts are "p2-metadata", "p2-artifacts", and
- "p2" (for joint repositories) -->
- </repository>
- </source>
- <destination>${local.update.site}</destination>
- <compress>true</compress>
- <append>false</append>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
|