<systemProperties>
<systemProperty>
<name>plexus.home</name>
- <value>${project.build.directory}/appserver-base</value>
+ <value>${basedir}/appserver-base</value>
</systemProperty>
<systemProperty>
<name>appserver.base</name>
- <value>${project.build.directory}/appserver-base</value>
+ <value>${basedir}/appserver-base</value>
</systemProperty>
<systemProperty>
<name>appserver.home</name>
</systemProperty>
<systemProperty>
<name>derby.system.home</name>
- <value>${project.build.directory}/appserver-base/logs</value>
+ <value>${basedir}/appserver-base/logs</value>
</systemProperty>
</systemProperties>
</configuration>
</goals>
<configuration>
<tasks>
- <copy todir="${project.build.directory}/appserver-base">
+ <copy todir="${basedir}/appserver-base">
<fileset dir="src/appserver-base" />
</copy>
</tasks>
</plugins>
</build>
</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>
</project>