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">
3
<artifactId>project</artifactId>
4
<groupId>org.mortbay.jetty</groupId>
5
<version>6.1.19</version>
6
<relativePath>../../pom.xml</relativePath>
8
<modelVersion>4.0.0</modelVersion>
9
<groupId>org.mortbay.jetty</groupId>
10
<artifactId>jetty</artifactId>
11
<name>Jetty Server</name>
12
<description>Jetty server core</description>
16
<groupId>org.apache.maven.plugins</groupId>
17
<artifactId>maven-dependency-plugin</artifactId>
21
<phase>install</phase>
28
<groupId>org.mortbay.jetty</groupId>
29
<artifactId>servlet-api</artifactId>
30
<version>${servlet-version}</version>
33
<outputDirectory>../../lib</outputDirectory>
39
<artifactId>maven-antrun-plugin</artifactId>
49
<delete includeemptydirs="true">
50
<fileset dir="../../lib/" includes="${project.artifactId}-${project.version}.${project.packaging}" />
51
<fileset dir="../../lib/" includes="servlet-api-${servlet-version}.jar" />
52
<fileset dir="../../etc/" >
53
<include name="webdefault.xml"/>
54
<include name="jetty.xml"/>
55
<include name="jetty-bio.xml"/>
56
<include name="jetty-ssl.xml"/>
57
<include name="keystore"/>
58
<include name="jetty-stats.xml"/>
59
<include name="jetty-xinetd.xml"/>
60
<include name="realm.properties"/>
61
<include name="jdbcRealm.properties"/>
69
<phase>install</phase>
75
<copy failonerror="false" file="target/${project.artifactId}-${project.version}.${project.packaging}" tofile="../../lib/${project.artifactId}-${project.version}.${project.packaging}" />
76
<copy failonerror="false" file="src/main/resources/org/mortbay/jetty/webapp/webdefault.xml" tofile="../../etc/webdefault.xml" />
77
<copy failonerror="false" includeEmptyDirs="false" todir="../../etc">
79
<fileset dir="src/main/config/etc">
80
<include name="jetty.xml"/>
81
<include name="jetty-bio.xml"/>
82
<include name="jetty-xinetd.xml"/>
83
<include name="jetty-ssl.xml"/>
84
<include name="keystore"/>
85
<include name="jetty-stats.xml"/>
86
<include name="realm.properties"/>
87
<include name="jdbcRealm.properties"/>
96
<groupId>org.apache.felix</groupId>
97
<artifactId>maven-bundle-plugin</artifactId>
98
<version>${maven-bundle-plugin-version}</version>
99
<extensions>true</extensions>
103
<goal>manifest</goal>
107
<Bundle-SymbolicName>org.mortbay.jetty.server</Bundle-SymbolicName>
108
<Bundle-RequiredExecutionEnvironment>J2SE-1.4</Bundle-RequiredExecutionEnvironment>
109
<Bundle-DocURL>http://jetty.mortbay.org</Bundle-DocURL>
110
<Import-Package>!org.mortbay.jetty.*,!org.mortbay.xml.*,!org.mortbay.resource.*,!org.mortbay.io.*,!org.mortbay.servlet.jetty.*,javax.servlet.resources;resolution:=optional,javax.servlet.jsp;resolution:=optional,org.apache.jasper.servlet;resolution:=optional,org.mortbay.jetty.handler.management;resolution:=optional,*</Import-Package>
120
<groupId>org.apache.maven.plugins</groupId>
121
<artifactId>maven-jar-plugin</artifactId>
124
<id>artifact-jar</id>
132
<goal>test-jar</goal>
138
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
146
<groupId>junit</groupId>
147
<artifactId>junit</artifactId>
151
<groupId>org.mortbay.jetty</groupId>
152
<artifactId>jetty-util</artifactId>
153
<version>${project.version}</version>
156
<groupId>org.mortbay.jetty</groupId>
157
<artifactId>servlet-api</artifactId>
158
<version>${servlet-version}</version>