/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
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Copyright (C) 2009-2011 the original author or authors.
- See the notice.md file distributed with this work for additional
- information regarding copyright ownership.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
- <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>
- <parent>
- <groupId>org.scalatra.scalate.samples</groupId>
- <artifactId>samples_2.10</artifactId>
- <version>1.6.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>scalate-presentation_2.10</artifactId>
- <packaging>war</packaging>
- <name>${project.artifactId}</name>
- <description>Scalate Presentation</description>
- <properties>
- <netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server>
- </properties>
- <dependencies>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.scalatra.scalate</groupId>
- <artifactId>scalate-wikitext_2.10</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.scalatra.scalate</groupId>
- <artifactId>scalate-page_2.10</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-nop</artifactId>
- <version>${slf4j-version}</version>
- </dependency>
- </dependencies>
- <build>
- <sourceDirectory>${basedir}/ext</sourceDirectory>
- <plugins>
- <plugin>
- <inherited>true</inherited>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.scalatra.scalate</groupId>
- <artifactId>maven-scalate-plugin_2.10</artifactId>
- <version>${project.version}</version>
- <configuration>
- <warSourceDirectory>${basedir}/src</warSourceDirectory>
- <remoteServerId>website.fusesource.org</remoteServerId>
- <remoteServerUrl>dav:http://fusesource.com/forge/dav/${forge-project-id}/presentations</remoteServerUrl>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>sitegen</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <warSourceDirectory>${basedir}/src</warSourceDirectory>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <version>7.2.1.v20101111</version>
- <configuration>
- <webAppConfig>
- <contextPath>/</contextPath>
- <resourceBase>${basedir}/src</resourceBase>
- <unpackOverlays>false</unpackOverlays>
- </webAppConfig>
- <webAppSourceDirectory>${basedir}/src</webAppSourceDirectory>
- <systemProperties>
- <systemProperty>
- <name>scalate.editor</name>
- <value>${env.SCALATE_EDITOR}</value>
- </systemProperty>
- <systemProperty>
- <name>scalate.workdir</name>
- <value>${basedir}/target/_scalate</value>
- </systemProperty>
- <systemProperty>
- <name>scalate.mode</name>
- <value>development</value>
- </systemProperty>
- </systemProperties>
- <scanIntervalSeconds>0</scanIntervalSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>