Using maven instead of antrun to make linux-packaging more correct

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2015 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Joakim Erdfelt 2010-06-16 18:30:56 +00:00
parent 3e80a12185
commit cd35013107
1 changed files with 11 additions and 19 deletions

View File

@ -13,27 +13,19 @@
</properties>
<build>
<resources>
<resource><directory>src/main/resources</directory></resource>
<resource><directory>target/generated-resources</directory></resource>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/config/etc</directory>
<targetPath>org/eclipse/jetty/webapp</targetPath>
<filtering>false</filtering>
<includes>
<include>webdefault.xml</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy failonerror="true" file="${basedir}/src/main/config/etc/webdefault.xml" toFile="${project.build.directory}/generated-resources/org/eclipse/jetty/webapp/webdefault.xml" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
</groupId>