Skip to content

Commit

Permalink
Moved extra dependencies of tomcat plugin to right place
Browse files Browse the repository at this point in the history
Updated documentation
  • Loading branch information
nbaars committed Aug 11, 2015
1 parent 2c55ec5 commit 28a2d01
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
21 changes: 14 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 28a2d01

Please sign in to comment.