/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. Copyright (C) 2009-2011 the original author or authors.
  4. See the notice.md file distributed with this work for additional
  5. information regarding copyright ownership.
  6. Licensed under the Apache License, Version 2.0 (the "License");
  7. you may not use this file except in compliance with the License.
  8. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <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">
  17. <modelVersion>4.0.0</modelVersion>
  18. <parent>
  19. <groupId>org.scalatra.scalate.samples</groupId>
  20. <artifactId>samples_2.10</artifactId>
  21. <version>1.6.0-SNAPSHOT</version>
  22. </parent>
  23. <artifactId>scalate-presentation_2.10</artifactId>
  24. <packaging>war</packaging>
  25. <name>${project.artifactId}</name>
  26. <description>Scalate Presentation</description>
  27. <properties>
  28. <netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server>
  29. </properties>
  30. <dependencies>
  31. <dependency>
  32. <groupId>javax.servlet</groupId>
  33. <artifactId>servlet-api</artifactId>
  34. <version>2.5</version>
  35. <scope>provided</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.scalatra.scalate</groupId>
  39. <artifactId>scalate-wikitext_2.10</artifactId>
  40. <version>${project.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.scalatra.scalate</groupId>
  44. <artifactId>scalate-page_2.10</artifactId>
  45. <version>${project.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.slf4j</groupId>
  49. <artifactId>slf4j-nop</artifactId>
  50. <version>${slf4j-version}</version>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <sourceDirectory>${basedir}/ext</sourceDirectory>
  55. <plugins>
  56. <plugin>
  57. <inherited>true</inherited>
  58. <artifactId>maven-source-plugin</artifactId>
  59. <executions>
  60. <execution>
  61. <id>attach-sources</id>
  62. <goals>
  63. <goal>jar</goal>
  64. </goals>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <plugin>
  69. <groupId>org.scalatra.scalate</groupId>
  70. <artifactId>maven-scalate-plugin_2.10</artifactId>
  71. <version>${project.version}</version>
  72. <configuration>
  73. <warSourceDirectory>${basedir}/src</warSourceDirectory>
  74. <remoteServerId>website.fusesource.org</remoteServerId>
  75. <remoteServerUrl>dav:http://fusesource.com/forge/dav/${forge-project-id}/presentations</remoteServerUrl>
  76. </configuration>
  77. <executions>
  78. <execution>
  79. <goals>
  80. <goal>sitegen</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-war-plugin</artifactId>
  88. <version>2.0.2</version>
  89. <configuration>
  90. <warSourceDirectory>${basedir}/src</warSourceDirectory>
  91. </configuration>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.mortbay.jetty</groupId>
  95. <artifactId>jetty-maven-plugin</artifactId>
  96. <version>7.2.1.v20101111</version>
  97. <configuration>
  98. <webAppConfig>
  99. <contextPath>/</contextPath>
  100. <resourceBase>${basedir}/src</resourceBase>
  101. <unpackOverlays>false</unpackOverlays>
  102. </webAppConfig>
  103. <webAppSourceDirectory>${basedir}/src</webAppSourceDirectory>
  104. <systemProperties>
  105. <systemProperty>
  106. <name>scalate.editor</name>
  107. <value>${env.SCALATE_EDITOR}</value>
  108. </systemProperty>
  109. <systemProperty>
  110. <name>scalate.workdir</name>
  111. <value>${basedir}/target/_scalate</value>
  112. </systemProperty>
  113. <systemProperty>
  114. <name>scalate.mode</name>
  115. <value>development</value>
  116. </systemProperty>
  117. </systemProperties>
  118. <scanIntervalSeconds>0</scanIntervalSeconds>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>