195195 <dependency >
196196 <groupId >ch.qos.logback</groupId >
197197 <artifactId >logback-classic</artifactId >
198- <version >1.0.6 </version >
198+ <version >${logback.version} </version >
199199 <scope >runtime</scope >
200200 </dependency >
201201 <dependency >
204204 <version >${org.slf4j.version} </version >
205205 <scope >runtime</scope >
206206 </dependency >
207+ <dependency > <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
208+ <groupId >org.slf4j</groupId >
209+ <artifactId >log4j-over-slf4j</artifactId >
210+ <version >${org.slf4j.version} </version >
211+ </dependency >
207212
208213 <!-- test scoped -->
209214
250255 <dependency >
251256 <groupId >com.jayway.restassured</groupId >
252257 <artifactId >rest-assured</artifactId >
253- <version >1.6.2 </version >
258+ <version >${rest-assured.version} </version >
254259 <scope >test</scope >
255260 <exclusions >
256261 <exclusion >
272277 </dependencies >
273278
274279 <build >
275- <finalName >rest</finalName >
276280 <resources >
277281 <resource >
278282 <directory >src/main/resources</directory >
285289 <plugin >
286290 <groupId >org.apache.maven.plugins</groupId >
287291 <artifactId >maven-surefire-plugin</artifactId >
288- <version >2.12</version >
289292 <configuration >
290293 <excludes >
291294 <exclude >**/*RESTIntegrationTest.java</exclude >
296299 </configuration >
297300 </plugin >
298301
299- <plugin >
300- <groupId >org.codehaus.cargo</groupId >
301- <artifactId >cargo-maven2-plugin</artifactId >
302- <version >1.2.3</version >
303- <configuration >
304- <wait >true</wait >
305- <container >
306- <containerId >jetty7x</containerId >
307- <type >embedded</type >
308- <systemProperties >
309- <persistenceTarget >cargo</persistenceTarget >
310- </systemProperties >
311- </container >
312- <configuration >
313- <properties >
314- <cargo .servlet.port>8080</cargo .servlet.port>
315- </properties >
316- </configuration >
317- </configuration >
318- </plugin >
319-
320302 <plugin >
321303 <groupId >org.zeroturnaround</groupId >
322304 <artifactId >jrebel-maven-plugin</artifactId >
332314 </executions >
333315 </plugin >
334316
335- <!-- generation of JPA 2 Metadata -->
336- <!-- (temporarily disabled) -->
337- <!-- <plugin> <groupId>com.mysema.maven</groupId> <artifactId>maven-apt-plugin</artifactId>
338- <version>1.0.2</version> <executions> <execution> <phase>generate-sources</phase>
339- <goals> <goal>process</goal> </goals> <configuration> <outputDirectory>target/generated-sources</outputDirectory>
340- <processor>com.mysema.query.apt.jpa.JPAAnnotationProcessor</processor> </configuration>
341- </execution> </executions> </plugin> -->
342-
343- <!-- <plugin> <groupId>org.bsc.maven</groupId> <artifactId>maven-processor-plugin</artifactId>
344- <version>2.0.5</version> <executions> <execution> <id>process</id> <goals>
345- <goal>process</goal> </goals> <phase>generate-sources</phase> <configuration>
346- <outputDirectory>src/main/java</outputDirectory> </configuration> </execution>
347- </executions> </plugin> -->
348-
349- <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId>
350- <version>1.7</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase>
351- <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>src/main/java/org/sec/model</source>
352- </sources> </configuration> </execution> </executions> </plugin> -->
353317 </plugins >
354318
355319 <!-- generated by m2e -->
356320 <pluginManagement >
357321 <plugins >
358- <!-- This plugin's configuration is used to store Eclipse m2e settings
359- only. It has no influence on the Maven build itself. -->
322+ <!-- This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
360323 <plugin >
361324 <groupId >org.eclipse.m2e</groupId >
362325 <artifactId >lifecycle-mapping</artifactId >
431394
432395 </build >
433396
434- <profiles >
435- <profile >
436- <id >integration</id >
437- <build >
438- <plugins >
439-
440- <plugin >
441- <groupId >org.codehaus.cargo</groupId >
442- <artifactId >cargo-maven2-plugin</artifactId >
443- <configuration >
444- <wait >false</wait >
445- </configuration >
446- <executions >
447- <execution >
448- <id >start-server</id >
449- <phase >pre-integration-test</phase >
450- <goals >
451- <goal >start</goal >
452- </goals >
453- </execution >
454- <execution >
455- <id >stop-server</id >
456- <phase >post-integration-test</phase >
457- <goals >
458- <goal >stop</goal >
459- </goals >
460- </execution >
461- </executions >
462- </plugin >
463-
464- <plugin >
465- <groupId >org.apache.maven.plugins</groupId >
466- <artifactId >maven-surefire-plugin</artifactId >
467- <executions >
468- <execution >
469- <phase >integration-test</phase >
470- <goals >
471- <goal >test</goal >
472- </goals >
473- <configuration >
474- <excludes >
475- <exclude >none</exclude >
476- </excludes >
477- <includes >
478- <include >**/*RESTIntegrationTest.java</include >
479- </includes >
480- </configuration >
481- </execution >
482- </executions >
483- </plugin >
484-
485- </plugins >
486- </build >
487- </profile >
488-
489- </profiles >
490-
491397</project >
0 commit comments