Fresh Eclipse update site for every release
Moving the release build extensions out of the tycho profile because the need to be globally active since the release plugin operates on the reactor root
<profiles>
<profile>
<id>apache-release</id>
-
<build>
<plugins>
<plugin>
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <preparationGoals>
+ org.eclipse.tycho:tycho-versions-plugin:${tycho-version}:update-eclipse-metadata
+ org.apache.maven.plugins:maven-scm-plugin:1.9.5:add
+ org.apache.maven.plugins:maven-scm-plugin:1.9.5:checkin
+ </preparationGoals>
+ <completionGoals>
+ org.eclipse.tycho:tycho-versions-plugin:${tycho-version}:update-eclipse-metadata
+ org.apache.maven.plugins:maven-scm-plugin:1.9.5:add
+ org.apache.maven.plugins:maven-scm-plugin:1.9.5:checkin
+ </completionGoals>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-cli</id>
+ <goals>
+ <goal>add</goal>
+ <goal>checkin</goal>
+ </goals>
+ <configuration>
+ <includes>**/META-INF/MANIFEST.MF, **/feature.xml, **/*.product,**/category.xml</includes>
+ <excludes>**/target/**</excludes>
+ <message>Changing the Eclipse files versions</message>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>
</profile>
<pomDependencies>consider</pomDependencies>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <preparationGoals>
- org.eclipse.tycho:tycho-versions-plugin:${tycho-version}:update-eclipse-metadata
- org.apache.maven.plugins:maven-scm-plugin:1.9.5:add
- org.apache.maven.plugins:maven-scm-plugin:1.9.5:checkin
- </preparationGoals>
- <completionGoals>
- org.eclipse.tycho:tycho-versions-plugin:${tycho-version}:update-eclipse-metadata
- org.apache.maven.plugins:maven-scm-plugin:1.9.5:add
- org.apache.maven.plugins:maven-scm-plugin:1.9.5:checkin
- </completionGoals>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-plugin</artifactId>
- <executions>
- <execution>
- <id>default-cli</id>
- <goals>
- <goal>add</goal>
- <goal>checkin</goal>
- </goals>
- <configuration>
- <includes>**/META-INF/MANIFEST.MF, **/feature.xml, **/*.product,**/category.xml</includes>
- <excludes>**/target/**</excludes>
- <message>Changing the Eclipse files versions</message>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
</profile>
