Refactor dependency management to import upstream artifacts
[openflowplugin.git] / openflowplugin / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <groupId>org.opendaylight.openflowplugin</groupId>
6         <artifactId>openflowplugin-parent</artifactId>
7         <version>0.1.0-SNAPSHOT</version>
8         <relativePath>../</relativePath>
9     </parent>
10
11     <artifactId>openflowplugin</artifactId>
12     <packaging>bundle</packaging>
13
14     <build>
15         <plugins>
16             <plugin>
17                 <groupId>org.apache.felix</groupId>
18                 <artifactId>maven-bundle-plugin</artifactId>
19             </plugin>
20             <plugin>
21                 <groupId>org.opendaylight.yangtools</groupId>
22                 <artifactId>yang-maven-plugin</artifactId>
23                 <executions>
24                     <execution>
25                         <goals>
26                             <goal>generate-sources</goal>
27                         </goals>
28                         <configuration>
29                             <codeGenerators>
30                                 <generator>
31                                     <codeGeneratorClass>
32                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
33                                     </codeGeneratorClass>
34                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
35                                     <additionalConfiguration>
36                                         <namespaceToPackage1>
37                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
38                                         </namespaceToPackage1>
39                                     </additionalConfiguration>
40                                 </generator>
41                                 <generator>
42                                     <codeGeneratorClass>
43                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
44                                     </codeGeneratorClass>
45                                     <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
46                                 </generator>
47                                 <generator>
48                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
49                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
50                                 </generator>
51                             </codeGenerators>
52                             <inspectDependencies>true</inspectDependencies>
53                         </configuration>
54                     </execution>
55                 </executions>
56                 <dependencies>
57                     <dependency>
58                         <groupId>org.opendaylight.controller</groupId>
59                         <artifactId>yang-jmx-generator-plugin</artifactId>
60                         <version>${config.version}</version>
61                     </dependency>
62                     <dependency>
63                         <groupId>org.opendaylight.yangtools</groupId>
64                         <artifactId>maven-sal-api-gen-plugin</artifactId>
65                         <version>${yangtools.version}</version>
66                         <type>jar</type>
67                     </dependency>
68                 </dependencies>
69             </plugin>
70         </plugins>
71     </build>
72     <dependencies>
73         <dependency>
74             <groupId>org.opendaylight.openflowplugin</groupId>
75             <artifactId>openflowplugin-api</artifactId>
76             <version>${project.version}</version>
77         </dependency>
78         <dependency>
79             <groupId>org.opendaylight.openflowplugin</groupId>
80             <artifactId>openflowplugin-extension-api</artifactId>
81             <version>${project.version}</version>
82         </dependency>
83         <dependency>
84             <groupId>org.opendaylight.openflowplugin.model</groupId>
85             <artifactId>model-flow-base</artifactId>
86         </dependency>
87         <dependency>
88             <groupId>org.opendaylight.openflowplugin.model</groupId>
89             <artifactId>model-flow-service</artifactId>
90         </dependency>
91         <dependency>
92             <groupId>org.opendaylight.openflowplugin.model</groupId>
93             <artifactId>model-flow-statistics</artifactId>
94         </dependency>
95         <dependency>
96             <groupId>org.opendaylight.controller.model</groupId>
97             <artifactId>model-inventory</artifactId>
98         </dependency>
99         <dependency>
100             <groupId>org.opendaylight.controller</groupId>
101             <artifactId>sal-binding-api</artifactId>
102         </dependency>
103         <dependency>
104             <groupId>org.opendaylight.controller</groupId>
105             <artifactId>sal-binding-broker-impl</artifactId>
106         </dependency>
107
108         <dependency>
109             <groupId>org.opendaylight.openflowjava</groupId>
110             <artifactId>openflow-protocol-api</artifactId>
111         </dependency>
112         <dependency>
113             <groupId>org.opendaylight.openflowjava</groupId>
114             <artifactId>openflow-protocol-spi</artifactId>
115         </dependency>
116         <dependency>
117             <groupId>org.opendaylight.controller</groupId>
118             <artifactId>config-api</artifactId>
119         </dependency>
120
121         <dependency>
122             <groupId>com.google.guava</groupId>
123             <artifactId>guava</artifactId>
124         </dependency>
125         <dependency>
126             <groupId>org.apache.commons</groupId>
127             <artifactId>commons-lang3</artifactId>
128         </dependency>
129
130         <dependency>
131             <groupId>junit</groupId>
132             <artifactId>junit</artifactId>
133             <scope>test</scope>
134         </dependency>
135         <dependency>
136             <groupId>org.mockito</groupId>
137             <artifactId>mockito-all</artifactId>
138             <scope>test</scope>
139         </dependency>
140
141         <dependency>
142             <groupId>org.slf4j</groupId>
143             <artifactId>slf4j-log4j12</artifactId>
144             <scope>test</scope>
145         </dependency>
146         <dependency>
147             <groupId>org.opendaylight.controller</groupId>
148             <artifactId>sal-common-util</artifactId>
149         </dependency>
150         <dependency>
151             <groupId>org.opendaylight.openflowjava</groupId>
152             <artifactId>util</artifactId>
153         </dependency>
154
155     </dependencies>
156 </project>
157