|
Jetty example source code file (pom.xml)
This example Jetty source code file (pom.xml) is included in the DevDaily.com
"Java Source Code
Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.
The Jetty pom.xml source code
<?xml version="1.0" encoding="UTF-8"?>
<parent>
<artifactId>project
<groupId>org.mortbay.jetty
<version>6.1.9
<relativePath>../../pom.xml
</parent>
<modelVersion>4.0.0
<groupId>org.mortbay.jetty
<artifactId>jetty-management
<name>Jetty Management
<description>Jetty JMX
<url>http://jetty.mortbay.org
<build>
<defaultGoal>install
<resources>
<resource>
<directory>src/main/resources
<includes>
<include>**
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources
<includes>
<include>**
</includes>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin
<executions>
<execution>
<id>clean
<phase>clean
<goals>
<goal>run
</goals>
<configuration>
<tasks>
<delete includeemptydirs="true" failonerror="false">
<fileset dir="../../lib/management/" includes="**/**" />
</delete>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo
<artifactId>dependency-maven-plugin
<executions>
<execution>
<phase>install
<goals>
<goal>copy
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}
<artifactId>${project.artifactId}
<version>${project.version}
<destFileName>${project.artifactId}-${project.version}.jar
</artifactItem>
<artifactItem>
<groupId>mx4j
<artifactId>mx4j
<version>${mx4j-version}
<outputDirectory>${basedir}/../../lib/management/mx4j
</artifactItem>
<artifactItem>
<groupId>mx4j
<artifactId>mx4j-tools
<version>${mx4j-version}
<outputDirectory>${basedir}/../../lib/management/mx4j
</artifactItem>
</artifactItems>
<outputDirectory>${basedir}/../../lib/management
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix
<artifactId>maven-bundle-plugin
<version>${maven-bundle-plugin-version}
<extensions>true
<executions>
<execution>
<goals>
<goal>manifest
</goals>
<configuration>
<instructions>
<Bundle-SymbolicName>org.mortbay.jetty.management
<Bundle-DocURL>http://jetty.mortbay.org
<Bundle-RequiredExcutionEnvironment>J2SE-1.4
<Import-Package>!org.mortbay.component.management.*,!org.mortbay.jetty.deployer.management.*,!org.mortbay.jetty.nio.management.*,!org.mortbay.log.management.*,!org.mortbay.management.*,!org.mortbay.thread.management.*,!org.mortbay.jetty.handler.management.*,!org.mortbay.jetty.management.*,!org.mortbay.jetty.servlet.management.*,!org.mortbay.jetty.webapp.management.*,*
</instructions>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-jar-plugin
<version>${maven-jar-plugin-version}
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF
</archive>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit
<artifactId>junit
<scope>test
</dependency>
<dependency>
<groupId>org.mortbay.jetty
<artifactId>jetty
<version>${project.version}
</dependency>
</dependencies>
<properties>
<mx4j-version>3.0.1
</properties>
</project>
Other Jetty examples (source code examples)
Here is a short list of links related to this Jetty pom.xml source code file:
|