Bump yangtools to 1.0.0-SNAPSHOT
[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.4.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.openflowplugin.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     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.controller</groupId>
50       <artifactId>config-api</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>org.opendaylight.controller</groupId>
54       <artifactId>sal-binding-config</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>junit</groupId>
58       <artifactId>junit</artifactId>
59       <scope>test</scope>
60     </dependency>
61     <dependency>
62       <groupId>org.mockito</groupId>
63       <artifactId>mockito-all</artifactId>
64       <scope>test</scope>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.openflowplugin</groupId>
68       <artifactId>openflowplugin-api</artifactId>
69     </dependency>
70   </dependencies>
71   <build>
72     <plugins>
73       <plugin>
74         <groupId>org.apache.felix</groupId>
75         <artifactId>maven-bundle-plugin</artifactId>
76         <extensions>true</extensions>
77         <configuration>
78           <instructions>
79             <Export-Package>org.opendaylight.yang.gen.v1.urn.opendaylight.packet.loop.remover.impl.rev140528</Export-Package>
80             <Import-Package>*</Import-Package>
81           </instructions>
82         </configuration>
83       </plugin>
84       <plugin>
85         <groupId>org.opendaylight.yangtools</groupId>
86         <artifactId>yang-maven-plugin</artifactId>
87         <version>${yangtools.version}</version>
88         <executions>
89           <execution>
90             <goals>
91               <goal>generate-sources</goal>
92             </goals>
93             <configuration>
94               <codeGenerators>
95                 <generator>
96                   <codeGeneratorClass>
97                     org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
98                   </codeGeneratorClass>
99                   <outputBaseDir>${configCodeGeneratorPath}</outputBaseDir>
100                   <additionalConfiguration>
101                     <namespaceToPackage1>
102                       urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
103                     </namespaceToPackage1>
104                   </additionalConfiguration>
105                 </generator>
106                 <generator>
107                   <codeGeneratorClass>
108                     org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
109                   </codeGeneratorClass>
110                   <outputBaseDir>${codeGeneratorPath}</outputBaseDir>
111                 </generator>
112               </codeGenerators>
113               <inspectDependencies>true</inspectDependencies>
114             </configuration>
115           </execution>
116         </executions>
117         <dependencies>
118           <dependency>
119             <groupId>org.opendaylight.controller</groupId>
120             <artifactId>yang-jmx-generator-plugin</artifactId>
121             <version>0.5.0-SNAPSHOT</version>
122           </dependency>
123           <dependency>
124             <groupId>org.opendaylight.mdsal</groupId>
125             <artifactId>maven-sal-api-gen-plugin</artifactId>
126             <version>${mdsal.model.version}</version>
127             <type>jar</type>
128           </dependency>
129         </dependencies>
130       </plugin>
131     </plugins>
132   </build>
133
134 </project>