diff options
author | Ilia Motornyi <elmot@vaadin.com> | 2017-02-28 09:50:23 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-02-28 09:50:23 +0200 |
commit | 0e7b21b78863d5680e279256c929cd0203bb25e4 (patch) | |
tree | c2289f286a9f664ccbe56fb8e6cb78188d585509 /uitest | |
parent | 78cac3560bbbeb5de47211f7d89daac72dca76ad (diff) | |
download | vaadin-framework-0e7b21b78863d5680e279256c929cd0203bb25e4.tar.gz vaadin-framework-0e7b21b78863d5680e279256c929cd0203bb25e4.zip |
Easy DevelopmentServerLauncher run with maven (#8677)
Add Maven target for running or debugging the development
server and instructions for IDEA.
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/pom.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/uitest/pom.xml b/uitest/pom.xml index 5473a9d2f8..640d6f9150 100644 --- a/uitest/pom.xml +++ b/uitest/pom.xml @@ -356,6 +356,46 @@ <skip>true</skip> </configuration> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.5.0</version> + <executions> + <execution> + <id>run-development-server</id> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <executable>java</executable> + <arguments> + <argument>-ea</argument> + <argument>-classpath</argument> + <classpath/> + <argument>com.vaadin.launcher.DevelopmentServerLauncher</argument> + </arguments> + <classpathScope>test</classpathScope> + </configuration> + </execution> + <execution> + <id>debug-development-server</id> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <executable>java</executable> + <arguments> + <argument>-ea</argument> + <argument>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</argument> + <argument>-classpath</argument> + <classpath/> + <argument>com.vaadin.launcher.DevelopmentServerLauncher</argument> + </arguments> + <classpathScope>test</classpathScope> + </configuration> + </execution> + </executions> + </plugin> </plugins> <pluginManagement> <plugins> |