mvn clean should also clean lesson jar files added .webgoat directory as well
This commit is contained in:
parent
b54ca61c84
commit
640e3ffb4e
@ -156,6 +156,15 @@
|
|||||||
<include>**/*.pom</include>
|
<include>**/*.pom</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileset>
|
</fileset>
|
||||||
|
<fileset>
|
||||||
|
<directory>${user.home}/.webgoat/</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**/*.jar</include>
|
||||||
|
<include>**/org/**</include>
|
||||||
|
<include>**/plugin/**</include>
|
||||||
|
</includes>
|
||||||
|
</fileset>
|
||||||
|
|
||||||
</filesets>
|
</filesets>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
@ -301,3 +310,4 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
@ -63,26 +63,6 @@
|
|||||||
<outputDirectory>../../webgoat-container/src/main/resources/plugin_lessons</outputDirectory>
|
<outputDirectory>../../webgoat-container/src/main/resources/plugin_lessons</outputDirectory>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<!-- Below is for development this will be picked up automatically by Spring and it will restart the container -->
|
|
||||||
<execution>
|
|
||||||
<id>copy-artifact-target</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<overWriteIfNewer>true</overWriteIfNewer>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<groupId>${project.groupId}</groupId>
|
|
||||||
<artifactId>${project.artifactId}</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<type>${project.packaging}</type>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
<outputDirectory>../../webgoat-container/target/classes/plugin_lessons</outputDirectory>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user