-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpom-webapp.xml
More file actions
executable file
·94 lines (93 loc) · 2.91 KB
/
pom-webapp.xml
File metadata and controls
executable file
·94 lines (93 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<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>edu.stanford.muse</groupId>
<artifactId>muse-common</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>./pom-common.xml</relativePath>
</parent>
<artifactId>muse</artifactId>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<name>Muse</name>
<url>http://maven.apache.org</url>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jspc-maven-plugin</artifactId>
<version>9.3.7.v20160115</version>
<executions>
<execution>
<id>jspc</id>
<goals>
<goal>jspc</goal>
</goals>
<configuration>
<webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory>
<excludes>**\/*test\/**</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<excludes>
<exclude>**/edu/stanford/muse/launcher/*.java</exclude>
<exclude>**/edu/stanford/muse/slant/*.java</exclude>
<exclude>**/edu/stanford/muse/ner/test/*.java</exclude>
</excludes>
<encoding>UTF-8</encoding>
<source>1.8</source>
<target>1.8</target>
<debug>true</debug>
<debuglevel>lines,vars,source</debuglevel>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<webXml>WebContent/WEB-INF/web.xml</webXml>
<attachClasses>true</attachClasses>
<warSourceDirectory>${basedir}/WebContent</warSourceDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<testSourceDirectory>${basedir}/src/java</testSourceDirectory>
<testClassesDirectory>${project.build.directory}/classes/</testClassesDirectory>
<includes>
<include>**/*Test.java</include>
</includes>
<argLine>-Xmx2048m</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<resources>
<resource>
<directory>WebContent/WEB-INF/classes</directory>
</resource>
</resources>
</build>
</project>