Author: tchemit Date: 2012-01-13 10:46:23 +0100 (Fri, 13 Jan 2012) New Revision: 269 Url: http://forge.codelutin.com/repositories/revision/echobase/269 Log: add demo deploy profile Modified: trunk/echobase-ui/pom.xml trunk/pom.xml Modified: trunk/echobase-ui/pom.xml =================================================================== --- trunk/echobase-ui/pom.xml 2012-01-13 09:46:10 UTC (rev 268) +++ trunk/echobase-ui/pom.xml 2012-01-13 09:46:23 UTC (rev 269) @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<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> @@ -92,7 +94,7 @@ <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-runner</artifactId> </dependency> - + <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> @@ -416,5 +418,32 @@ </profile> + <profile> + <id>deploy-to-demo</id> + <build> + + <defaultGoal>verify</defaultGoal> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>wagon-maven-plugin</artifactId> + <executions> + <execution> + <phase>integration-test</phase> + <goals> + <goal>upload-single</goal> + </goals> + <configuration> + <serverId>demo.codelutin.com</serverId> + <fromFile>target/${project.build.finalName}.war</fromFile> + <url>scpexe://demo.codelutin.com/var/local/echobase/war</url> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2012-01-13 09:46:10 UTC (rev 268) +++ trunk/pom.xml 2012-01-13 09:46:23 UTC (rev 269) @@ -123,7 +123,9 @@ <!-- This version does not work (missing javax.el api in overlay) --> <!--<jettyVersion>8.0.1.v20110908</jettyVersion>--> - <hibernateVersion>3.6.8.Final</hibernateVersion> + <hibernateVersion>3.6.9.Final</hibernateVersion> + + <wagonPluginVersion>1.0-beta-3</wagonPluginVersion> <googleSearchEnabled>true</googleSearchEnabled> <!-- license header configuration --> @@ -413,6 +415,12 @@ </plugin> <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>wagon-maven-plugin</artifactId> + <version>${wagonPluginVersion}</version> + </plugin> + + <plugin> <groupId>org.nuiton.eugene</groupId> <artifactId>maven-eugene-plugin</artifactId> <version>${eugenePluginVersion}</version>
participants (1)
-
tchemit@users.forge.codelutin.com