mirror of
https://github.com/apache/archiva.git
synced 2025-02-06 10:09:32 +00:00
run Jetty from outside the target so that you have to use -PcleanJetty to clean up, generally persisting the server and configuration that you used across clean builds
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@721951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6a109eb2e9
commit
1e4179f5f2
@ -353,11 +353,11 @@
|
|||||||
<systemProperties>
|
<systemProperties>
|
||||||
<systemProperty>
|
<systemProperty>
|
||||||
<name>plexus.home</name>
|
<name>plexus.home</name>
|
||||||
<value>${project.build.directory}/appserver-base</value>
|
<value>${basedir}/appserver-base</value>
|
||||||
</systemProperty>
|
</systemProperty>
|
||||||
<systemProperty>
|
<systemProperty>
|
||||||
<name>appserver.base</name>
|
<name>appserver.base</name>
|
||||||
<value>${project.build.directory}/appserver-base</value>
|
<value>${basedir}/appserver-base</value>
|
||||||
</systemProperty>
|
</systemProperty>
|
||||||
<systemProperty>
|
<systemProperty>
|
||||||
<name>appserver.home</name>
|
<name>appserver.home</name>
|
||||||
@ -365,7 +365,7 @@
|
|||||||
</systemProperty>
|
</systemProperty>
|
||||||
<systemProperty>
|
<systemProperty>
|
||||||
<name>derby.system.home</name>
|
<name>derby.system.home</name>
|
||||||
<value>${project.build.directory}/appserver-base/logs</value>
|
<value>${basedir}/appserver-base/logs</value>
|
||||||
</systemProperty>
|
</systemProperty>
|
||||||
</systemProperties>
|
</systemProperties>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -444,7 +444,7 @@
|
|||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<tasks>
|
||||||
<copy todir="${project.build.directory}/appserver-base">
|
<copy todir="${basedir}/appserver-base">
|
||||||
<fileset dir="src/appserver-base" />
|
<fileset dir="src/appserver-base" />
|
||||||
</copy>
|
</copy>
|
||||||
</tasks>
|
</tasks>
|
||||||
@ -497,5 +497,35 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>cleanJetty</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>cleanJetty</id>
|
||||||
|
<phase>clean</phase>
|
||||||
|
<configuration>
|
||||||
|
<filesets>
|
||||||
|
<fileset>
|
||||||
|
<directory>${basedir}/appserver-base</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**/**</include>
|
||||||
|
</includes>
|
||||||
|
</fileset>
|
||||||
|
</filesets>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>clean</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user