aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2023-04-27 00:44:32 +0200
committerTeddy Wing2023-04-27 00:49:04 +0200
commit554427809228124c2a09936ab6eb5236a522d057 (patch)
tree952e868f6d76ee8735f01bbaec824907316235a0
parent8106747e2e5e3431a5631e7ed126ff6007f6974e (diff)
downloadpdf-form-replace-font2-554427809228124c2a09936ab6eb5236a522d057.tar.bz2
Set up Maven release plugin
-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>