diff options
Diffstat (limited to 'wotonomy-web-test/pom.xml')
| -rw-r--r-- | wotonomy-web-test/pom.xml | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/wotonomy-web-test/pom.xml b/wotonomy-web-test/pom.xml index ce0ee17..a75012d 100644 --- a/wotonomy-web-test/pom.xml +++ b/wotonomy-web-test/pom.xml @@ -48,7 +48,22 @@ <version>1.0-alpha5-SNAPSHOT</version> </dependency> </dependencies> - + <profiles> + <profile> + <id>local</id> + <properties> + <deploy.serverURL>http://localhost:8080</deploy.serverURL> + <deploy.serverName>local-tomcat</deploy.serverName> + </properties> + </profile> + <profile> + <id>remote</id> + <properties> + <deploy.serverURL>https://blog.ashardalon.com/</deploy.serverURL> + <deploy.serverName>ashardalon-tomcat</deploy.serverName> + </properties> + </profile> + </profiles> <build> <finalName>wotonomy-web-test</finalName> <plugins> @@ -75,19 +90,17 @@ </dependency> </dependencies> </plugin> - <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.0.0</version> </plugin> - <plugin> <groupId>com.ashardalon</groupId> <artifactId>slim-tomcat-maven-plugin</artifactId> <version>1.1-SNAPSHOT</version> <configuration> - <serverURL>https://blog.ashardalon.com/</serverURL> - <serverName>ashardalon-tomcat</serverName> + <serverURL>${deploy.serverURL}</serverURL> + <serverName>${deploy.serverName}</serverName> <appPath>/wotonomy</appPath> <update>true</update> </configuration> |
