Merge pull request #12227 from s1monw/release_profile
Add a release profile to the parent pom.xml
This commit is contained in:
commit
b159a36559
38
pom.xml
38
pom.xml
|
@ -106,6 +106,7 @@
|
|||
<skip.integ.tests>${skipTests}</skip.integ.tests>
|
||||
<integ.scratch>${project.build.directory}/integ-tests</integ.scratch>
|
||||
<integ.temp>${integ.scratch}/temp</integ.temp>
|
||||
<no.commit.pattern>\bno(n|)commit\b</no.commit.pattern>
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
|
@ -504,6 +505,9 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>2.8.2</version>
|
||||
<configuration>
|
||||
<deployAtEnd>true</deployAtEnd> <!-- all or nothing -->
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
@ -1240,8 +1244,8 @@ org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UT
|
|||
<exclude name="**/.idea/**/*"/>
|
||||
<exclude name="**/eclipse-build/**/*"/>
|
||||
<or>
|
||||
<containsregexp expression="\bno(n|)commit\b" casesensitive="no"/>
|
||||
<containsregexp expression="\t" casesensitive="no"/>
|
||||
<containsregexp expression="${no.commit.pattern}" casesensitive="no"/>
|
||||
</or>
|
||||
</fileset>
|
||||
<map from="${basedir}${file.separator}" to="* "/>
|
||||
|
@ -1339,6 +1343,38 @@ org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UT
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<properties>
|
||||
<package.rpm>true</package.rpm>
|
||||
<no.commit.pattern>\bno(n|)(release|commit)\b</no.commit.pattern> <!-- check for no-commit / no-release -->
|
||||
<forbidden.test.signatures>org.apache.lucene.util.LuceneTestCase$AwaitsFix @ Please fix all bugs before release</forbidden.test.signatures>
|
||||
</properties>
|
||||
<build>
|
||||
<!-- sign the artifacts with GPG -->
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<keyname>${gpg.keyname}</keyname>
|
||||
<passphrase>${gpg.passphrase}</passphrase>
|
||||
<defaultKeyring>${gpg.keyring}</defaultKeyring>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<!-- license profile, to generate third party license file -->
|
||||
<profile>
|
||||
<id>license</id>
|
||||
|
|
Loading…
Reference in New Issue