Skip to content

Commit

Permalink
[maven-release-plugin] prepare release cerberus-testing-4.14
Browse files Browse the repository at this point in the history
  • Loading branch information
vertigo17 committed May 7, 2022
1 parent 53ddbc3 commit f9bc86a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<groupId>org.cerberus</groupId>
<artifactId>cerberus-testing</artifactId>
<version>4.14-SNAPSHOT</version>
<version>4.14</version>
<packaging>pom</packaging>

<name>Cerberus Testing</name>
Expand All @@ -37,7 +37,7 @@

<scm>
<developerConnection>scm:git:https://github.com/cerberustesting/cerberus-source.git</developerConnection>
<tag>HEAD</tag>
<tag>cerberus-testing-4.14</tag>
</scm>

<modules>
Expand Down
19 changes: 7 additions & 12 deletions source/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
along with Cerberus. If not, see <http://www.gnu.org/licenses />.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>org.cerberus</groupId>
<artifactId>cerberus</artifactId>
<version>4.14-SNAPSHOT</version>
<version>4.14</version>
<packaging>war</packaging>

<name>Cerberus</name>
Expand Down Expand Up @@ -249,7 +248,7 @@
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>${jna.version}</version>
<classifier/>
<classifier />
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
Expand Down Expand Up @@ -806,20 +805,16 @@
<configuration>
<target>
<!-- Upload artifact -->
<echo message="Uploading artifact to QA server..."/>
<scp file="${project.build.directory}/${project.build.finalName}.zip"
todir="${cerberus.demo.qa.username}@${cerberus.demo.host}:${cerberus.demo.upload.path}"
password="${cerberus.demo.qa.password}" trust="yes"/>
<echo message="Uploading artifact to QA server..." />
<scp file="${project.build.directory}/${project.build.finalName}.zip" todir="${cerberus.demo.qa.username}@${cerberus.demo.host}:${cerberus.demo.upload.path}" password="${cerberus.demo.qa.password}" trust="yes" />
<!--
Deploy artifact by:
1. Extracting distribution package to the server's upload path;
2. Redeploying current application
3. Restarting current cluster.
-->
<echo message="Deploying..."/>
<sshexec host="${cerberus.demo.host}" username="${cerberus.demo.qa.username}"
password="${cerberus.demo.qa.password}" trust="yes"
command="unzip -o ${cerberus.demo.upload.path}/${project.build.finalName}.zip -d ${cerberus.demo.upload.path} &amp;&amp; ( ${cerberus.demo.tomcat.deploy} ${cerberus.demo.upload.path}/${project.build.finalName}/${project.build.finalName}.war )"/>
<echo message="Deploying..." />
<sshexec host="${cerberus.demo.host}" username="${cerberus.demo.qa.username}" password="${cerberus.demo.qa.password}" trust="yes" command="unzip -o ${cerberus.demo.upload.path}/${project.build.finalName}.zip -d ${cerberus.demo.upload.path} &amp;&amp; ( ${cerberus.demo.tomcat.deploy} ${cerberus.demo.upload.path}/${project.build.finalName}/${project.build.finalName}.war )" />
</target>
</configuration>
</execution>
Expand Down

0 comments on commit f9bc86a

Please sign in to comment.