You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2020/04/24 15:32:21 UTC
[incubator-streampipes-extensions] 01/03: Add release settings to
extensions POM file
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
commit 5e255c400e8efe45ff7a15afa25c3a0171179479
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Fri Apr 24 14:42:55 2020 +0200
Add release settings to extensions POM file
---
pom.xml | 122 +++++++++++++++++++++++++++++++---------------------------------
1 file changed, 60 insertions(+), 62 deletions(-)
diff --git a/pom.xml b/pom.xml
index d67d7ca..be76ba9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -355,75 +355,82 @@
<profiles>
<profile>
- <id>release</id>
- <activation>
- <property>
- <name>release</name>
- </property>
- </activation>
+ <id>apache-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
+ <artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
- <id>attach-javadocs</id>
+ <id>source-release-assembly</id>
+ <phase>package</phase>
<goals>
- <goal>jar</goal>
+ <goal>single</goal>
</goals>
+ <configuration combine.self="append">
+ <finalName>apache-streampipes-extensions-${project.version}-incubating</finalName>
+ </configuration>
</execution>
</executions>
- <configuration>
- <failOnError>false</failOnError>
- <doclint>none</doclint>
- <additionalJOption>-Xdoclint:none</additionalJOption>
- </configuration>
</plugin>
<plugin>
- <groupId>external.atlassian.jgitflow</groupId>
- <artifactId>jgitflow-maven-plugin</artifactId>
- <version>1.0-m5.1</version>
- <configuration>
- <flowInitContext>
- <masterBranchName>master</masterBranchName>
- <developBranchName>dev</developBranchName>
- <featureBranchPrefix>feature-</featureBranchPrefix>
- <releaseBranchPrefix>release-</releaseBranchPrefix>
- <hotfixBranchPrefix>hotfix-</hotfixBranchPrefix>
- </flowInitContext>
- <noDeploy>true</noDeploy>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- <pushReleases>false</pushReleases>
- <localOnly>true</localOnly>
- <squash>false</squash>
- <scmCommentPrefix>[RELEASE] [skip-ci]</scmCommentPrefix>
- <enableSshAgent>true</enableSshAgent>
- </configuration>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <version>1.8</version>
+ <executions>
+ <execution>
+ <id>sign-source-release</id>
+ <phase>package</phase>
+ <goals>
+ <goal>files</goal>
+ </goals>
+ <configuration>
+ <algorithms>
+ <algorithm>SHA-512</algorithm>
+ </algorithms>
+ <fileSets>
+ <fileSet>
+ <directory>${project.build.directory}</directory>
+ <includes>
+ <include>apache-streampipes-extensions-${project.version}-incubating.zip
+ </include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>1.6</version>
+ <artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
- <id>sign-artifacts</id>
- <phase>verify</phase>
+ <id>attach-javadocs</id>
<goals>
- <goal>sign</goal>
+ <goal>jar</goal>
</goals>
+ <configuration>
+ <additionalJOption>-Xdoclint:none</additionalJOption>
+ <doclint>none</doclint>
+ <source>8</source>
+ </configuration>
</execution>
</executions>
- <configuration>
- <gpgArguments>
- <arg>--pinentry-mode</arg>
- <arg>loopback</arg>
- </gpgArguments>
- </configuration>
</plugin>
</plugins>
</build>
</profile>
+ <profile>
+ <id>java8-doclint-disabled</id>
+ <activation>
+ <jdk>[1.8,)</jdk>
+ </activation>
+ <properties>
+ <javadoc.opts>-Xdoclint:none</javadoc.opts>
+ </properties>
+ </profile>
</profiles>
<build>
@@ -496,6 +503,13 @@
<skip>true</skip>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <arguments>-Papache-release -Dmaven.deploy.skip=true</arguments>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -566,11 +580,6 @@
</rules>
</configuration>
</plugin>
-<!-- <plugin>-->
-<!-- <groupId>org.streampipes</groupId>-->
-<!-- <artifactId>streampipes-maven-plugin</artifactId>-->
-<!-- <version>1.0-SNAPSHOT</version>-->
-<!-- </plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
@@ -592,21 +601,10 @@
</plugins>
</build>
- <repositories>
- <repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>https://repository.apache.org/snapshots</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- </repository>
- </repositories>
<scm>
- <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
- </developerConnection>
- <connection>scm:git:https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git</connection>
+ <developerConnection>scm:git:ssh://git@github.com/apache/incubator-streampipes-extensions.git</developerConnection>
+ <connection>scm:git:ssh://git@github.com/apache/incubator-streampipes-extensions.git</connection>
<url>https://github.com/apache/incubator-streampipes-extensions</url>
</scm>