diff --git a/Jenkinsfile b/Jenkinsfile
index eb84621..1e8df70 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -76,8 +76,8 @@ pipeline {
sh "cd ${workspace}"
sh "git add --all || true"
sh "git commit -m \"Add generated files\" || true"
- sh "cd tdlib; mvn -s $MVN_SET -DpushChanges=false -DlocalCheckout=true -DpreparationGoals=initialize release:prepare release:perform -B"
- sh "cd tdlight; mvn -s $MVN_SET -DpushChanges=false -DlocalCheckout=true -DpreparationGoals=initialize release:prepare release:perform -B"
+ sh "cd tdlib; mvn -B -s $MVN_SET -Drevision=${BUILD_NUMBER} clean deploy"
+ sh "cd tdlight; mvn -B -s $MVN_SET -Drevision=${BUILD_NUMBER} clean deploy"
}
}
}
diff --git a/tdlib/pom.xml b/tdlib/pom.xml
index a2041c5..4c911ff 100644
--- a/tdlib/pom.xml
+++ b/tdlib/pom.xml
@@ -1,135 +1,146 @@
- 4.0.0
- it.tdlight
- tdlib-java
- 3.169.1-SNAPSHOT
- TDLib Java Wrapper
- jar
-
- UTF-8
-
-
-
-
- mchv-release
- MCHV Release Apache Maven Packages
- https://mvn.mchv.eu/repository/mchv
-
-
- mchv-snapshot
- MCHV Snapshot Apache Maven Packages
- https://mvn.mchv.eu/repository/mchv-snapshot
-
-
-
-
-
- mchv-release-distribution
- MCHV Release Apache Maven Packages Distribution
- https://mvn.mchv.eu/repository/mchv
-
-
- mchv-snapshot-distribution
- MCHV Snapshot Apache Maven Packages Distribution
- https://mvn.mchv.eu/repository/mchv-snapshot
-
-
-
- scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java.git
- scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java.git
- HEAD
-
-
-
-
- it.tdlight
- tdlib-natives-linux-amd64
- 3.0.0
-
-
- it.tdlight
- tdlib-natives-linux-aarch64
- 3.0.0
-
-
- it.tdlight
- tdlib-natives-windows-amd64
- 3.0.0
-
-
- it.tdlight
- tdlib-natives-osx-amd64
- 3.0.0
-
-
- it.cavallium
- concurrent-locks
- 1.0.5
-
-
-
- ../src/main/java
-
-
- maven-clean-plugin
- 3.1.0
-
-
- maven-resources-plugin
- 3.0.2
-
-
- maven-compiler-plugin
- 3.8.1
-
- UTF-8
-
- 1.8
-
- it/tdlight/tdlight/**
-
-
-
-
- org.apache.maven.plugins
- maven-release-plugin
- 3.0.0-M1
-
- false
- false
- clean verify
- true
- v@{project.version}
-
-
-
- maven-jar-plugin
- 3.0.2
-
-
- maven-install-plugin
- 3.0.0-M1
-
-
- maven-deploy-plugin
- 2.8.2
-
-
- org.codehaus.mojo
- templating-maven-plugin
- 1.0.0
-
-
- filtering-java-templates
-
- filter-sources
-
-
- ../src/main/java-templates-tdlib
-
-
-
-
-
-
+ 4.0.0
+ it.tdlight
+ tdlib-java
+ 3.169.${revision}
+ TDLib Java Wrapper
+ jar
+
+ UTF-8
+ 0-SNAPSHOT
+
+
+
+ mchv-release
+ MCHV Release Apache Maven Packages
+ https://mvn.mchv.eu/repository/mchv
+
+
+ mchv-snapshot
+ MCHV Snapshot Apache Maven Packages
+ https://mvn.mchv.eu/repository/mchv-snapshot
+
+
+
+
+ mchv-release-distribution
+ MCHV Release Apache Maven Packages Distribution
+ https://mvn.mchv.eu/repository/mchv
+
+
+ mchv-snapshot-distribution
+ MCHV Snapshot Apache Maven Packages Distribution
+ https://mvn.mchv.eu/repository/mchv-snapshot
+
+
+
+ scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java.git
+ scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java.git
+ HEAD
+
+
+
+ it.tdlight
+ tdlib-natives-linux-amd64
+ 3.0.0
+
+
+ it.tdlight
+ tdlib-natives-linux-aarch64
+ 3.0.0
+
+
+ it.tdlight
+ tdlib-natives-windows-amd64
+ 3.0.0
+
+
+ it.tdlight
+ tdlib-natives-osx-amd64
+ 3.0.0
+
+
+ it.cavallium
+ concurrent-locks
+ 1.0.5
+
+
+
+ ../src/main/java
+
+
+ maven-clean-plugin
+ 3.1.0
+
+
+ maven-resources-plugin
+ 3.0.2
+
+
+ maven-compiler-plugin
+ 3.8.1
+
+ UTF-8
+
+ 1.8
+
+ it/tdlight/tdlight/**
+
+
+
+
+ maven-jar-plugin
+ 3.0.2
+
+
+ maven-install-plugin
+ 3.0.0-M1
+
+
+ maven-deploy-plugin
+ 2.8.2
+
+
+ org.codehaus.mojo
+ flatten-maven-plugin
+ 1.1.0
+
+ true
+ resolveCiFriendliesOnly
+
+
+
+ flatten
+ process-resources
+
+ flatten
+
+
+
+ flatten.clean
+ clean
+
+ clean
+
+
+
+
+
+ org.codehaus.mojo
+ templating-maven-plugin
+ 1.0.0
+
+
+ filtering-java-templates
+
+ filter-sources
+
+
+ ../src/main/java-templates-tdlib
+
+
+
+
+
+
diff --git a/tdlight/pom.xml b/tdlight/pom.xml
index c328219..a87913c 100644
--- a/tdlight/pom.xml
+++ b/tdlight/pom.xml
@@ -1,162 +1,173 @@
- 4.0.0
- it.tdlight
- tdlight-java
- 3.169.1-SNAPSHOT
- TDLight Java Wrapper
- jar
-
- UTF-8
-
-
-
-
- mchv-release
- MCHV Release Apache Maven Packages
- https://mvn.mchv.eu/repository/mchv
-
-
- mchv-snapshot
- MCHV Snapshot Apache Maven Packages
- https://mvn.mchv.eu/repository/mchv-snapshot
-
-
-
-
-
- mchv-release-distribution
- MCHV Release Apache Maven Packages Distribution
- https://mvn.mchv.eu/repository/mchv
-
-
- mchv-snapshot-distribution
- MCHV Snapshot Apache Maven Packages Distribution
- https://mvn.mchv.eu/repository/mchv-snapshot
-
-
-
- scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java.git
- scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java.git
- HEAD
-
-
-
-
- it.tdlight
- tdlight-natives-linux-amd64
- 3.0.0
-
-
- it.tdlight
- tdlight-natives-linux-aarch64
- 3.0.0
-
-
- it.tdlight
- tdlight-natives-windows-amd64
- 3.0.0
-
-
- it.tdlight
- tdlight-natives-osx-amd64
- 3.0.0
-
-
- it.cavallium
- concurrent-locks
- 1.0.5
-
-
-
- ../src/main/java
-
-
- maven-clean-plugin
- 3.1.0
-
-
- maven-resources-plugin
- 3.0.2
-
-
- maven-source-plugin
- 3.2.1
-
-
- attach-sources
-
- jar
-
-
-
-
-
- maven-javadoc-plugin
- 3.2.0
-
-
-
-
-
- attach-javadocs
-
- jar
-
-
-
-
-
- maven-compiler-plugin
- 3.8.1
-
- UTF-8
-
- 1.8
-
- it/tdlight/tdlib/**
-
-
-
-
- org.apache.maven.plugins
- maven-release-plugin
- 3.0.0-M1
-
- false
- false
- clean verify
- true
- v@{project.version}
-
-
-
- maven-jar-plugin
- 3.0.2
-
-
- maven-install-plugin
- 3.0.0-M1
-
-
- maven-deploy-plugin
- 2.8.2
-
-
- org.codehaus.mojo
- templating-maven-plugin
- 1.0.0
-
-
- filtering-java-templates
-
- filter-sources
-
-
- ../src/main/java-templates-tdlight
-
-
-
-
-
-
+ 4.0.0
+ it.tdlight
+ tdlight-java
+ 3.169.${revision}
+ TDLight Java Wrapper
+ jar
+
+ UTF-8
+ 0-SNAPSHOT
+
+
+
+ mchv-release
+ MCHV Release Apache Maven Packages
+ https://mvn.mchv.eu/repository/mchv
+
+
+ mchv-snapshot
+ MCHV Snapshot Apache Maven Packages
+ https://mvn.mchv.eu/repository/mchv-snapshot
+
+
+
+
+ mchv-release-distribution
+ MCHV Release Apache Maven Packages Distribution
+ https://mvn.mchv.eu/repository/mchv
+
+
+ mchv-snapshot-distribution
+ MCHV Snapshot Apache Maven Packages Distribution
+ https://mvn.mchv.eu/repository/mchv-snapshot
+
+
+
+ scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java.git
+ scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java.git
+ HEAD
+
+
+
+ it.tdlight
+ tdlight-natives-linux-amd64
+ 3.0.0
+
+
+ it.tdlight
+ tdlight-natives-linux-aarch64
+ 3.0.0
+
+
+ it.tdlight
+ tdlight-natives-windows-amd64
+ 3.0.0
+
+
+ it.tdlight
+ tdlight-natives-osx-amd64
+ 3.0.0
+
+
+ it.cavallium
+ concurrent-locks
+ 1.0.5
+
+
+
+ ../src/main/java
+
+
+ maven-clean-plugin
+ 3.1.0
+
+
+ maven-resources-plugin
+ 3.0.2
+
+
+ maven-source-plugin
+ 3.2.1
+
+
+ attach-sources
+
+ jar
+
+
+
+
+
+ maven-javadoc-plugin
+ 3.2.0
+
+
+
+
+
+ attach-javadocs
+
+ jar
+
+
+
+
+
+ maven-compiler-plugin
+ 3.8.1
+
+ UTF-8
+
+ 1.8
+
+ it/tdlight/tdlib/**
+
+
+
+
+ org.codehaus.mojo
+ flatten-maven-plugin
+ 1.1.0
+
+ true
+ resolveCiFriendliesOnly
+
+
+
+ flatten
+ process-resources
+
+ flatten
+
+
+
+ flatten.clean
+ clean
+
+ clean
+
+
+
+
+
+ maven-jar-plugin
+ 3.0.2
+
+
+ maven-install-plugin
+ 3.0.0-M1
+
+
+ maven-deploy-plugin
+ 2.8.2
+
+
+ org.codehaus.mojo
+ templating-maven-plugin
+ 1.0.0
+
+
+ filtering-java-templates
+
+ filter-sources
+
+
+ ../src/main/java-templates-tdlight
+
+
+
+
+
+