~ubuntu-branches/ubuntu/utopic/jetty/utopic-proposed

« back to all changes in this revision

Viewing changes to contrib/jetty-rewrite-handler/pom.xml

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2009-08-09 08:48:10 UTC
  • Revision ID: james.westby@ubuntu.com-20090809084810-k522b97ind2robyd
ImportĀ upstreamĀ versionĀ 6.1.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
2
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
3
  <parent>
 
4
    <artifactId>project</artifactId>
 
5
    <groupId>org.mortbay.jetty</groupId>
 
6
    <version>6.1.19</version>
 
7
    <relativePath>../../pom.xml</relativePath>
 
8
  </parent>
 
9
  <modelVersion>4.0.0</modelVersion>
 
10
  <artifactId>jetty-rewrite-handler</artifactId>
 
11
  <name>jetty-rewrite-handler</name>
 
12
  <url>http://jetty.mortbay.org</url>
 
13
 
 
14
  <description>Jetty Rewrite Handler</description>
 
15
  <build>
 
16
    <defaultGoal>install</defaultGoal>
 
17
    <resources>
 
18
      <resource>
 
19
        <directory>src/main/resources</directory>
 
20
      </resource>
 
21
    </resources>
 
22
    <testResources>
 
23
      <testResource>
 
24
        <directory>src/test/resources</directory>
 
25
      </testResource>
 
26
    </testResources>
 
27
    <plugins>
 
28
      <plugin>
 
29
        <artifactId>maven-compiler-plugin</artifactId>
 
30
        <configuration>
 
31
          <source>1.5</source>
 
32
          <target>1.5</target>
 
33
        </configuration>
 
34
      </plugin>
 
35
      <plugin>
 
36
        <artifactId>maven-antrun-plugin</artifactId>
 
37
        <executions>
 
38
          <execution>
 
39
            <id>clean</id>
 
40
            <phase>clean</phase>
 
41
            <goals>
 
42
              <goal>run</goal>
 
43
            </goals>
 
44
            <configuration>
 
45
              <tasks>
 
46
                <delete failonerror="false" file="../../lib/ext/${project.artifactId}-${project.version}.${project.packaging}" />
 
47
                <delete failonerror="false" file="../../etc/jetty-rewrite.xml" />
 
48
              </tasks>
 
49
            </configuration>
 
50
          </execution>
 
51
          <execution>
 
52
            <id>copyjar</id>
 
53
            <phase>install</phase>
 
54
            <goals>
 
55
              <goal>run</goal>
 
56
            </goals>
 
57
            <configuration>
 
58
              <tasks>
 
59
                <copy failonerror="false" file="target/${project.artifactId}-${project.version}.${project.packaging}" todir="../../lib/ext" />
 
60
                <copy failonerror="false" file="src/main/config/etc/jetty-rewrite.xml" todir="../../etc" />
 
61
              </tasks>
 
62
            </configuration>
 
63
          </execution>
 
64
        </executions>
 
65
      </plugin>
 
66
    </plugins>
 
67
  </build>
 
68
  <dependencies>
 
69
    <dependency>
 
70
      <groupId>junit</groupId>
 
71
      <artifactId>junit</artifactId>
 
72
      <scope>test</scope>
 
73
    </dependency>
 
74
    <dependency>
 
75
      <groupId>org.mortbay.jetty</groupId>
 
76
      <artifactId>jetty</artifactId>
 
77
      <version>${project.version}</version>
 
78
    </dependency>
 
79
    <dependency>
 
80
      <groupId>org.mortbay.jetty</groupId>
 
81
      <artifactId>servlet-api</artifactId>
 
82
      <version>${servlet-version}</version>
 
83
    </dependency>
 
84
    <dependency>
 
85
      <groupId>org.mortbay.jetty</groupId>
 
86
      <artifactId>jetty-servlet-tester</artifactId>
 
87
      <version>${project.version}</version>
 
88
      <scope>test</scope>
 
89
    </dependency>
 
90
  </dependencies>
 
91
</project>