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