aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--pom.xml8
2 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 86d0650..a489d80 100644
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,12 @@ $(RELEASE_PRODUCT): $(SOURCES)
mvn package
+.PHONY: release
+release:
+ mvn release:prepare
+ mvn release:perform
+
+
.PHONY: install
install: $(RELEASE_PRODUCT) $(MAN_PAGE)
install -d $(DESTDIR)$(datarootdir)/java
diff --git a/pom.xml b/pom.xml
index 3f4174f..ea500f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,6 +40,10 @@ along with PDF Form Replace Font2. If not, see
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
+ <scm>
+ <developerConnection>scm:git:file://${project.basedir}</developerConnection>
+ </scm>
+
<dependencies>
<dependency>
<groupId>com.itextpdf</groupId>
@@ -100,6 +104,10 @@ along with PDF Form Replace Font2. If not, see
<version>2.5.2</version>
</plugin>
<plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>3.0.0</version>
+ </plugin>
+ <plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>