-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpom.xml
127 lines (118 loc) · 4.1 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
<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>
<artifactId>openwayback-sample-overlay</artifactId>
<groupId>org.netpreserve.openwayback</groupId>
<packaging>war</packaging>
<name>OpenWayback Sample Overlay</name>
<version>2.0.0.BETA.1</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<wayback.port>8080</wayback.port>
<wayback.cdxPath>/cdx/</wayback.cdxPath>
<wayback.path>/wayback/</wayback.path>
<jetty.stopPort>10631</jetty.stopPort>
<jetty.port>8080</jetty.port>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>write-project-properties</goal>
</goals>
<configuration>
<outputFile>
${project.build.outputDirectory}/wayback.properties
</outputFile>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.1</version>
<configuration>
<path>/</path>
</configuration>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.22</version>
<configuration>
<systemProperties>
<systemProperty>
<name>jetty.port</name>
<value>${wayback.port}</value>
</systemProperty>
</systemProperties>
<webAppConfig>
<contextPath>/</contextPath>
</webAppConfig>
<scanIntervalSeconds>10</scanIntervalSeconds>
<scanTargetPatterns>
<scanTargetPattern>
<directory>src/main/webapp</directory>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.java</include>
<include>**/*.xml</include>
</includes>
<!-- JSPs are updated on the fly anyway, don't require webapp restart -->
<excludes>
<exclude>**/*.jsp</exclude>
</excludes>
</scanTargetPattern>
</scanTargetPatterns>
<stopKey>foo</stopKey>
<stopPort>${jetty.stopPort}</stopPort>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<versionRange>1.0-alpha-2</versionRange>
<goals>
<goal>write-project-properties</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencies>
<dependency>
<groupId>org.netpreserve.openwayback</groupId>
<artifactId>openwayback-webapp</artifactId>
<version>2.0.0.BETA.1</version>
<type>war</type>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>