-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
139 lines (125 loc) · 5.12 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
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Nick Ebbutt (Object Definitions Ltd.) -->
<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>
<groupId>od</groupId>
<artifactId>od-filtertable</artifactId>
<name>od-filtertable</name>
<packaging>jar</packaging>
<version>1.1.6</version>
<build>
<!-- Copy chorus resources from the test/handlers and test/junit subtree, so resource files
required by a handlers can be local to the .java, rather than residing in
a separate tree under test/resources, although the default test/resources location
is still supported -->
<testResources>
<testResource>
<directory>src/test/handlers</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.properties</include>
<include>**/*.feature</include>
</includes>
</testResource>
<testResource>
<directory>src/test/junit</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.properties</include>
<include>**/*.feature</include>
</includes>
</testResource>
<!-- include the standard test/resources directory, this is still supported
if you don't want to put resources within the test/java subtree -->
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<!-- Since we have separated our junit tests from our chorus handlers,
we need to configure both directories as test source directories -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/test/junit</source>
<source>src/test/handlers</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.9.0</version>
<configuration>
<header>src/etc/header.txt</header>
<includes>
<include>src/main/java/**/*.java</include>
<include>src/test/junit/**/*.java</include>
<include>src/test/handlers/**/*.java</include>
</includes>
<properties>
<year>2012</year>
</properties>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<scope>test</scope>
<groupId>org.jmock</groupId>
<artifactId>jmock</artifactId>
<version>2.5.0</version>
</dependency>
<dependency>
<scope>test</scope>
<groupId>org.chorusbdd</groupId>
<artifactId>chorus</artifactId>
<version>1.5.1</version>
</dependency>
<dependency>
<scope>test</scope>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
</dependency>
</dependencies>
</project>