|
111 | 111 | </repository> |
112 | 112 | </repositories> |
113 | 113 | </profile> |
114 | | - <profile> |
115 | | - <id>all-dbs</id> |
116 | | - <build> |
117 | | - <plugins> |
118 | | - <plugin> |
119 | | - <groupId>org.apache.maven.plugins</groupId> |
120 | | - <artifactId>maven-surefire-plugin</artifactId> |
121 | | - <executions> |
122 | | - <execution> |
123 | | - <id>mysql-test</id> |
124 | | - <phase>test</phase> |
125 | | - <goals> |
126 | | - <goal>test</goal> |
127 | | - </goals> |
128 | | - <configuration> |
129 | | - <includes> |
130 | | - <include>**/MySql*IntegrationTests.java</include> |
131 | | - </includes> |
132 | | - </configuration> |
133 | | - </execution> |
134 | | - <execution> |
135 | | - <id>postgres-test</id> |
136 | | - <phase>test</phase> |
137 | | - <goals> |
138 | | - <goal>test</goal> |
139 | | - </goals> |
140 | | - <configuration> |
141 | | - <includes> |
142 | | - <include>**/Postgres*IntegrationTests.java</include> |
143 | | - </includes> |
144 | | - </configuration> |
145 | | - </execution> |
146 | | - </executions> |
147 | | - </plugin> |
148 | | - </plugins> |
149 | | - </build> |
150 | | - </profile> |
151 | 114 | <profile> |
152 | 115 | <id>eclipselink-next</id> |
153 | 116 | <properties> |
|
188 | 151 | </dependencies> |
189 | 152 |
|
190 | 153 | <build> |
191 | | - <plugins> |
192 | | - |
193 | | - <plugin> |
194 | | - <groupId>org.apache.maven.plugins</groupId> |
195 | | - <artifactId>maven-surefire-plugin</artifactId> |
196 | | - <dependencies> |
197 | | - <dependency> |
198 | | - <groupId>org.springframework</groupId> |
199 | | - <artifactId>spring-instrument</artifactId> |
200 | | - <version>${spring}</version> |
201 | | - <scope>runtime</scope> |
202 | | - </dependency> |
203 | | - </dependencies> |
204 | | - <executions> |
205 | | - <execution> |
206 | | - <!-- override the default-test execution and exclude everything --> |
207 | | - <id>default-test</id> |
208 | | - <configuration> |
209 | | - <excludes> |
210 | | - <exclude>**/*</exclude> |
211 | | - </excludes> |
212 | | - </configuration> |
213 | | - </execution> |
214 | | - <execution> |
215 | | - <id>unit-test</id> |
216 | | - <goals> |
217 | | - <goal>test</goal> |
218 | | - </goals> |
219 | | - <phase>test</phase> |
220 | | - <configuration> |
221 | | - <includes> |
222 | | - <include>**/*UnitTests.java</include> |
223 | | - </includes> |
224 | | - </configuration> |
225 | | - </execution> |
226 | | - <execution> |
227 | | - <id>integration-test</id> |
228 | | - <goals> |
229 | | - <goal>test</goal> |
230 | | - </goals> |
231 | | - <phase>test</phase> |
232 | | - <configuration> |
233 | | - <includes> |
234 | | - <include>**/*IntegrationTests.java</include> |
235 | | - <include>**/*Tests.java</include> |
236 | | - </includes> |
237 | | - <excludes> |
238 | | - <exclude>**/*UnitTests.java</exclude> |
239 | | - <exclude>**/OpenJpa*</exclude> |
240 | | - <exclude>**/EclipseLink*</exclude> |
241 | | - <exclude>**/MySql*</exclude> |
242 | | - <exclude>**/Postgres*</exclude> |
243 | | - </excludes> |
244 | | - <argLine> |
245 | | - -javaagent:${settings.localRepository}/org/springframework/spring-instrument/${spring}/spring-instrument-${spring}.jar |
246 | | - </argLine> |
247 | | - </configuration> |
248 | | - </execution> |
249 | | - <execution> |
250 | | - <id>eclipselink-test</id> |
251 | | - <goals> |
252 | | - <goal>test</goal> |
253 | | - </goals> |
254 | | - <phase>test</phase> |
255 | | - <configuration> |
256 | | - <includes> |
257 | | - <include>**/EclipseLink*Tests.java</include> |
258 | | - </includes> |
259 | | - <argLine> |
260 | | - -javaagent:${settings.localRepository}/org/eclipse/persistence/org.eclipse.persistence.jpa/${eclipselink}/org.eclipse.persistence.jpa-${eclipselink}.jar |
261 | | - -javaagent:${settings.localRepository}/org/springframework/spring-instrument/${spring}/spring-instrument-${spring}.jar |
262 | | - </argLine> |
263 | | - </configuration> |
264 | | - </execution> |
265 | | - </executions> |
266 | | - </plugin> |
267 | | - |
268 | | - </plugins> |
269 | | - |
270 | 154 | <pluginManagement> |
271 | 155 | <plugins> |
272 | 156 | <plugin> |
|
0 commit comments