Integrate LoopRemover module with config subsystem.
[l2switch.git] / loopremover / implementation / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5   <parent>
6     <groupId>org.opendaylight.l2switch</groupId>
7     <artifactId>l2switch-parent</artifactId>
8     <version>0.1.0-SNAPSHOT</version>
9     <relativePath>../../parent</relativePath>
10   </parent>
11   <modelVersion>4.0.0</modelVersion>
12
13   <groupId>org.opendaylight.l2switch.loopremover</groupId>
14   <artifactId>loopremover-impl</artifactId>
15
16   <packaging>bundle</packaging>
17
18   <dependencies>
19     <dependency>
20       <groupId>org.osgi</groupId>
21       <artifactId>org.osgi.core</artifactId>
22       <scope>provided</scope>
23     </dependency>
24     <dependency>
25       <groupId>org.opendaylight.controller</groupId>
26       <artifactId>sal-binding-api</artifactId>
27     </dependency>
28     <dependency>
29       <groupId>org.opendaylight.controller.model</groupId>
30       <artifactId>model-flow-service</artifactId>
31     </dependency>
32     <dependency>
33       <groupId>org.opendaylight.controller.model</groupId>
34       <artifactId>model-topology</artifactId>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.yangtools</groupId>
38       <artifactId>yang-common</artifactId>
39     </dependency>
40     <dependency>
41       <groupId>org.opendaylight.controller.thirdparty</groupId>
42       <artifactId>net.sf.jung2</artifactId>
43     </dependency>
44     <dependency>
45       <groupId>org.opendaylight.l2switch.loopremover</groupId>
46       <artifactId>loopremover-model</artifactId>
47       <version>${project.version}</version>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.controller</groupId>
51       <artifactId>config-api</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.controller</groupId>
55       <artifactId>sal-binding-config</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>junit</groupId>
59       <artifactId>junit</artifactId>
60       <scope>test</scope>
61     </dependency>
62     <dependency>
63       <groupId>org.mockito</groupId>
64       <artifactId>mockito-all</artifactId>
65       <scope>test</scope>
66     </dependency>
67   </dependencies>
68   <build>
69     <plugins>
70       <plugin>
71         <groupId>org.apache.felix</groupId>
72         <artifactId>maven-bundle-plugin</artifactId>
73         <extensions>true</extensions>
74         <configuration>
75           <instructions>
76             <Export-Package>org.opendaylight.yang.gen.v1.urn.opendaylight.packet.loop.remover.impl.rev140528</Export-Package>
77             <Import-Package>*</Import-Package>
78           </instructions>
79         </configuration>
80       </plugin>
81       <plugin>
82         <groupId>org.opendaylight.yangtools</groupId>
83         <artifactId>yang-maven-plugin</artifactId>
84         <version>${yangtools.version}</version>
85         <executions>
86           <execution>
87             <goals>
88               <goal>generate-sources</goal>
89             </goals>
90             <configuration>
91               <codeGenerators>
92                 <generator>
93                   <codeGeneratorClass>
94                     org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
95                   </codeGeneratorClass>
96                   <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
97                   <additionalConfiguration>
98                     <namespaceToPackage1>
99                       urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
100                     </namespaceToPackage1>
101                   </additionalConfiguration>
102                 </generator>
103                 <generator>
104                   <codeGeneratorClass>
105                     org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
106                   </codeGeneratorClass>
107                   <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
108                 </generator>
109               </codeGenerators>
110               <inspectDependencies>true</inspectDependencies>
111             </configuration>
112           </execution>
113         </executions>
114         <dependencies>
115           <dependency>
116             <groupId>org.opendaylight.controller</groupId>
117             <artifactId>yang-jmx-generator-plugin</artifactId>
118             <version>0.2.5-SNAPSHOT</version>
119           </dependency>
120           <dependency>
121             <groupId>org.opendaylight.yangtools</groupId>
122             <artifactId>maven-sal-api-gen-plugin</artifactId>
123             <version>${yangtools.version}</version>
124             <type>jar</type>
125           </dependency>
126         </dependencies>
127       </plugin>
128     </plugins>
129   </build>
130
131 </project>