|
Jetty example source code file (pom.xml)
The Jetty pom.xml source code<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"> <parent> <artifactId>project <groupId>org.mortbay.jetty <version>6.1.9 <relativePath>../../pom.xml </parent> <modelVersion>4.0.0 <groupId>org.mortbay.jetty <artifactId>jboss-jetty <packaging>sar <name>Jetty JBoss <url>http://jetty.mortbay.org <licenses> <license> <name>Apache License Version 2 <url>http://www.apache.org/licenses/LICENSE-2.0 </license> </licenses> <build> <defaultGoal>install <resources> <resource> <directory>src/main/resources <includes> <include>jboss-service.xml <include>webserver-xmbean.xml </includes> <targetPath>META-INF </resource> <resource> <directory>src/main/resources <includes> <include>webdefault.xml <include>**/*.properties </includes> </resource> </resources> <plugins> <plugin> <groupId>org.codehaus.mojo <artifactId>jboss-sar-maven-plugin <version>2.0-SNAPSHOT <extensions>true </plugin> </plugins> </build> <repositories> <repository> <id>jboss-repo <name>jboss <url>http://repository.jboss.com/maven2 <layout>default </repository> <repository> <id>Codehaus Snapshots <url>http://snapshots.repository.codehaus.org/ <snapshots> <enabled>true </snapshots> <releases> <enabled>false </releases> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>Codehaus Snapshots <url>http://snapshots.repository.codehaus.org/ <snapshots> <enabled>true </snapshots> <releases> <enabled>false </releases> </pluginRepository> </pluginRepositories> <dependencies> <dependency> <groupId>org.mortbay.jetty <artifactId>jetty-ajp <version>${project.version} </dependency> <dependency> <groupId>org.mortbay.jetty <artifactId>jetty-sslengine <version>${project.version} </dependency> <dependency> <groupId>org.mortbay.jetty <artifactId>jetty-management <version>${project.version} <exclusions> <exclusion> <groupId>mx4j <artifactId>mx4j </exclusion> <exclusion> <groupId>mx4j <artifactId>mx4j-tools </exclusion> </exclusions> </dependency> <dependency> <groupId>jboss <artifactId>jboss <version>${jboss.version} <systemPath>${jboss.home}/server/all/lib/jboss.jar <scope>system </dependency> <dependency> <groupId>jboss <artifactId>jboss-common <version>${jboss.version} <systemPath>${jboss.home}/lib/jboss-common.jar <scope>system </dependency> <dependency> <groupId>jboss <artifactId>jboss-system <version>${jboss.version} <systemPath>${jboss.home}/lib/jboss-system.jar <scope>system </dependency> <dependency> <groupId>jboss <artifactId>jboss-jmx <version>${jboss.version} <systemPath>${jboss.home}/lib/jboss-jmx.jar <scope>system </dependency> <dependency> <groupId>jboss <artifactId>jbosssx <version>${jboss.version} <systemPath>${jboss.home}/server/all/lib/jbosssx.jar <scope>system </dependency> <dependency> <groupId>jboss <artifactId>jboss-jsr77 <version>${jboss.version} <systemPath>${jboss.home}/server/all/lib/jboss-jsr77.jar <scope>system </dependency> <dependency> <groupId>jboss <artifactId>jboss-j2ee <version>${jboss.version} <systemPath>${jboss.home}/server/all/lib/jboss-j2ee.jar <scope>system </dependency> </dependencies> <profiles> <profile> <id>jdk1.4 <build> <finalName>jetty-${version}-jboss-${jboss.version}-jsp-2.0 </build> <dependencies> <dependency> <groupId>org.mortbay.jetty <artifactId>jsp-2.0 <version>${project.version} <type>pom <exclusions> <exclusion> <artifactId>commons-logging <groupId>commons-logging </exclusion> <exclusion> <groupId>org.slf4j <artifactId>jcl104-over-slf4j </exclusion> <exclusion> <groupId>org.slf4j <artifactId>slf4j-simple </exclusion> <exclusion> <groupId>xerces <artifactId>xercesImpl </exclusion> <exclusion> <groupId>xerces <artifactId>xmlParserAPIs </exclusion> </exclusions> </dependency> <dependency> <groupId>org.slf4j <artifactId>slf4j-log4j12 <version>1.0.1 </dependency> <dependency> <groupId>org.mortbay.jetty <artifactId>jetty <version>${project.version} </dependency> </dependencies> </profile> <profile> <id>jdk1.5 <!-- activated on JDK 5 and above --> <build> <finalName>jetty-${version}-jboss-${jboss.version}-jsp-2.1 </build> <dependencies> <dependency> <groupId>org.mortbay.jetty <artifactId>jetty <version>${project.version} </dependency> <dependency> <groupId>org.mortbay.jetty <artifactId>jsp-2.1 <version>${project.version} </dependency> <dependency> <groupId>org.slf4j <artifactId>slf4j-log4j12 <version>1.0.1 </dependency> </dependencies> </profile> </profiles> </project> Other Jetty examples (source code examples)Here is a short list of links related to this Jetty pom.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.