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

embedded, embedded, runembedded, runembedded, running, tests, tests, 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>jetty-embedded
  <name>Embedded examples
  <url>http://jetty.mortbay.org
  <build>
    <defaultGoal>install
  </build>
  <dependencies>
    <dependency>
      <groupId>org.mortbay.jetty
      <artifactId>jetty
      <version>${project.version}
    </dependency>
    <dependency>
      <groupId>javax.servlet.jsp
      <artifactId>jsp-api
      <version>2.1
    </dependency>
    <dependency>
      <groupId>junit
      <artifactId>junit
      <scope>test
    </dependency>
  </dependencies>
  <profiles>
    <profile>
      <id>run
      <activation>
          <property>runEmbedded
      </activation>
      <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin
        <executions>
          <execution>
            <id>run
            <phase>test
            <configuration>
              <tasks>
                <echo>-------------------------------------------------------------
                <echo>***                Running Embedded Tests                 ***
                <echo>-------------------------------------------------------------
                <java classname="RunEmbedded">
                  <classpath>
                   <path refid="maven.compile.classpath" />
                   <path refid="maven.test.classpath" />
                   <path refid="maven.dependency.classpath" />
                  </classpath>
                </java>
              </tasks>
            </configuration>
            <goals>
              <goal>run
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>

      </build>
    </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-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.