alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

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.

Java - Jetty tags/keywords

bartel, default, jdk, jdk, jetty, jspc, jspc, plugin, plugin, utf-8, utf-8

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>maven-jetty-jspc-plugin
  <packaging>maven-plugin
  <name>Maven Jetty JSPC Plugin
  <developers>
    <developer>
      <id>janb
      <name>Jan Bartel
      <email>janb@webtide.com
      <organization>Webtide
      <organizationUrl>http://www.webtide.com
    </developer>
  </developers>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin
        <configuration>
          <skip>true
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.mortbay.jetty
      <artifactId>jetty-util
      <version>${project.version}
    </dependency>
    <dependency>
      <groupId>org.apache.maven
      <artifactId>maven-project
      <version>2.0.3
    </dependency>
    <dependency>
      <groupId>org.apache.maven
      <artifactId>maven-plugin-api
      <version>2.0.3
    </dependency>
    <dependency>
      <groupId>org.apache.maven
      <artifactId>maven-artifact
      <version>2.0.3
    </dependency>
    <dependency>
      <groupId>org.apache.maven
      <artifactId>maven-plugin-tools-api
    </dependency>
  </dependencies>

  <profiles>
    <profile>
      <id>jdk1.4
      <!-- Default, use JSP-2.0 and use slf4j logging. -->
      <activation>
        <activeByDefault>true
      </activation>
      <dependencies>
        <dependency>
          <groupId>org.mortbay.jetty
          <artifactId>jsp-2.0
          <version>${project.version}
          <type>pom
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>jdk1.5
      <!-- activated on JDK 5 and above -->
      <activation>
        <jdk>!1.4
      </activation>
      <dependencies>
        <dependency>
          <groupId>org.mortbay.jetty
          <artifactId>jsp-2.1
          <version>${project.version}
        </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

 

new blog posts

 

Copyright 1998-2021 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.