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

« back to all changes in this revision

Viewing changes to modules/jsp-2.1/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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
2
  <parent>
 
3
    <artifactId>project</artifactId>
 
4
    <groupId>org.mortbay.jetty</groupId>
 
5
    <version>6.1.19</version>
 
6
    <relativePath>../../pom.xml</relativePath>
 
7
  </parent>
 
8
  <modelVersion>4.0.0</modelVersion>
 
9
  <artifactId>jsp-2.1-jetty</artifactId>
 
10
  <name>Glassfish Jasper</name>
 
11
  <description>JSP2.1 Jasper implementation from Glassfish</description>
 
12
  <licenses>
 
13
    <license>
 
14
      <name>CDDL 1.0</name>
 
15
      <url>https://glassfish.dev.java.net/public/CDDLv1.0.html</url>
 
16
    </license>
 
17
  </licenses>
 
18
  <build>
 
19
    <defaultGoal>install</defaultGoal>
 
20
    <resources>
 
21
      <resource>
 
22
        <directory>src/main/resources</directory>
 
23
      </resource>
 
24
      <resource>
 
25
        <directory>target/generated-sources</directory>
 
26
        <includes>
 
27
          <include>**/*.properties</include>
 
28
          <include>**/*.xml</include>
 
29
          <include>**/*.tld</include>
 
30
        </includes>
 
31
      </resource>
 
32
    </resources>
 
33
    <plugins>
 
34
      <plugin>
 
35
        <artifactId>maven-compiler-plugin</artifactId>
 
36
        <configuration>
 
37
          <source>1.5</source>
 
38
          <target>1.5</target>
 
39
          <compilerArgument>-nowarn </compilerArgument>
 
40
        </configuration>
 
41
      </plugin>
 
42
      <plugin>
 
43
          <groupId>org.apache.maven.plugins</groupId>
 
44
          <artifactId>maven-dependency-plugin</artifactId>
 
45
          <executions>
 
46
            <execution>
 
47
            <phase>install</phase>
 
48
            <goals>
 
49
              <goal>copy</goal>
 
50
            </goals>
 
51
            <configuration>
 
52
              <artifactItems>
 
53
                <artifactItem>
 
54
                  <groupId>ant</groupId>
 
55
                  <artifactId>ant</artifactId>
 
56
                  <version>${ant-version}</version>
 
57
                </artifactItem>
 
58
               <artifactItem>
 
59
                  <groupId>org.eclipse.jdt</groupId>
 
60
                  <artifactId>core</artifactId>
 
61
                  <version>${eclipse-compiler-version}</version>
 
62
                </artifactItem>
 
63
               <artifactItem>
 
64
                  <groupId>org.mortbay.jetty</groupId>
 
65
                  <artifactId>jsp-api-2.1-glassfish</artifactId>
 
66
                  <version>${jsp21-version}</version>
 
67
                </artifactItem>
 
68
               <artifactItem>
 
69
                  <groupId>org.mortbay.jetty</groupId>
 
70
                  <artifactId>jsp-2.1-glassfish</artifactId>
 
71
                  <version>${jsp21-version}</version>
 
72
                </artifactItem>
 
73
              </artifactItems>
 
74
              <outputDirectory>${basedir}/../../lib/jsp-2.1</outputDirectory>
 
75
            </configuration>
 
76
          </execution>
 
77
          </executions>
 
78
      </plugin>
 
79
       <plugin>
 
80
            <groupId>org.codehaus.mojo</groupId>
 
81
            <artifactId>build-helper-maven-plugin</artifactId>
 
82
            <version>1.1</version>
 
83
            <executions>
 
84
              <execution>
 
85
                <id>add-source</id>
 
86
                <phase>generate-sources</phase>
 
87
                <goals>
 
88
                  <goal>add-source</goal>
 
89
                </goals>
 
90
                <configuration>
 
91
                  <sources>
 
92
                    <source>${project.build.directory}/generated-sources</source>
 
93
                  </sources>
 
94
                </configuration>
 
95
              </execution>
 
96
            </executions>
 
97
      </plugin>
 
98
      <plugin>
 
99
        <artifactId>maven-antrun-plugin</artifactId>
 
100
        <executions>
 
101
          <execution>
 
102
            <id>clean</id>
 
103
            <phase>clean</phase>
 
104
            <goals>
 
105
              <goal>run</goal>
 
106
            </goals>
 
107
            <configuration>
 
108
              <tasks>
 
109
                <delete failonerror="false" dir="../../lib/jsp-2.1"/>
 
110
              </tasks>
 
111
            </configuration>
 
112
          </execution>
 
113
          <execution>
 
114
            <id>copyjar</id>
 
115
            <phase>install</phase>
 
116
            <goals>
 
117
              <goal>run</goal>
 
118
            </goals>
 
119
            <configuration>
 
120
              <tasks>
 
121
                <copy failonerror="false" file="target/${project.artifactId}-${project.version}.${project.packaging}" todir="../../lib/jsp-2.1" />
 
122
              </tasks>
 
123
            </configuration>
 
124
          </execution>
 
125
        </executions>
 
126
      </plugin>
 
127
      <plugin>
 
128
        <groupId>org.apache.felix</groupId>
 
129
        <artifactId>maven-bundle-plugin</artifactId>
 
130
        <extensions>true</extensions>
 
131
        <executions>
 
132
          <execution>
 
133
            <goals>
 
134
              <goal>manifest</goal>
 
135
            </goals>
 
136
            <configuration>
 
137
              <instructions>
 
138
                <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
 
139
                <Import-Package>!com.sun.appserv.*,!com.sun.common.util.*,!com.sun.el.*,!com.sun.enterprise.web.*,!com.sun.org.apache.commons.*,!org.apache.jasper.*,*</Import-Package>
 
140
              </instructions>
 
141
            </configuration>
 
142
           </execution>
 
143
        </executions>
 
144
      </plugin>
 
145
      <plugin>
 
146
        <!--
 
147
        Required for OSGI
 
148
        -->
 
149
        <groupId>org.apache.maven.plugins</groupId>
 
150
        <artifactId>maven-jar-plugin</artifactId>
 
151
        <configuration>
 
152
          <archive>               
 
153
            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
 
154
          </archive>
 
155
        </configuration>
 
156
      </plugin>
 
157
    </plugins>
 
158
  </build>
 
159
  <dependencies>
 
160
    <dependency>
 
161
      <groupId>org.eclipse.jdt</groupId>
 
162
      <artifactId>core</artifactId>
 
163
      <version>${eclipse-compiler-version}</version>
 
164
    </dependency>
 
165
    <dependency>
 
166
      <groupId>org.mortbay.jetty</groupId>
 
167
      <artifactId>jetty-util</artifactId>
 
168
      <version>${project.version}</version>
 
169
      <scope>provided</scope>
 
170
    </dependency>
 
171
    <dependency>
 
172
      <groupId>org.mortbay.jetty</groupId>
 
173
      <artifactId>jsp-api-2.1-glassfish</artifactId>
 
174
      <version>${jsp21-version}</version>
 
175
    </dependency>
 
176
    <dependency>
 
177
      <groupId>org.mortbay.jetty</groupId>
 
178
      <artifactId>jsp-2.1-glassfish</artifactId>
 
179
      <version>${jsp21-version}</version>
 
180
      <exclusions>
 
181
        <exclusion>
 
182
          <groupId>org.mortbay.jetty</groupId>
 
183
          <artifactId>servlet-api</artifactId>
 
184
        </exclusion>
 
185
      </exclusions>
 
186
    </dependency>
 
187
    <dependency>
 
188
      <groupId>org.mortbay.jetty</groupId>
 
189
      <artifactId>servlet-api</artifactId>
 
190
      <version>${servlet-version}</version>
 
191
      <scope>provided</scope>
 
192
    </dependency>
 
193
    <dependency>
 
194
      <groupId>ant</groupId>
 
195
      <artifactId>ant</artifactId>
 
196
    </dependency>
 
197
  </dependencies>
 
198
  <properties>
 
199
     <eclipse-compiler-version>3.1.1</eclipse-compiler-version>
 
200
  </properties>
 
201
</project>