Moved extra dependencies of tomcat plugin to right place
Updated documentation
This commit is contained in:
parent
2c55ec5747
commit
28a2d01ba3
@ -83,7 +83,7 @@ After opening the project in Netbeans/IntelliJ/Eclipse, you can easily run the p
|
|||||||
1. Maven-Tomcat Plugin
|
1. Maven-Tomcat Plugin
|
||||||
using a command shell/window:
|
using a command shell/window:
|
||||||
|
|
||||||
> mvn tomcat:run-war
|
> mvn tomcat7:run-war
|
||||||
|
|
||||||
|
|
||||||
Maven will run the project in an embedded tomcat.
|
Maven will run the project in an embedded tomcat.
|
||||||
|
21
pom.xml
21
pom.xml
@ -101,15 +101,13 @@
|
|||||||
<contextReloadable>true</contextReloadable>
|
<contextReloadable>true</contextReloadable>
|
||||||
<useSeparateTomcatClassLoader>true</useSeparateTomcatClassLoader>
|
<useSeparateTomcatClassLoader>true</useSeparateTomcatClassLoader>
|
||||||
<contextFile>${project.basedir}/src/main/webapp/WEB-INF/context.xml</contextFile>
|
<contextFile>${project.basedir}/src/main/webapp/WEB-INF/context.xml</contextFile>
|
||||||
<extraDependencies>
|
|
||||||
<extraDependency>
|
|
||||||
<groupId>org.owasp.webgoat</groupId>
|
|
||||||
<artifactId>webgoat-classloader</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
</extraDependency>
|
|
||||||
</extraDependencies>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.owasp.webgoat</groupId>
|
||||||
|
<artifactId>webgoat-classloader</artifactId>
|
||||||
|
<version>6.1.0</version>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.owasp.webgoat</groupId>
|
<groupId>org.owasp.webgoat</groupId>
|
||||||
<artifactId>webgoat-container</artifactId>
|
<artifactId>webgoat-container</artifactId>
|
||||||
@ -123,6 +121,15 @@
|
|||||||
<goal>exec-war-only</goal>
|
<goal>exec-war-only</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
|
<configuration>
|
||||||
|
<extraDependencies>
|
||||||
|
<extraDependency>
|
||||||
|
<groupId>org.owasp.webgoat</groupId>
|
||||||
|
<artifactId>webgoat-classloader</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
</extraDependency>
|
||||||
|
</extraDependencies>
|
||||||
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user