-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
148 lines (135 loc) · 5.77 KB
/
pom.xml
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.brightinteractive</groupId>
<artifactId>bright-parent</artifactId>
<version>1.7.0</version>
</parent>
<groupId>com.brightinteractive</groupId>
<artifactId>bright-webapp-parent</artifactId>
<version>1.5.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Bright Interactive Web Application Parent Project</name>
<description>Parent for all Bright Interactive web application projects</description>
<inceptionYear>2012</inceptionYear>
<scm>
<connection>scm:git:ssh://[email protected]/brightinteractive/bright-webapp-parent.git</connection>
</scm>
<properties>
<!--
jetty:run doesn't work with these versions of Jetty in Maven
2.2.1 (see
https://github.com/brightinteractive/bright-webapp-parent/issues/1)
<jetty.version>8.0.4.v20111024</jetty.version>
<jetty.version>7.5.4.v20111024</jetty.version>
-->
<jetty.version>7.4.5.v20110725</jetty.version>
<tomcat7.plugin.version>2.2</tomcat7.plugin.version>
<maven.failsafe.plugin.version>2.11</maven.failsafe.plugin.version>
<maven.war.plugin.version>2.4</maven.war.plugin.version>
<javax.servlet-api.version>3.0.1</javax.servlet-api.version>
<jsp-api.version>2.1</jsp-api.version>
</properties>
<build>
<!--
Shared build plugin configuration across Bright projects.
I.e. Only configures plugins that are actually included within
the plugins element of the child poms.
None as of yet.
<pluginManagement>
<plugins>
</plugins>
</pluginManagement>
-->
<!--
Build plugins used across across all Bright projects. These plugins plus configuration will
will be inherited by all child projects
-->
<plugins>
<plugin>
<!--
This plugin runs integration tests. By default it looks
for test classes with the following wildcard patterns:
**/IT*.java
**/*IT.java
**/*ITCase.java
(this is documented at
http://maven.apache.org/plugins/maven-failsafe-plugin/examples/inclusion-exclusion.html).
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin.version}</version>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
<configuration>
<!--
Don't write test reports to text files, write them to
the console instead. That way you get a stack trace
that is clickable in IntelliJ if a test fails.
Test reports are still written as XML to
target/surefire-reports/.
-->
<useFile>false</useFile>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<packagingExcludes>**/*-local.properties</packagingExcludes>
<webResources>
<resource>
<directory>deployment-config</directory>
<targetPath>deployment-config</targetPath>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>${tomcat7.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.version}</version>
<configuration>
<scanIntervalSeconds>5</scanIntervalSeconds>
<connectors>
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<port>8080</port>
<maxIdleTime>60000</maxIdleTime>
</connector>
</connectors>
<webAppConfig>
<contextPath>/</contextPath>
</webAppConfig>
<stopKey />
<stopPort />
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${javax.servlet-api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>${jsp-api.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>