Debian Codegraph @

hawtjni-website/pom.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <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">
19
20 <modelVersion>4.0.0</modelVersion>
21
22 <parent>
23 <groupId>org.fusesource.hawtjni</groupId>
24 <artifactId>hawtjni-project</artifactId>
25 <version>1.17</version>
26 </parent>
27
28 <artifactId>hawtjni-website</artifactId>
29
30 <name>${project.artifactId}</name>
31 <description>The HawtJNI Website</description>
32 <packaging>pom</packaging>
33
34 <properties>
35 <netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server>
36 </properties>
37
38 <distributionManagement>
39 <site>
40 <id>hawtjni-gh-pages</id>
41 <url>scm:git:https://github.com/fusesource/hawtjni.git</url>
42 </site>
43 </distributionManagement>
44
45 <dependencies>
46
47 <dependency>
48 <groupId>org.scala-lang</groupId>
49 <artifactId>scala-library</artifactId>
50 <version>${scala-version}</version>
51 </dependency>
52 <dependency>
53 <groupId>org.scala-lang</groupId>
54 <artifactId>scala-compiler</artifactId>
55 <version>${scala-version}</version>
56 </dependency>
57
58 <dependency>
59 <groupId>org.fusesource.scalate</groupId>
60 <artifactId>scalate-wikitext</artifactId>
61 <version>${scalate-version}</version>
62 </dependency>
63 <dependency>
64 <groupId>org.fusesource.scalate</groupId>
65 <artifactId>scalate-page</artifactId>
66 <version>${scalate-version}</version>
67 </dependency>
68 <dependency>
69 <groupId>org.fusesource.scalamd</groupId>
70 <artifactId>scalamd</artifactId>
71 <version>${scalamd-version}</version>
72 </dependency>
73 <dependency>
74 <groupId>org.slf4j</groupId>
75 <artifactId>slf4j-log4j12</artifactId>
76 <version>${slf4j-version}</version>
77 </dependency>
78
79 <!-- testing -->
80 <dependency>
81 <groupId>org.fusesource.scalate</groupId>
82 <artifactId>scalate-test</artifactId>
83 <version>${scalate-version}</version>
84 <scope>test</scope>
85 </dependency>
86
87 <dependency>
88 <groupId>org.fusesource.hawtjni</groupId>
89 <artifactId>hawtjni-runtime</artifactId>
90 <version>${project.version}</version>
91 <classifier>javadoc</classifier>
92 <scope>test</scope>
93 </dependency>
94
95 </dependencies>
96
97 <build>
98 <sourceDirectory>ext</sourceDirectory>
99
100 <plugins>
101 <plugin>
102 <inherited>true</inherited>
103 <artifactId>maven-source-plugin</artifactId>
104 <executions>
105 <execution>
106 <id>attach-sources</id>
107 <goals>
108 <goal>jar</goal>
109 </goals>
110 </execution>
111 </executions>
112 </plugin>
113
114 <plugin>
115 <groupId>org.scala-tools</groupId>
116 <artifactId>maven-scala-plugin</artifactId>
117 <version>${scala-plugin-version}</version>
118 <executions>
119 <execution>
120 <goals>
121 <goal>compile</goal>
122 </goals>
123 </execution>
124 </executions>
125 <configuration>
126 <jvmArgs>
127 <jvmArg>-Xmx1024m</jvmArg>
128 </jvmArgs>
129 <scalaVersion>${scala-version}</scalaVersion>
130 </configuration>
131 </plugin>
132
133 <plugin>
134 <artifactId>maven-surefire-plugin</artifactId>
135 <configuration>
136 <forkMode>once</forkMode>
137 <!-- these settings are mandatory to avoid SureFire giving a bogus system property to the web container -->
138 <useSystemClassLoader>false</useSystemClassLoader>
139 <useManifestOnlyJar>false</useManifestOnlyJar>
140 <includes>
141 <include>**/*Test.*</include>
142 </includes>
143 </configuration>
144 </plugin>
145
146 <plugin>
147 <groupId>org.fusesource.scalate</groupId>
148 <artifactId>maven-scalate-plugin</artifactId>
149 <version>${scalate-version}</version>
150
151 <configuration>
152 <webappDirectory>${basedir}/src</webappDirectory>
153 </configuration>
154
155 <executions>
156 <execution>
157 <id>sitegen</id>
158 <goals>
159 <goal>sitegen</goal>
160 </goals>
161 <phase>package</phase>
162 </execution>
163 </executions>
164 </plugin>
165
166 <plugin>
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-scm-publish-plugin</artifactId>
169 <version>1.1</version>
170 <configuration>
171 <scmBranch>gh-pages</scmBranch>
172 <content>${project.build.directory}/sitegen</content>
173 </configuration>
174 <executions>
175 <execution>
176 <id>gh-pages</id>
177 <goals>
178 <goal>publish-scm</goal>
179 </goals>
180 <phase>install</phase>
181 </execution>
182 </executions>
183 </plugin>
184
185 <plugin>
186 <groupId>org.mortbay.jetty</groupId>
187 <artifactId>jetty-maven-plugin</artifactId>
188 <version>${jetty-plugin-version}</version>
189 <configuration>
190 <webAppSourceDirectory>${basedir}/src</webAppSourceDirectory>
191 <systemProperties>
192 <systemProperty>
193 <name>scalate.editor</name>
194 <value>${env.SCALATE_EDITOR}</value>
195 </systemProperty>
196 <systemProperty>
197 <name>scalate.workdir</name>
198 <value>${basedir}/target/_scalate</value>
199 </systemProperty>
200 <systemProperty>
201 <name>scalate.mode</name>
202 <value>development</value>
203 </systemProperty>
204 </systemProperties>
205 <scanIntervalSeconds>0</scanIntervalSeconds>
206 </configuration>
207
208 </plugin>
209
210 <plugin>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-dependency-plugin</artifactId>
213 <version>2.2</version>
214 <executions>
215 <execution>
216 <id>unpack</id>
217 <phase>package</phase>
218 <goals>
219 <goal>unpack</goal>
220 </goals>
221 <configuration>
222 <artifactItems>
223 <artifactItem>
224 <groupId>org.fusesource.hawtjni</groupId>
225 <artifactId>hawtjni-runtime</artifactId>
226 <classifier>javadoc</classifier>
227 <outputDirectory>${basedir}/target/sitegen/documentation/api</outputDirectory>
228 </artifactItem>
229 </artifactItems>
230 </configuration>
231 </execution>
232 </executions>
233 </plugin>
234 </plugins>
235 </build>
236
237 <reporting>
238 <plugins>
239 <plugin>
240 <groupId>org.fusesource.mvnplugins</groupId>
241 <artifactId>maven-linkchecker-plugin</artifactId>
242 <version>${mvnplugins-version}</version>
243 <configuration>
244 <excludedLinks>
245 <value>http://github.com/</value>
246 <value>http://git.or.cz/</value>
247 <value>http://localhost:8080/</value>
248 <value>http://repo.fusesource.com/</value>
249 <value>http://search.twitter.com/</value>
250 <value>http://www.chengin.com/</value>
251 </excludedLinks>
252 </configuration>
253 </plugin>
254 </plugins>
255 </reporting>
256
257
258 </project>
259