PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/samples/scalate-sample-scuery/pom.xml

http://github.com/scalate/scalate
XML | 125 lines | 91 code | 12 blank | 22 comment | 0 complexity | 56d5dadd7585872f8285e0344a32d04a MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2<!--
  3
  4    Copyright (C) 2009-2011 the original author or authors.
  5    See the notice.md file distributed with this work for additional
  6    information regarding copyright ownership.
  7
  8    Licensed under the Apache License, Version 2.0 (the "License");
  9    you may not use this file except in compliance with the License.
 10    You may obtain a copy of the License at
 11
 12        http://www.apache.org/licenses/LICENSE-2.0
 13
 14    Unless required by applicable law or agreed to in writing, software
 15    distributed under the License is distributed on an "AS IS" BASIS,
 16    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 17    See the License for the specific language governing permissions and
 18    limitations under the License.
 19
 20-->
 21<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">
 22  <modelVersion>4.0.0</modelVersion>
 23  <parent>
 24    <groupId>org.scalatra.scalate.samples</groupId>
 25    <artifactId>samples_2.10</artifactId>
 26    <version>1.7.2-SNAPSHOT</version>
 27  </parent>
 28
 29  <artifactId>scalate-sample-scuery_2.10</artifactId>
 30  <packaging>war</packaging>
 31
 32  <name>${project.artifactId}</name>
 33  <description>Scalate Sample Scuery Web Application</description>
 34
 35  <properties>
 36    <netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server>
 37  </properties>
 38
 39  <dependencies>
 40    <dependency>
 41      <groupId>org.scalatra.scalate</groupId>
 42      <artifactId>scalate-war_2.10</artifactId>
 43      <version>${project.version}</version>
 44      <type>war</type>
 45    </dependency>
 46
 47    <dependency>
 48      <groupId>javax.servlet</groupId>
 49      <artifactId>servlet-api</artifactId>
 50      <scope>provided</scope>
 51    </dependency>
 52    <dependency>
 53      <groupId>org.scalatra.scalate</groupId>
 54      <artifactId>scalate-guice_2.10</artifactId>
 55      <version>${project.version}</version>
 56    </dependency>
 57    <dependency>
 58      <groupId>org.codehaus.jackson</groupId>
 59      <artifactId>jackson-jaxrs</artifactId>
 60      <version>1.3.5</version>
 61    </dependency>
 62    <dependency>
 63      <groupId>ch.qos.logback</groupId>
 64      <artifactId>logback-classic</artifactId>
 65    </dependency>
 66
 67    <!-- testing -->
 68    <dependency>
 69      <groupId>org.scalatra.scalate</groupId>
 70      <artifactId>scalate-test_2.10</artifactId>
 71      <version>${project.version}</version>
 72      <scope>test</scope>
 73    </dependency>
 74  </dependencies>
 75
 76  <build>
 77    <plugins>
 78      <plugin>
 79        <inherited>true</inherited>
 80        <artifactId>maven-source-plugin</artifactId>
 81        <executions>
 82          <execution>
 83            <id>attach-sources</id>
 84            <goals>
 85              <goal>jar</goal>
 86            </goals>
 87          </execution>
 88        </executions>
 89      </plugin>
 90
 91      <plugin>
 92        <artifactId>maven-surefire-plugin</artifactId>
 93        <version>${surefire-plugin-version}</version>
 94        <configuration>
 95          <forkMode>once</forkMode>
 96          <!-- these settings are mandatory to avoid SureFire giving a bogus system property to the web container -->
 97          <useSystemClassLoader>false</useSystemClassLoader>
 98          <useManifestOnlyJar>false</useManifestOnlyJar>
 99          <includes>
100            <include>**/*Test.*</include>
101          </includes>
102          <excludes>
103            <!-- TODO FIXME ASAP -->
104            <exclude>**/SampleTest.*</exclude>
105          </excludes>
106        </configuration>
107      </plugin>
108
109
110      <plugin>
111        <artifactId>maven-war-plugin</artifactId>
112	<version>${war-plugin-version}</version>
113        <configuration>
114          <attachClasses>true</attachClasses>
115        </configuration>
116      </plugin>
117      <plugin>
118        <groupId>org.mortbay.jetty</groupId>
119        <artifactId>jetty-maven-plugin</artifactId>
120      </plugin>
121
122    </plugins>
123  </build>
124</project>
125