Factored checkstyle config into it's own mvn project
[controller.git] / opendaylight / commons / integrationtest / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.4.0-SNAPSHOT</version>
8     <relativePath>../../commons/opendaylight</relativePath>
9   </parent>
10
11   <artifactId>commons.integrationtest</artifactId>
12   <version>0.5.0-SNAPSHOT</version>
13   <packaging>pom</packaging>
14
15   <dependencies>
16     <dependency>
17       <groupId>equinoxSDK381</groupId>
18       <artifactId>org.eclipse.equinox.console</artifactId>
19       <version>1.0.0.v20120522-1841</version>
20     </dependency>
21     <dependency>
22       <groupId>equinoxSDK381</groupId>
23       <artifactId>org.eclipse.equinox.util</artifactId>
24       <version>1.0.400.v20120522-2049</version>
25     </dependency>
26     <dependency>
27       <groupId>equinoxSDK381</groupId>
28       <artifactId>org.eclipse.osgi.services</artifactId>
29       <version>3.3.100.v20120522-1822</version>
30     </dependency>
31     <dependency>
32       <groupId>equinoxSDK381</groupId>
33       <artifactId>org.eclipse.equinox.ds</artifactId>
34       <version>1.4.0.v20120522-1841</version>
35     </dependency>
36     <dependency>
37       <groupId>equinoxSDK381</groupId>
38       <artifactId>org.apache.felix.gogo.command</artifactId>
39       <version>0.8.0.v201108120515</version>
40     </dependency>
41     <dependency>
42       <groupId>equinoxSDK381</groupId>
43       <artifactId>org.apache.felix.gogo.runtime</artifactId>
44       <version>0.8.0.v201108120515</version>
45     </dependency>
46     <dependency>
47       <groupId>equinoxSDK381</groupId>
48       <artifactId>org.apache.felix.gogo.shell</artifactId>
49       <version>0.8.0.v201110170705</version>
50     </dependency>
51   </dependencies>
52
53   <build>
54     <plugins>
55       <plugin>
56         <groupId>org.apache.maven.plugins</groupId>
57         <artifactId>maven-surefire-plugin</artifactId>
58         <version>${surefire.version}</version>
59         <configuration>
60           <skipTests>true</skipTests>
61         </configuration>
62       </plugin>
63       <plugin>
64        <groupId>org.ops4j.pax.exam</groupId>
65        <artifactId>maven-paxexam-plugin</artifactId>
66        <version>1.2.4</version>
67         <executions>
68           <execution>
69             <id>generate-config</id>
70             <goals>
71               <goal>generate-depends-file</goal>
72             </goals>
73           </execution>
74         </executions>
75       </plugin>
76       <plugin>
77         <groupId>org.apache.maven.plugins</groupId>
78         <artifactId>maven-checkstyle-plugin</artifactId>
79         <version>${checkstyle.version}</version>
80         <dependencies>
81           <dependency>
82             <groupId>org.opendaylight.controller</groupId>
83             <artifactId>checkstyle</artifactId>
84             <version>0.0.1</version>
85           </dependency>
86          </dependencies>
87         <configuration>
88           <failsOnError>true</failsOnError>
89           <configLocation>controller/space_and_tabs_checks.xml</configLocation>
90         </configuration>
91       </plugin>
92       <plugin>
93         <groupId>org.codehaus.mojo</groupId>
94         <artifactId>properties-maven-plugin</artifactId>
95         <version>${propertymavenplugin.version}</version>
96         <executions>
97           <execution>
98             <goals>
99               <goal>set-system-properties</goal>
100             </goals>
101             <configuration>
102               <properties>
103                 <property>
104                   <name>logback.configurationFile</name>
105                   <value>${project.parent.parent.basedir}/logback.xml</value>
106                 </property>
107               </properties>
108             </configuration>
109           </execution>
110         </executions>
111       </plugin>
112     </plugins>
113   </build>
114 </project>