Ignore feature conditions
[controller.git] / opendaylight / config / yang-test / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <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">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <groupId>org.opendaylight.controller</groupId>
7     <artifactId>config-plugin-parent</artifactId>
8     <version>0.6.0-SNAPSHOT</version>
9     <relativePath>../config-plugin-parent</relativePath>
10   </parent>
11
12   <artifactId>yang-test</artifactId>
13   <packaging>bundle</packaging>
14   <name>${project.artifactId}</name>
15   <description>Artifact that contains only generated code from yang files. Suitable for testing.</description>
16
17   <dependencies>
18     <dependency>
19       <groupId>${project.groupId}</groupId>
20       <artifactId>config-api</artifactId>
21     </dependency>
22     <dependency>
23       <groupId>org.opendaylight.yangtools</groupId>
24       <artifactId>mockito-configuration</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.mdsal.model</groupId>
28       <artifactId>ietf-inet-types-2013-07-15</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.slf4j</groupId>
32       <artifactId>slf4j-api</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>${project.groupId}</groupId>
36       <artifactId>config-manager</artifactId>
37       <scope>test</scope>
38     </dependency>
39     <dependency>
40       <groupId>${project.groupId}</groupId>
41       <artifactId>config-manager</artifactId>
42       <type>test-jar</type>
43       <scope>test</scope>
44     </dependency>
45     <dependency>
46       <groupId>junit</groupId>
47       <artifactId>junit</artifactId>
48       <scope>test</scope>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.controller</groupId>
52       <artifactId>config-util</artifactId>
53       <scope>test</scope>
54     </dependency>
55   </dependencies>
56
57   <build>
58     <pluginManagement>
59       <plugins>
60         <plugin>
61           <groupId>org.eclipse.m2e</groupId>
62           <artifactId>lifecycle-mapping</artifactId>
63           <version>${lifecycle.mapping.version}</version>
64           <configuration>
65             <lifecycleMappingMetadata>
66               <pluginExecutions>
67                 <pluginExecution>
68                   <pluginExecutionFilter>
69                     <groupId>org.opendaylight.controller</groupId>
70                     <artifactId>yang-test-plugin</artifactId>
71                     <versionRange>[0.2.3,)</versionRange>
72                     <goals>
73                       <goal>delete-sources</goal>
74                       <goal>process-sources</goal>
75                     </goals>
76                   </pluginExecutionFilter>
77                   <action>
78                     <ignore></ignore>
79                   </action>
80                 </pluginExecution>
81               </pluginExecutions>
82             </lifecycleMappingMetadata>
83           </configuration>
84         </plugin>
85       </plugins>
86     </pluginManagement>
87
88     <plugins>
89       <plugin>
90         <artifactId>maven-checkstyle-plugin</artifactId>
91         <version>${checkstyle.version}</version>
92         <dependencies>
93           <dependency>
94             <groupId>org.opendaylight.odlparent</groupId>
95             <artifactId>checkstyle</artifactId>
96             <version>${odl.checkstyle.version}</version>
97           </dependency>
98           <dependency>
99             <groupId>org.opendaylight.odlparent</groupId>
100             <artifactId>odl-license</artifactId>
101             <version>0.2.0-SNAPSHOT</version>
102           </dependency>
103         </dependencies>
104         <executions>
105           <execution>
106             <id>check-license</id>
107             <goals>
108               <goal>check</goal>
109             </goals>
110             <phase>process-sources</phase>
111             <configuration>
112               <configLocation>check-license.xml</configLocation>
113               <includeResources>false</includeResources>
114               <includeTestResources>false</includeTestResources>
115               <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
116               <excludes>
117                 org/opendaylight/yang/gen/**,
118                 **/protobuff/messages/**,
119                 **/thrift/gen/*.java,
120                 **/config/yang/test/**
121               </excludes>
122               <failsOnError>false</failsOnError>
123               <consoleOutput>true</consoleOutput>
124             </configuration>
125           </execution>
126         </executions>
127       </plugin>
128       <plugin>
129         <groupId>org.opendaylight.controller</groupId>
130         <artifactId>yang-test-plugin</artifactId>
131         <version>0.6.0-SNAPSHOT</version>
132         <executions>
133           <execution>
134             <goals>
135               <goal>delete-sources</goal>
136
137               <goal>process-sources</goal>
138             </goals>
139           </execution>
140         </executions>
141       </plugin>
142     </plugins>
143   </build>
144 </project>