</goals>
<configuration>
<tasks>
- <copy todir="${basedir}/appserver-base">
+ <copy todir="${project.build.directory}/appserver-base">
<fileset dir="src/appserver-base"/>
</copy>
</tasks>
<path>/archiva</path>
<contextFile>${tomcatContextXml}</contextFile>
<systemProperties>
- <plexus.home>${basedir}/appserver-base</plexus.home>
- <appserver.base>${basedir}/appserver-base</appserver.base>
+ <plexus.home>${project.build.directory}/appserver-base</plexus.home>
+ <appserver.base>${project.build.directory}/appserver-base</appserver.base>
<appserver.home>${project.build.directory}/appserver-home</appserver.home>
- <derby.system.home>${basedir}/appserver-base/logs</derby.system.home>
+ <derby.system.home>${project.build.directory}/appserver-base/logs</derby.system.home>
<redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties</redback.admin.creation.file>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
</systemProperties>
<systemProperties>
<systemProperty>
<name>plexus.home</name>
- <value>${basedir}/appserver-base</value>
+ <value>${project.build.directory}/appserver-base</value>
</systemProperty>
<systemProperty>
<name>appserver.base</name>
- <value>${basedir}/appserver-base</value>
+ <value>${project.build.directory}/appserver-base</value>
</systemProperty>
<systemProperty>
<name>appserver.home</name>
</systemProperty>
<systemProperty>
<name>derby.system.home</name>
- <value>${basedir}/appserver-base/logs</value>
+ <value>${project.build.directory}/appserver-base/logs</value>
</systemProperty>
</systemProperties>
</configuration>
</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>
<profile>
<!-- profile for tomcat plugin dev an log output in the console -->
<id>dev</id>
<path>/archiva</path>
<contextFile>${tomcatContextXml}</contextFile>
<systemProperties>
- <plexus.home>${basedir}/appserver-base</plexus.home>
- <appserver.base>${basedir}/appserver-base</appserver.base>
+ <plexus.home>${project.build.directory}/appserver-base</plexus.home>
+ <appserver.base>${project.build.directory}/appserver-base</appserver.base>
<appserver.home>${project.build.directory}/appserver-home</appserver.home>
- <derby.system.home>${basedir}/appserver-base/logs</derby.system.home>
+ <derby.system.home>${project.build.directory}/appserver-base/logs</derby.system.home>
<redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties
</redback.admin.creation.file>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
<path>/archiva</path>
<contextFile>${tomcatContextXml}</contextFile>
<systemProperties>
- <plexus.home>${basedir}/appserver-base</plexus.home>
- <appserver.base>${basedir}/appserver-base</appserver.base>
+ <plexus.home>${project.build.directory}/appserver-base</plexus.home>
+ <appserver.base>${project.build.directory}/appserver-base</appserver.base>
<appserver.home>${project.build.directory}/appserver-home</appserver.home>
- <derby.system.home>${basedir}/appserver-base/logs</derby.system.home>
+ <derby.system.home>${project.build.directory}/appserver-base/logs</derby.system.home>
<redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties
</redback.admin.creation.file>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>