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