From 9924a8bba9c88538a834f4a6dbee3629492c56da Mon Sep 17 00:00:00 2001 From: JKetelaar Date: Mon, 14 Sep 2015 13:49:21 +0200 Subject: [PATCH] Updated POM --- .gitignore | 1 - deploy/clean.bat | 1 + deploy/deploy.bat | 4 ++++ deploy/package.bat | 1 + pom.xml | 18 ++++++++++++++++-- 5 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 deploy/clean.bat create mode 100644 deploy/deploy.bat create mode 100644 deploy/package.bat diff --git a/.gitignore b/.gitignore index 5dd0079..bd0295e 100644 --- a/.gitignore +++ b/.gitignore @@ -118,5 +118,4 @@ buildNumber.properties ### Custom parabotv2 -deploy releases \ No newline at end of file diff --git a/deploy/clean.bat b/deploy/clean.bat new file mode 100644 index 0000000..2f3d3e5 --- /dev/null +++ b/deploy/clean.bat @@ -0,0 +1 @@ +mvn clean \ No newline at end of file diff --git a/deploy/deploy.bat b/deploy/deploy.bat new file mode 100644 index 0000000..8c33c82 --- /dev/null +++ b/deploy/deploy.bat @@ -0,0 +1,4 @@ +mvn install:install-file -DgroupId=${project.groupId} -DartifactId=${project.artifactId} -Dversion=${project.version} -Dpackaging=jar -Dfile=../target/${project.build.finalName}.jar -DlocalRepositoryPath=../../Maven-Repository + +:: mvn install:install-file -DgroupId=org.parabot -DartifactId=client -Dversion=2.2.3 -Dpackaging=jar -Dfile=../target/Parabot-V2.2.3.jar -DlocalRepositoryPath=../../Maven-Repository +:: mvn install:install-file -DgroupId=org.parabot -DartifactId=client -Dversion=2.2.32 -Dpackaging=jar -Dfile=../target/Parabot-V2.2.32.jar -DlocalRepositoryPath=../../Maven-Repository \ No newline at end of file diff --git a/deploy/package.bat b/deploy/package.bat new file mode 100644 index 0000000..5b5d577 --- /dev/null +++ b/deploy/package.bat @@ -0,0 +1 @@ +mvn package \ No newline at end of file diff --git a/pom.xml b/pom.xml index 9b28b65..e5dd71e 100644 --- a/pom.xml +++ b/pom.xml @@ -5,8 +5,8 @@ 4.0.0 org.parabot - parabot-client - 2.2.3 + client + 2.2.32 jar @@ -53,6 +53,20 @@ src/main/resources true + + deploy + true + + deploy.bat + package.bat + clean.bat + + + + + + +