1
- <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" >
2
- <modelVersion >4.0.0</modelVersion >
3
- <parent >
4
- <groupId >com.googlecode.flyway</groupId >
5
- <artifactId >flyway-parent</artifactId >
6
- <version >2.0.4-SNAPSHOT</version >
7
- </parent >
8
- <groupId >com.googlecode.flyway</groupId >
9
- <artifactId >flyway-ant-largetest</artifactId >
10
- <version >2.0.4-SNAPSHOT</version >
11
- <packaging >jar</packaging >
12
- <name >${project.artifactId} </name >
13
- <properties >
14
- <unpackDirDist >${project.build.directory}/install/dist</unpackDirDist >
15
- <unpackDirDistWithSpring >${project.build.directory}/install/dist with spring</unpackDirDistWithSpring >
16
- </properties >
17
- <dependencies >
18
- <dependency >
19
- <groupId >${project.groupId} </groupId >
20
- <artifactId >flyway-ant</artifactId >
21
- <version >${project.version} </version >
22
- <classifier >dist</classifier >
23
- <type >zip</type >
24
- <scope >test</scope >
25
- </dependency >
26
- <dependency >
27
- <groupId >${project.groupId} </groupId >
28
- <artifactId >flyway-ant</artifactId >
29
- <version >${project.version} </version >
30
- <classifier >dist-with-spring</classifier >
31
- <type >zip</type >
32
- <scope >test</scope >
33
- </dependency >
34
- <dependency >
35
- <groupId >${project.groupId} </groupId >
36
- <artifactId >flyway-sample</artifactId >
37
- <version >${project.version} </version >
38
- <scope >test</scope >
39
- </dependency >
40
- <dependency >
41
- <groupId >junit</groupId >
42
- <artifactId >junit</artifactId >
43
- <scope >test</scope >
44
- </dependency >
45
- <dependency >
46
- <groupId >org.hsqldb</groupId >
47
- <artifactId >hsqldb</artifactId >
48
- <scope >test</scope >
49
- </dependency >
50
- </dependencies >
51
- <build >
52
- <plugins >
53
- <plugin >
54
- <groupId >org.apache.maven.plugins</groupId >
55
- <artifactId >maven-deploy-plugin</artifactId >
56
- <configuration >
57
- <skip >true</skip >
58
- </configuration >
59
- </plugin >
60
- <plugin >
61
- <groupId >org.apache.maven.plugins</groupId >
62
- <artifactId >maven-surefire-plugin</artifactId >
63
- <configuration >
64
- <includes >
65
- <include >**/*LargeTest.java</include >
66
- </includes >
67
- <excludes >
68
- <exclude >**/*SmallTest.java</exclude >
69
- <exclude >**/*MediumTest.java</exclude >
70
- </excludes >
71
- <redirectTestOutputToFile >true</redirectTestOutputToFile >
72
- <systemPropertyVariables >
73
- <installDirDist >${unpackDirDist} </installDirDist >
74
- <installDirDistWithSpring >${unpackDirDistWithSpring} </installDirDistWithSpring >
75
- <pomVersion >${project.version} </pomVersion >
76
- </systemPropertyVariables >
77
- </configuration >
78
- </plugin >
79
- <plugin >
80
- <groupId >org.apache.maven.plugins</groupId >
81
- <artifactId >maven-dependency-plugin</artifactId >
82
- <executions >
83
- <execution >
84
- <id >pre-largetest-dist-unpack</id >
85
- <phase >generate-test-resources</phase >
86
- <goals >
87
- <goal >unpack-dependencies</goal >
88
- </goals >
89
- <configuration >
90
- <includeArtifactIds >flyway-ant</includeArtifactIds >
91
- <includeClassifiers >dist</includeClassifiers >
92
- <outputDirectory >${unpackDirDist} </outputDirectory >
93
- </configuration >
94
- </execution >
95
- <execution >
96
- <id >pre-largetest-dist-addJars</id >
97
- <phase >generate-test-resources</phase >
98
- <goals >
99
- <goal >copy-dependencies</goal >
100
- </goals >
101
- <configuration >
102
- <includeArtifactIds >hsqldb,flyway-sample</includeArtifactIds >
103
- <outputDirectory >${unpackDirDist} /jars</outputDirectory >
104
- </configuration >
105
- </execution >
106
- <execution >
107
- <id >pre-largetest-distWithSpring-unpack</id >
108
- <phase >generate-test-resources</phase >
109
- <goals >
110
- <goal >unpack-dependencies</goal >
111
- </goals >
112
- <configuration >
113
- <includeArtifactIds >flyway-ant</includeArtifactIds >
114
- <includeClassifiers >dist-with-spring</includeClassifiers >
115
- <outputDirectory >${unpackDirDistWithSpring} </outputDirectory >
116
- </configuration >
117
- </execution >
118
- <execution >
119
- <id >pre-largetest-distWithSpring-addJars</id >
120
- <phase >generate-test-resources</phase >
121
- <goals >
122
- <goal >copy-dependencies</goal >
123
- </goals >
124
- <configuration >
125
- <includeArtifactIds >hsqldb,flyway-sample</includeArtifactIds >
126
- <outputDirectory >${unpackDirDistWithSpring} /jars</outputDirectory >
127
- </configuration >
128
- </execution >
129
- </executions >
130
- </plugin >
131
- <plugin >
132
- <groupId >org.apache.maven.plugins</groupId >
133
- <artifactId >maven-resources-plugin</artifactId >
134
- <executions >
135
- <execution >
136
- <id >pre-largetest-dist-addSql</id >
137
- <phase >generate-test-resources</phase >
138
- <goals >
139
- <goal >copy-resources</goal >
140
- </goals >
141
- <configuration >
142
- <resources >
143
- <resource >
144
- <directory >${basedir} /src/test/resources</directory >
145
- </resource >
146
- </resources >
147
- <outputDirectory >${unpackDirDist} /tests</outputDirectory >
148
- </configuration >
149
- </execution >
150
- <execution >
151
- <id >pre-largetest-distWithSpring-addSql</id >
152
- <phase >generate-test-resources</phase >
153
- <goals >
154
- <goal >copy-resources</goal >
155
- </goals >
156
- <configuration >
157
- <resources >
158
- <resource >
159
- <directory >${basedir} /src/test/resources</directory >
160
- </resource >
161
- </resources >
162
- <outputDirectory >${unpackDirDistWithSpring} /tests</outputDirectory >
163
- </configuration >
164
- </execution >
165
- </executions >
166
- </plugin >
167
- </plugins >
168
- </build >
1
+ <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" >
2
+ <modelVersion >4.0.0</modelVersion >
3
+ <parent >
4
+ <groupId >com.googlecode.flyway</groupId >
5
+ <artifactId >flyway-parent</artifactId >
6
+ <version >2.0.4-SNAPSHOT</version >
7
+ </parent >
8
+ <groupId >com.googlecode.flyway</groupId >
9
+ <artifactId >flyway-ant-largetest</artifactId >
10
+ <version >2.0.4-SNAPSHOT</version >
11
+ <packaging >jar</packaging >
12
+ <name >${project.artifactId} </name >
13
+ <properties >
14
+ <unpackDirDist >${project.build.directory}/install/dist</unpackDirDist >
15
+ <unpackDirDistWithSpring >${project.build.directory}/install/dist with spring</unpackDirDistWithSpring >
16
+ </properties >
17
+ <dependencies >
18
+ <dependency >
19
+ <groupId >${project.groupId} </groupId >
20
+ <artifactId >flyway-ant</artifactId >
21
+ <version >${project.version} </version >
22
+ <classifier >dist</classifier >
23
+ <type >zip</type >
24
+ <scope >test</scope >
25
+ </dependency >
26
+ <dependency >
27
+ <groupId >${project.groupId} </groupId >
28
+ <artifactId >flyway-ant</artifactId >
29
+ <version >${project.version} </version >
30
+ <classifier >dist-with-spring</classifier >
31
+ <type >zip</type >
32
+ <scope >test</scope >
33
+ </dependency >
34
+ <dependency >
35
+ <groupId >${project.groupId} </groupId >
36
+ <artifactId >flyway-sample</artifactId >
37
+ <version >${project.version} </version >
38
+ <scope >test</scope >
39
+ </dependency >
40
+ <dependency >
41
+ <groupId >junit</groupId >
42
+ <artifactId >junit</artifactId >
43
+ <scope >test</scope >
44
+ </dependency >
45
+ <dependency >
46
+ <groupId >org.hsqldb</groupId >
47
+ <artifactId >hsqldb</artifactId >
48
+ <scope >test</scope >
49
+ </dependency >
50
+ </dependencies >
51
+ <build >
52
+ <plugins >
53
+ <plugin >
54
+ <groupId >org.apache.maven.plugins</groupId >
55
+ <artifactId >maven-deploy-plugin</artifactId >
56
+ <configuration >
57
+ <skip >true</skip >
58
+ </configuration >
59
+ </plugin >
60
+ <plugin >
61
+ <groupId >org.apache.maven.plugins</groupId >
62
+ <artifactId >maven-surefire-plugin</artifactId >
63
+ <configuration >
64
+ <includes >
65
+ <include >**/*LargeTest.java</include >
66
+ </includes >
67
+ <excludes >
68
+ <exclude >**/*SmallTest.java</exclude >
69
+ <exclude >**/*MediumTest.java</exclude >
70
+ </excludes >
71
+ <redirectTestOutputToFile >true</redirectTestOutputToFile >
72
+ <systemPropertyVariables >
73
+ <installDirDist >${unpackDirDist} </installDirDist >
74
+ <installDirDistWithSpring >${unpackDirDistWithSpring} </installDirDistWithSpring >
75
+ <pomVersion >${project.version} </pomVersion >
76
+ </systemPropertyVariables >
77
+ <parallel >none</parallel >
78
+ </configuration >
79
+ </plugin >
80
+ <plugin >
81
+ <groupId >org.apache.maven.plugins</groupId >
82
+ <artifactId >maven-dependency-plugin</artifactId >
83
+ <executions >
84
+ <execution >
85
+ <id >pre-largetest-dist-unpack</id >
86
+ <phase >generate-test-resources</phase >
87
+ <goals >
88
+ <goal >unpack-dependencies</goal >
89
+ </goals >
90
+ <configuration >
91
+ <includeArtifactIds >flyway-ant</includeArtifactIds >
92
+ <includeClassifiers >dist</includeClassifiers >
93
+ <outputDirectory >${unpackDirDist} </outputDirectory >
94
+ </configuration >
95
+ </execution >
96
+ <execution >
97
+ <id >pre-largetest-dist-addJars</id >
98
+ <phase >generate-test-resources</phase >
99
+ <goals >
100
+ <goal >copy-dependencies</goal >
101
+ </goals >
102
+ <configuration >
103
+ <includeArtifactIds >hsqldb,flyway-sample</includeArtifactIds >
104
+ <outputDirectory >${unpackDirDist} /jars</outputDirectory >
105
+ </configuration >
106
+ </execution >
107
+ <execution >
108
+ <id >pre-largetest-distWithSpring-unpack</id >
109
+ <phase >generate-test-resources</phase >
110
+ <goals >
111
+ <goal >unpack-dependencies</goal >
112
+ </goals >
113
+ <configuration >
114
+ <includeArtifactIds >flyway-ant</includeArtifactIds >
115
+ <includeClassifiers >dist-with-spring</includeClassifiers >
116
+ <outputDirectory >${unpackDirDistWithSpring} </outputDirectory >
117
+ </configuration >
118
+ </execution >
119
+ <execution >
120
+ <id >pre-largetest-distWithSpring-addJars</id >
121
+ <phase >generate-test-resources</phase >
122
+ <goals >
123
+ <goal >copy-dependencies</goal >
124
+ </goals >
125
+ <configuration >
126
+ <includeArtifactIds >hsqldb,flyway-sample</includeArtifactIds >
127
+ <outputDirectory >${unpackDirDistWithSpring} /jars</outputDirectory >
128
+ </configuration >
129
+ </execution >
130
+ </executions >
131
+ </plugin >
132
+ <plugin >
133
+ <groupId >org.apache.maven.plugins</groupId >
134
+ <artifactId >maven-resources-plugin</artifactId >
135
+ <executions >
136
+ <execution >
137
+ <id >pre-largetest-dist-addSql</id >
138
+ <phase >generate-test-resources</phase >
139
+ <goals >
140
+ <goal >copy-resources</goal >
141
+ </goals >
142
+ <configuration >
143
+ <resources >
144
+ <resource >
145
+ <directory >${basedir} /src/test/resources</directory >
146
+ </resource >
147
+ </resources >
148
+ <outputDirectory >${unpackDirDist} /tests</outputDirectory >
149
+ </configuration >
150
+ </execution >
151
+ <execution >
152
+ <id >pre-largetest-distWithSpring-addSql</id >
153
+ <phase >generate-test-resources</phase >
154
+ <goals >
155
+ <goal >copy-resources</goal >
156
+ </goals >
157
+ <configuration >
158
+ <resources >
159
+ <resource >
160
+ <directory >${basedir} /src/test/resources</directory >
161
+ </resource >
162
+ </resources >
163
+ <outputDirectory >${unpackDirDistWithSpring} /tests</outputDirectory >
164
+ </configuration >
165
+ </execution >
166
+ </executions >
167
+ </plugin >
168
+ </plugins >
169
+ </build >
169
170
</project >
0 commit comments