Change build to be able to release entirely from command line

This commit is contained in:
Moandji Ezana 2017-08-05 15:55:00 +02:00
parent 1fdfe4b4ad
commit 885e536836
2 changed files with 41 additions and 49 deletions

View file

@ -9,6 +9,7 @@
## Fixed
* [tomlWriter.write NullPointerException in JDK9](https://github.com/mwanji/toml4j/issues/46) (thanks to __[iwangxiaodong](https://github.com/iwangxiaodong)__)
* Change build to be able to release a new version entirely from the command line
## 0.7.1 / 2016-07-27

35
pom.xml
View file

@ -116,13 +116,19 @@
<goals>deploy</goals>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
@ -137,19 +143,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
@ -165,6 +158,4 @@
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>