move plaintext-maven-plugin release plugin to the profile
common-release.
This commit is contained in:
parent
f44fb68216
commit
d445ee985e
199
pom.xml
199
pom.xml
|
@ -115,7 +115,7 @@
|
|||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>common-snapshot-checks</id>
|
||||
<id>common-snapshot</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>!Release</name>
|
||||
|
@ -158,7 +158,7 @@
|
|||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>common-release-checks</id>
|
||||
<id>common-release</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>Release</name>
|
||||
|
@ -203,6 +203,34 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>io.github.olivierlemasle.maven</groupId>
|
||||
<artifactId>plaintext-maven-plugin</artifactId>
|
||||
<version>${plugin.plaintext.version}</version>
|
||||
<configuration>
|
||||
<outputDirectory>${env.MAVEN_CONFIG_FOLDER}</outputDirectory>
|
||||
<files>
|
||||
<file>
|
||||
<name>build_commits.csv</name>
|
||||
<append>true</append>
|
||||
<lines>
|
||||
<line>
|
||||
${project.groupId},${project.artifactId},${project.version},${project.scm.url},${buildNumber},${repository},${project.build.finalName},${project.packaging}
|
||||
</line>
|
||||
</lines>
|
||||
</file>
|
||||
</files>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-file</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>write</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
@ -386,13 +414,15 @@
|
|||
<profile>
|
||||
<id>jenkins-releases</id>
|
||||
<activation>
|
||||
<jdk>[1.7,17)</jdk>
|
||||
<jdk>[1.8,17)</jdk>
|
||||
<property>
|
||||
<name>jenkins-releases</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
|
||||
<properties>
|
||||
<repository>${repository.releases.url}</repository>
|
||||
</properties>
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<repository>
|
||||
|
@ -431,38 +461,7 @@
|
|||
<url>${repository.releases.url}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.github.olivierlemasle.maven</groupId>
|
||||
<artifactId>plaintext-maven-plugin</artifactId>
|
||||
<version>${plugin.plaintext.version}</version>
|
||||
<configuration>
|
||||
<outputDirectory>${env.MAVEN_CONFIG_FOLDER}</outputDirectory>
|
||||
<files>
|
||||
<file>
|
||||
<name>build_commits.csv</name>
|
||||
<append>true</append>
|
||||
<lines>
|
||||
<line>
|
||||
${project.groupId},${project.artifactId},${project.version},${project.scm.url},${buildNumber},${repository.releases.url},${project.build.finalName},${project.packaging}
|
||||
</line>
|
||||
</lines>
|
||||
</file>
|
||||
</files>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-file</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>write</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
</build>
|
||||
</profile>
|
||||
|
@ -475,13 +474,15 @@
|
|||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
|
||||
<properties>
|
||||
<repository>${repository.staging.java7.url}</repository>
|
||||
</properties>
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>gcube-staging-jenkins</id>
|
||||
<name>gCube Jenkins Staging</name>
|
||||
<url>${repository.jenkins.staging.url}</url>
|
||||
<id>gcube-staging-java7</id>
|
||||
<name>gCube Staging Java7</name>
|
||||
<url>${repository.staging.java7.url}</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
<updatePolicy>never</updatePolicy>
|
||||
|
@ -491,9 +492,9 @@
|
|||
</releases>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>gcube-staging</id>
|
||||
<name>gCube Staging</name>
|
||||
<url>${repository.staging.url}</url>
|
||||
<id>gcube-staging-gcore</id>
|
||||
<name>gCube Staging gCore</name>
|
||||
<url>${repository.staging.gcore.url}</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
<updatePolicy>never</updatePolicy>
|
||||
|
@ -502,19 +503,6 @@
|
|||
<enabled>true</enabled>
|
||||
</releases>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>gcube-releases</id>
|
||||
<name>gCube Releases</name>
|
||||
<url>${repository.releases.url}</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
<updatePolicy>never</updatePolicy>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>never</updatePolicy>
|
||||
</releases>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>gcube-externals</id>
|
||||
<name>gCube Externals</name>
|
||||
|
@ -539,37 +527,6 @@
|
|||
</repository>
|
||||
</distributionManagement>
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.github.olivierlemasle.maven</groupId>
|
||||
<artifactId>plaintext-maven-plugin</artifactId>
|
||||
<version>${plugin.plaintext.version}</version>
|
||||
<configuration>
|
||||
<outputDirectory>${env.MAVEN_CONFIG_FOLDER}</outputDirectory>
|
||||
<files>
|
||||
<file>
|
||||
<name>build_commits.csv</name>
|
||||
<append>true</append>
|
||||
<lines>
|
||||
<line>
|
||||
${project.groupId},${project.artifactId},${project.version},${project.scm.url},${buildNumber},${repository.jenkins.staging.url},${project.build.finalName},${project.packaging}
|
||||
</line>
|
||||
</lines>
|
||||
</file>
|
||||
</files>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-file</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>write</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
</build>
|
||||
</profile>
|
||||
|
@ -582,7 +539,9 @@
|
|||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
|
||||
<properties>
|
||||
<repository>${repository.jenkins.staging.url}</repository>
|
||||
</properties>
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<repository>
|
||||
|
@ -646,37 +605,6 @@
|
|||
</repository>
|
||||
</distributionManagement>
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.github.olivierlemasle.maven</groupId>
|
||||
<artifactId>plaintext-maven-plugin</artifactId>
|
||||
<version>${plugin.plaintext.version}</version>
|
||||
<configuration>
|
||||
<outputDirectory>${env.MAVEN_CONFIG_FOLDER}</outputDirectory>
|
||||
<files>
|
||||
<file>
|
||||
<name>build_commits.csv</name>
|
||||
<append>true</append>
|
||||
<lines>
|
||||
<line>
|
||||
${project.groupId},${project.artifactId},${project.version},${project.scm.url},${buildNumber},${repository.jenkins.staging.url},${project.build.finalName},${project.packaging}
|
||||
</line>
|
||||
</lines>
|
||||
</file>
|
||||
</files>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-file</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>write</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
</build>
|
||||
</profile>
|
||||
|
@ -689,7 +617,9 @@
|
|||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
|
||||
<properties>
|
||||
<repository>${repository.jenkins.staging.java11.url}</repository>
|
||||
</properties>
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<repository>
|
||||
|
@ -765,37 +695,6 @@
|
|||
</repository>
|
||||
</distributionManagement>
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.github.olivierlemasle.maven</groupId>
|
||||
<artifactId>plaintext-maven-plugin</artifactId>
|
||||
<version>${plugin.plaintext.version}</version>
|
||||
<configuration>
|
||||
<outputDirectory>${env.MAVEN_CONFIG_FOLDER}</outputDirectory>
|
||||
<files>
|
||||
<file>
|
||||
<name>build_commits.csv</name>
|
||||
<append>true</append>
|
||||
<lines>
|
||||
<line>
|
||||
${project.groupId},${project.artifactId},${project.version},${project.scm.url},${buildNumber},${repository.jenkins.staging.java11.url},${project.build.finalName},${project.packaging}
|
||||
</line>
|
||||
</lines>
|
||||
</file>
|
||||
</files>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-file</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>write</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
</build>
|
||||
</profile>
|
||||
|
|
Loading…
Reference in New Issue