3e75d00943dec03e12074ebc0c5aff04bdfa46a5
[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.2.5-SNAPSHOT</version>
9         <relativePath>../config-plugin-parent</relativePath>
10     </parent>
11
12     <artifactId>yang-test</artifactId>
13     <packaging>bundle</packaging>
14
15     <description>Artifact that contains only generated code from yang files. Suitable for testing.
16     </description>
17     <name>${project.artifactId}</name>
18     <prerequisites>
19         <maven>3.0.4</maven>
20     </prerequisites>
21
22     <dependencies>
23         <dependency>
24             <groupId>${project.groupId}</groupId>
25             <artifactId>config-api</artifactId>
26         </dependency>
27         <dependency>
28             <groupId>org.slf4j</groupId>
29             <artifactId>slf4j-api</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.opendaylight.yangtools.model</groupId>
33             <artifactId>ietf-inet-types</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.yangtools</groupId>
37             <artifactId>mockito-configuration</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>${project.groupId}</groupId>
41             <artifactId>config-manager</artifactId>
42             <scope>test</scope>
43         </dependency>
44         <dependency>
45             <groupId>${project.groupId}</groupId>
46             <artifactId>config-manager</artifactId>
47             <type>test-jar</type>
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         <dependency>
56             <groupId>junit</groupId>
57             <artifactId>junit</artifactId>
58             <scope>test</scope>
59         </dependency>
60     </dependencies>
61
62
63
64     <build>
65         <pluginManagement>
66             <plugins>
67                 <plugin>
68                     <groupId>org.eclipse.m2e</groupId>
69                     <artifactId>lifecycle-mapping</artifactId>
70                     <version>1.0.0</version>
71                     <configuration>
72                         <lifecycleMappingMetadata>
73                             <pluginExecutions>
74                                 <pluginExecution>
75                                     <pluginExecutionFilter>
76                                         <groupId>
77                                             org.opendaylight.controller
78                                         </groupId>
79                                         <artifactId>
80                                             yang-test-plugin
81                                         </artifactId>
82                                         <versionRange>
83                                             [0.2.3,)
84                                         </versionRange>
85                                         <goals>
86                                             <goal>
87                                                 delete-sources
88                                             </goal>
89                                             <goal>
90                                                 process-sources
91                                             </goal>
92                                         </goals>
93                                     </pluginExecutionFilter>
94                                     <action>
95                                         <ignore/>
96                                     </action>
97                                 </pluginExecution>
98                             </pluginExecutions>
99                         </lifecycleMappingMetadata>
100                     </configuration>
101                 </plugin>
102             </plugins>
103         </pluginManagement>
104
105         <plugins>
106             <plugin>
107                 <groupId>org.opendaylight.yangtools</groupId>
108                 <artifactId>yang-maven-plugin</artifactId>
109             </plugin>
110             <plugin>
111                 <groupId>org.opendaylight.controller</groupId>
112                 <artifactId>yang-test-plugin</artifactId>
113                 <version>${config.version}</version>
114                 <executions>
115                     <execution>
116                         <goals>
117                             <goal>delete-sources</goal>
118                             <goal>process-sources</goal>
119                         </goals>
120                     </execution>
121                 </executions>
122             </plugin>
123
124             <plugin>
125                 <groupId>org.apache.felix</groupId>
126                 <artifactId>maven-bundle-plugin</artifactId>
127                 <configuration>
128                     <instructions>
129                     </instructions>
130                 </configuration>
131             </plugin>
132         </plugins>
133     </build>
134 </project>