Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2010-06-16 18:30:56 +0000
committerJoakim Erdfelt2010-06-16 18:30:56 +0000
commitcd3501310716790103b6174b7fcc59c1c27c57ee (patch)
tree1835fe11e57b5548e5d877e564a950031f885052 /jetty-webapp/pom.xml
parent3e80a1218508964599a2011769b68a8b4b8aae2a (diff)
downloadorg.eclipse.jetty.project-cd3501310716790103b6174b7fcc59c1c27c57ee.tar.gz
org.eclipse.jetty.project-cd3501310716790103b6174b7fcc59c1c27c57ee.tar.xz
org.eclipse.jetty.project-cd3501310716790103b6174b7fcc59c1c27c57ee.zip
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
Diffstat (limited to 'jetty-webapp/pom.xml')
-rw-r--r--jetty-webapp/pom.xml30
1 files changed, 11 insertions, 19 deletions
diff --git a/jetty-webapp/pom.xml b/jetty-webapp/pom.xml
index 66e070001d..a9a19376d9 100644
--- a/jetty-webapp/pom.xml
+++ b/jetty-webapp/pom.xml
@@ -13,28 +13,20 @@
</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>
<artifactId>maven-assembly-plugin

Back to the top