summaryrefslogtreecommitdiff
path: root/doc/note/maven/maven.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/note/maven/maven.txt')
-rw-r--r--doc/note/maven/maven.txt24
1 files changed, 20 insertions, 4 deletions
diff --git a/doc/note/maven/maven.txt b/doc/note/maven/maven.txt
index eb55ba0..a9fd248 100644
--- a/doc/note/maven/maven.txt
+++ b/doc/note/maven/maven.txt
@@ -4,14 +4,18 @@ Maven
mvn dependency:help -Ddetail=true
-mvn versions:set -DgenerateBackupPoms=false -DnewVersion=
+mvn versions:set -DgenerateBackupPoms=false -DallowSnapshots=true -DnewVersion=
mvn versions:set -DgenerateBackupPoms=false -DnextSnapshot
-mvn versions:update-parent -DparentVersion=
+mvn versions:update-parent -DgenerateBackupPoms=false -DallowDowngrade=true -DallowSnapshots=true -DforceUpdate=true -DskipResolution=true -DparentVersion=YOUR_VERSION
-mvn versions:set-property -Dproperty=foo.bar -DnewVersion=gugus
+mvn versions:set-property -DgenerateBackupPoms=false -DallowSnapshots=true -Dproperty=foo.bar -DnewVersion=gugus
+export MAVEN_OPTS="..."
+
+## Get project version without any other bullshit
+mvn help:evaluate -o -q -DforceStdout -Dexpression=project.version && echo
## Deploy paisa snapshot
mvn deploy -DaltDeploymentRepository=artifactory-snapshots::default::https://artifactory.tools.pnet.ch/artifactory/libs-snapshot-local
@@ -21,6 +25,18 @@ mvn deploy -DaltDeploymentRepository=artifactory-snapshots::default::https://art
mvn deploy -Dcmake.generate.skip=true -Dcmake.compile.skip=true -DaltDeploymentRepository=artifactory-releases::default::https://artifactory.tools.pnet.ch/artifactory/libs-release-local
+true \
+ && DEPLOPTS= \
+ && `# Deploy custom gateleen build 20240206` \
+ && mvn clean install -pl '!gateleen-hook-js,!gateleen-playground' \
+ && mvn deploy -DskipTests -pl '!gateleen-hook-js,!gateleen-playground' ${DEPLOPTS:?} \
+ && `# Deploy custom houston build 20240216` \
+ && jenkinsbuild-by-upstream \
+ #&& mvn clean install \
+ #&& mvn deploy -DskipTests ${DEPLOPTS:?} \
+ && true
+
+
## Run e2e locally
mvn verify -U -DSelBaseUrl=http://localhost:7012/apigateway/services/foo/index.html -Dskip.tests=false -Dserver.host=localhost -Dserver.port=7012 -Ptestsuite
@@ -29,6 +45,6 @@ mvn verify -U -DSelBaseUrl=http://localhost:7012/apigateway/services/foo/index.h
mvn dependency:go-offline
-(See als "https://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html")
+[See also](https://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html)