yang-test POM simplification
[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.7.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>${project.groupId}</groupId>
32       <artifactId>config-manager</artifactId>
33       <scope>test</scope>
34     </dependency>
35     <dependency>
36       <groupId>${project.groupId}</groupId>
37       <artifactId>config-manager</artifactId>
38       <type>test-jar</type>
39       <scope>test</scope>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.controller</groupId>
43       <artifactId>config-util</artifactId>
44       <scope>test</scope>
45     </dependency>
46   </dependencies>
47
48   <build>
49     <pluginManagement>
50       <plugins>
51         <plugin>
52           <groupId>org.eclipse.m2e</groupId>
53           <artifactId>lifecycle-mapping</artifactId>
54           <version>1.0.0</version>
55           <configuration>
56             <lifecycleMappingMetadata>
57               <pluginExecutions>
58                 <pluginExecution>
59                   <pluginExecutionFilter>
60                     <groupId>org.opendaylight.controller</groupId>
61                     <artifactId>yang-test-plugin</artifactId>
62                     <versionRange>[0.2.3,)</versionRange>
63                     <goals>
64                       <goal>delete-sources</goal>
65                       <goal>process-sources</goal>
66                     </goals>
67                   </pluginExecutionFilter>
68                   <action>
69                     <ignore></ignore>
70                   </action>
71                 </pluginExecution>
72               </pluginExecutions>
73             </lifecycleMappingMetadata>
74           </configuration>
75         </plugin>
76       </plugins>
77     </pluginManagement>
78
79     <plugins>
80       <plugin>
81         <artifactId>maven-checkstyle-plugin</artifactId>
82         <executions>
83           <execution>
84             <id>check-license</id>
85             <goals>
86               <goal>check</goal>
87             </goals>
88             <phase>process-sources</phase>
89             <configuration>
90               <excludes>
91                 org/opendaylight/yang/gen/**,
92                 **/config/yang/test/**
93               </excludes>
94             </configuration>
95           </execution>
96         </executions>
97       </plugin>
98       <plugin>
99         <groupId>org.opendaylight.controller</groupId>
100         <artifactId>yang-test-plugin</artifactId>
101         <version>0.7.0-SNAPSHOT</version>
102         <executions>
103           <execution>
104             <goals>
105               <goal>delete-sources</goal>
106               <goal>process-sources</goal>
107             </goals>
108           </execution>
109         </executions>
110       </plugin>
111     </plugins>
112   </build>
113 </project>