Resolve Bug:445 Remove freemarker from config code generator.
[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
111             <plugin>
112                 <groupId>org.opendaylight.controller</groupId>
113                 <artifactId>yang-test-plugin</artifactId>
114                 <version>${config.version}</version>
115                 <executions>
116                     <execution>
117                         <goals>
118                             <goal>delete-sources</goal>
119
120                             <goal>process-sources</goal>
121                         </goals>
122                     </execution>
123                 </executions>
124             </plugin>
125
126             <plugin>
127                 <groupId>org.apache.felix</groupId>
128                 <artifactId>maven-bundle-plugin</artifactId>
129                 <configuration>
130                     <instructions>
131                     </instructions>
132                 </configuration>
133             </plugin>
134         </plugins>
135     </build>
136 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.