PageRenderTime 71ms CodeModel.GetById 64ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/samples/scalate-presentation/pom.xml

http://github.com/scalate/scalate
XML | 142 lines | 109 code | 14 blank | 19 comment | 0 complexity | 080bd85e31cbb8059821fed034dd174a 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.6.0-SNAPSHOT</version>
 27  </parent>
 28  
 29  <artifactId>scalate-presentation_2.10</artifactId>
 30  <packaging>war</packaging>
 31
 32  <name>${project.artifactId}</name>
 33  <description>Scalate Presentation</description>
 34
 35  <properties>
 36    <netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server>
 37  </properties>
 38
 39  <dependencies>
 40    <dependency>
 41      <groupId>javax.servlet</groupId>
 42      <artifactId>servlet-api</artifactId>
 43      <version>2.5</version>
 44      <scope>provided</scope>
 45    </dependency>
 46    <dependency>
 47      <groupId>org.scalatra.scalate</groupId>
 48      <artifactId>scalate-wikitext_2.10</artifactId>
 49      <version>${project.version}</version>
 50    </dependency>
 51    <dependency>
 52      <groupId>org.scalatra.scalate</groupId>
 53      <artifactId>scalate-page_2.10</artifactId>
 54      <version>${project.version}</version>
 55    </dependency>
 56    
 57    <dependency>
 58      <groupId>org.slf4j</groupId>
 59      <artifactId>slf4j-nop</artifactId>
 60      <version>${slf4j-version}</version>
 61    </dependency>    
 62
 63  </dependencies>
 64
 65  <build>
 66
 67    <sourceDirectory>${basedir}/ext</sourceDirectory>
 68
 69    <plugins>
 70      <plugin>
 71        <inherited>true</inherited>
 72        <artifactId>maven-source-plugin</artifactId>
 73        <executions>
 74          <execution>
 75            <id>attach-sources</id>
 76            <goals>
 77              <goal>jar</goal>
 78            </goals>
 79          </execution>
 80        </executions>
 81      </plugin>
 82
 83      <plugin>
 84        <groupId>org.scalatra.scalate</groupId>
 85        <artifactId>maven-scalate-plugin_2.10</artifactId>
 86        <version>${project.version}</version>
 87        <configuration>
 88          <warSourceDirectory>${basedir}/src</warSourceDirectory>
 89          <remoteServerId>website.fusesource.org</remoteServerId>
 90          <remoteServerUrl>dav:http://fusesource.com/forge/dav/${forge-project-id}/presentations</remoteServerUrl>
 91        </configuration>
 92        <executions>
 93          <execution>
 94            <goals>
 95              <goal>sitegen</goal>
 96            </goals>
 97          </execution>
 98        </executions>
 99      </plugin>
100      
101
102      <plugin>
103        <groupId>org.apache.maven.plugins</groupId>
104        <artifactId>maven-war-plugin</artifactId>
105        <version>2.0.2</version>
106        <configuration>
107          <warSourceDirectory>${basedir}/src</warSourceDirectory>
108        </configuration>
109      </plugin>
110      
111      <plugin>
112        <groupId>org.mortbay.jetty</groupId>
113        <artifactId>jetty-maven-plugin</artifactId>
114        <version>7.2.1.v20101111</version>
115        <configuration>
116          <webAppConfig>
117            <contextPath>/</contextPath>
118            <resourceBase>${basedir}/src</resourceBase>
119            <unpackOverlays>false</unpackOverlays>
120          </webAppConfig>
121          <webAppSourceDirectory>${basedir}/src</webAppSourceDirectory>
122          <systemProperties>
123            <systemProperty>
124              <name>scalate.editor</name>
125              <value>${env.SCALATE_EDITOR}</value>
126            </systemProperty>
127            <systemProperty>
128              <name>scalate.workdir</name>
129              <value>${basedir}/target/_scalate</value>
130            </systemProperty>
131            <systemProperty>
132              <name>scalate.mode</name>
133              <value>development</value>
134            </systemProperty>
135          </systemProperties>
136          <scanIntervalSeconds>0</scanIntervalSeconds>
137        </configuration>
138      </plugin>
139    </plugins>
140  </build>
141</project>
142