configure tomcat maven plugin too
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/de31ac34 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/de31ac34 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/de31ac34 Branch: refs/heads/master Commit: de31ac34b4f727e098704632be6c9aad3c6a58fd Parents: f6f1be6 Author: olivier lamy <[email protected]> Authored: Wed Aug 29 00:05:56 2012 +0200 Committer: olivier lamy <[email protected]> Committed: Wed Aug 29 00:05:56 2012 +0200 ---------------------------------------------------------------------- README.md | 10 ++++++++++ client/pom.xml | 1 - pom.xml | 6 ++++++ 3 files changed, 16 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/de31ac34/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index ebf4fa5..25f6246 100644 --- a/README.md +++ b/README.md @@ -44,3 +44,13 @@ http://cloudstack.org/download.html #Maven build Some third parties jars are non available in Maven central. So install it with: cd deps&&sh ./install-non-oss.sh + +to run webapp client: +mvn org.apache.tomcat.maven:tomcat7-maven-plugin:2.0-beta-1:run -pl :cloud-client-ui -am +then hit: http://localhost:8080/cloud-client-ui/ +or add in your ~/.m2/settings.xml + <pluginGroups> + <pluginGroup>org.apache.tomcat.maven</pluginGroup> + </pluginGroups> +and save your fingers with mvn tomcat7:run -pl :cloud-client-ui -am + http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/de31ac34/client/pom.xml ---------------------------------------------------------------------- diff --git a/client/pom.xml b/client/pom.xml index 1525a7c..502d023 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -168,7 +168,6 @@ <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> - <version>2.0-beta-1</version> <configuration> <tomcatWebXml>${basedir}/WEB-INF/web.xml</tomcatWebXml> <warSourceDirectory>./target/generated-webapp</warSourceDirectory> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/de31ac34/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 21592c9..dc50817 100644 --- a/pom.xml +++ b/pom.xml @@ -157,6 +157,7 @@ <module>vmware-base</module> <module>plugins</module> <module>awsapi</module> + <module>client</module> </modules> <dependencies> @@ -173,6 +174,11 @@ <pluginManagement> <plugins> <plugin> + <groupId>org.apache.tomcat.maven</groupId> + <artifactId>tomcat7-maven-plugin</artifactId> + <version>2.0-beta-1</version> + </plugin> + <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>0.8</version>
