pom.xml 3.97 KB
Newer Older
1 2 3 4
<?xml version="1.0"?>
<!--
  * OW2 FraSCAti Examples: RESTful Counter Web Application
  *
5
  * Copyright (c) 2009-2012 Inria, University of Lille 1
6 7 8 9 10 11 12 13 14 15 16 17 18
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
  * version 2 of the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
19 20
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  * USA
21 22 23 24 25 26 27 28 29 30 31
-->
<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">
  <modelVersion>4.0.0</modelVersion>

  <!-- =================== -->
  <!-- General Information -->
  <!-- =================== -->

  <parent>
    <groupId>org.ow2.frascati.examples</groupId>
    <artifactId>counter-parent</artifactId>
32
    <version>1.6-SNAPSHOT</version>
33 34
  </parent>

35 36 37
  <artifactId>counter-server-web-application</artifactId>
  <packaging>war</packaging>

38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
  <name>OW2 FraSCAti Examples: RESTful Counter Web Application</name>
  <url>http://frascati.ow2.org</url>
  <inceptionYear>2009</inceptionYear>

  <developers>
    <developer>
      <id>merle</id>
      <name>Philippe Merle</name>
      <email>Philippe.Merle@inria.fr</email>
      <organization>INRIA</organization>
      <organizationUrl>http://www.inria.fr</organizationUrl>
      <roles>
        <role>Architect</role>
        <role>Developer</role>
      </roles>
    </developer>    
  </developers>
  
  <licenses>
    <license>
      <name>The GNU Lesser General Public License, Version 2.1</name>
      <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
    </license>
  </licenses>
  
  <!-- ============ -->
  <!-- Dependencies -->
  <!-- ============ -->

  <dependencies>
    <!-- Include in the war the implementation of the counter server. -->
    <dependency>
      <groupId>org.ow2.frascati.examples</groupId>
      <artifactId>counter-server</artifactId>
      <version>${project.version}</version>
73 74 75 76 77 78 79 80 81 82 83 84
      <exclusions>
        <!-- Exclude Apache CXF Transport HTTP Jetty as unneeded. -->
        <exclusion>
          <groupId>org.apache.cxf</groupId>
          <artifactId>cxf-rt-transports-http-jetty</artifactId>
        </exclusion>
        <!-- Exclude Servlet API as provided by Jetty. -->
        <exclusion>
          <groupId>javax.servlet</groupId>
          <artifactId>servlet-api</artifactId>
        </exclusion>
      </exclusions>
85 86
    </dependency>

87 88
    <!-- Include in the war the FraSCAti Servlet CXF. -->
    <dependency>
89
      <groupId>org.ow2.frascati</groupId>
90
      <artifactId>frascati-servlet-cxf</artifactId>
91
      <version>${project.version}</version>
92
    </dependency>
93 94

    <!-- Include in the war the FraSCAti Runtime Factory. -->
95 96
    <dependency>
      <groupId>org.ow2.frascati</groupId>
97
      <artifactId>frascati-runtime-factory</artifactId>
98
      <version>${project.version}</version>
99
      <scope>runtime</scope>
100 101
    </dependency>

102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
  </dependencies>

  <!-- ======= -->
  <!-- Build   -->
  <!-- ======= -->

  <build>
    <defaultGoal>war:war</defaultGoal>
    <plugins>
      <!-- Build the Web Application aRchive. -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
      </plugin>

      <!-- type 'mvn jetty:run' to launch this war with Jetty. -->
      <plugin>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>maven-jetty-plugin</artifactId>
121
        <version>6.1.26</version>
122 123 124 125 126
      </plugin>
    </plugins>
  </build>
  
</project>