Skip to content

Commit

Permalink
update release config
Browse files Browse the repository at this point in the history
  • Loading branch information
team172011 committed Sep 10, 2018
1 parent fabdf2e commit 670fde3
Showing 1 changed file with 190 additions and 185 deletions.
375 changes: 190 additions & 185 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,187 +1,192 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.ta4j</groupId>
<artifactId>ta4j-parent</artifactId>
<version>0.12-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Ta4j Parent</name>
<description>ta4j is a Java library providing a simple API for technical analysis.</description>
<url>http://github.com/ta4j/ta4j</url>
<inceptionYear>2014</inceptionYear>

<developers>
<developer>
<name>Marc de Verdelhan</name>
</developer>
<developer>
<name>Simon-Justus Wimmer</name>
</developer>
</developers>

<licenses>
<license>
<name>MIT License</name>
<comments>All source code is under the MIT license.</comments>
</license>
</licenses>

<issueManagement>
<system>GitHub</system>
<url>http://github.com/ta4j/ta4j/issues</url>
</issueManagement>

<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus snapshot repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Sonatype Nexus release repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<ciManagement>
<url>http://travis-ci.org/ta4j/ta4j</url>
</ciManagement>

<scm>
<connection>scm:git:git://github.com/ta4j/ta4j.git</connection>
<developerConnection>scm:git:git@github.com:ta4j/ta4j.git</developerConnection>
<url>http://github.com/ta4j/ta4j</url>
<tag>0.11</tag>
</scm>

<modules>
<module>ta4j-core</module>
<module>ta4j-examples</module>
</modules>

<properties>
<!-- Encoding -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<profiles>

<!-- Only when performing a release (i.e. not for snapshots) -->
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6</version>
<extensions>true</extensions>
<configuration>
<!-- The Base URL of Nexus instance where we want to stage -->
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!-- The server "id" element from settings to use authentication from -->
<serverId>sonatype-nexus-staging</serverId>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- Artifact signing -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

</profiles>

<build>
<plugins>

<!-- Build source and target -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<!-- Package sources -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- License headers -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
<configuration>
<header>LICENSE</header>
<includes>
<include>**/*.java</include>
</includes>
</configuration>
</plugin>

<!-- Releases -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-invoker</artifactId>
<version>2.2</version>
</dependency>
</dependencies>
</plugin>

</plugins>
</build>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.ta4j</groupId>
<artifactId>ta4j-parent</artifactId>
<version>0.12-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Ta4j Parent</name>
<description>ta4j is a Java library providing a simple API for technical analysis.</description>
<url>http://github.com/ta4j/ta4j</url>
<inceptionYear>2014</inceptionYear>

<developers>
<developer>
<name>Marc de Verdelhan</name>
</developer>
<developer>
<name>Simon-Justus Wimmer</name>
</developer>
</developers>

<licenses>
<license>
<name>MIT License</name>
<comments>All source code is under the MIT license.</comments>
</license>
</licenses>

<issueManagement>
<system>GitHub</system>
<url>http://github.com/ta4j/ta4j/issues</url>
</issueManagement>

<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus snapshot repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Sonatype Nexus release repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<ciManagement>
<url>http://travis-ci.org/ta4j/ta4j</url>
</ciManagement>

<scm>
<connection>scm:git:git://github.com/ta4j/ta4j.git</connection>
<developerConnection>scm:git:git@github.com:ta4j/ta4j.git</developerConnection>
<url>http://github.com/ta4j/ta4j</url>
<tag>0.11</tag>
</scm>

<modules>
<module>ta4j-core</module>
<module>ta4j-examples</module>
</modules>

<properties>
<!-- Encoding -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<profiles>

<!-- Only when performing a release (i.e. not for snapshots) -->
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6</version>
<extensions>true</extensions>
<configuration>
<!-- The Base URL of Nexus instance where we want to stage -->
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!-- The server "id" element from settings to use authentication from -->
<serverId>sonatype-nexus-staging</serverId>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- Artifact signing -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

</profiles>

<build>
<plugins>

<!-- Build source and target -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<!-- Package sources -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- License headers -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
<configuration>
<header>LICENSE</header>
<includes>
<include>**/*.java</include>
</includes>
</configuration>
</plugin>

<!-- Releases -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-invoker</artifactId>
<version>2.2</version>
</dependency>
</dependencies>
</plugin>

</plugins>
</build>

</project>

0 comments on commit 670fde3

Please sign in to comment.