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
|
||||
using a command shell/window:
|
||||
|
||||
> mvn tomcat:run-war
|
||||
> mvn tomcat7:run-war
|
||||
|
||||
|
||||
Maven will run the project in an embedded tomcat.
|
||||
|
21
pom.xml
21
pom.xml
@ -101,15 +101,13 @@
|
||||
<contextReloadable>true</contextReloadable>
|
||||
<useSeparateTomcatClassLoader>true</useSeparateTomcatClassLoader>
|
||||
<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>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.owasp.webgoat</groupId>
|
||||
<artifactId>webgoat-classloader</artifactId>
|
||||
<version>6.1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.owasp.webgoat</groupId>
|
||||
<artifactId>webgoat-container</artifactId>
|
||||
@ -123,6 +121,15 @@
|
||||
<goal>exec-war-only</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
<configuration>
|
||||
<extraDependencies>
|
||||
<extraDependency>
|
||||
<groupId>org.owasp.webgoat</groupId>
|
||||
<artifactId>webgoat-classloader</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</extraDependency>
|
||||
</extraDependencies>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
Loading…
x
Reference in New Issue
Block a user