aa10c1ea3caa9c43c6ba9a1e6d286015f54d23e2
[openflowplugin.git] / extension / test-extension / pom.xml
1 <?xml version="1.0"?>
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <groupId>org.opendaylight.openflowplugin</groupId>
7     <artifactId>openflowplugin-extension-parent</artifactId>
8     <version>0.0.3-SNAPSHOT</version>
9     <relativePath>../</relativePath>
10   </parent>
11   <artifactId>test-extension</artifactId>
12   
13   <properties>
14         <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
15     </properties>
16   
17   <packaging>bundle</packaging>
18     
19     <build>
20         <plugins>
21             <plugin>
22                 <groupId>org.apache.felix</groupId>
23                 <artifactId>maven-bundle-plugin</artifactId>
24             </plugin>
25             
26             <plugin>
27                 <groupId>org.opendaylight.yangtools</groupId>
28                 <artifactId>yang-maven-plugin</artifactId>
29                 <executions>
30                     <execution>
31                         <goals>
32                             <goal>generate-sources</goal>
33                         </goals>
34                         <configuration>
35                             <codeGenerators>
36                                 <generator>
37                                     <codeGeneratorClass>
38                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
39                                     </codeGeneratorClass>
40                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
41                                     <additionalConfiguration>
42                                         <namespaceToPackage1>
43                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
44                                         </namespaceToPackage1>
45                                     </additionalConfiguration>
46                                 </generator>
47                                 <generator>
48                                     <codeGeneratorClass>
49                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
50                                     </codeGeneratorClass>
51                                     <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
52                                 </generator>
53                                 <generator>
54                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
55                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
56                                 </generator>
57                             </codeGenerators>
58                             <inspectDependencies>true</inspectDependencies>
59                         </configuration>
60                     </execution>
61                 </executions>
62                 <dependencies>
63                     <dependency>
64                         <groupId>org.opendaylight.controller</groupId>
65                         <artifactId>yang-jmx-generator-plugin</artifactId>
66                         <version>${config.parent.version}</version>
67                     </dependency>
68                     <dependency>
69                         <groupId>org.opendaylight.yangtools</groupId>
70                         <artifactId>maven-sal-api-gen-plugin</artifactId>
71                         <version>${yangtools.version}</version>
72                         <type>jar</type>
73                     </dependency>
74                 </dependencies>
75             </plugin>
76         </plugins>
77     </build>
78     
79     <dependencies>
80         <dependency>
81             <groupId>org.opendaylight.openflowplugin</groupId>
82             <artifactId>openflowplugin-extension-nicira</artifactId>
83             <version>${project.version}</version>
84         </dependency>
85         <dependency>
86             <groupId>org.opendaylight.openflowplugin</groupId>
87             <artifactId>openflowplugin-extension-api</artifactId>
88             <version>${project.version}</version>
89         </dependency>
90         <dependency>
91             <groupId>org.opendaylight.openflowplugin</groupId>
92             <artifactId>openflowjava-extension-nicira</artifactId>
93             <version>${project.version}</version>
94         </dependency>
95         <dependency>
96             <!-- configSubsystem yang should be moved to API and this would be doomed for removal -->
97             <groupId>org.opendaylight.openflowplugin</groupId>
98             <artifactId>openflowplugin</artifactId>
99             <version>${project.version}</version>
100         </dependency>
101
102         <!-- MD-SAL models -->
103         <dependency>
104             <groupId>org.opendaylight.controller.model</groupId>
105             <artifactId>model-flow-base</artifactId>
106         </dependency>
107         <dependency>
108             <groupId>org.opendaylight.controller.model</groupId>
109             <artifactId>model-flow-service</artifactId>
110         </dependency>
111         <dependency>
112             <groupId>org.opendaylight.controller.model</groupId>
113             <artifactId>model-flow-statistics</artifactId>
114         </dependency>
115         <dependency>
116             <groupId>org.opendaylight.controller.model</groupId>
117             <artifactId>model-inventory</artifactId>
118         </dependency>
119
120         <!-- OpenFlowJava-API models -->
121         <dependency>
122             <groupId>org.opendaylight.openflowjava</groupId>
123             <artifactId>openflow-protocol-api</artifactId>
124         </dependency>
125         <dependency>
126             <groupId>org.opendaylight.openflowjava</groupId>
127             <artifactId>openflow-protocol-impl</artifactId>
128         </dependency>
129     </dependencies>
130     
131     
132 </project>