Use version 0.6.0-SNAPSHOT of yangtools everywhere in controller.
[controller.git] / opendaylight / md-sal / sal-binding-config / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     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.controller</groupId>
6         <artifactId>sal-parent</artifactId>
7         <version>1.0-SNAPSHOT</version>
8     </parent>
9     <artifactId>sal-binding-config</artifactId>
10     <packaging>bundle</packaging>
11     <scm>
12         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
13         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
14         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
15     </scm>
16
17     <build>
18         <plugins>
19             <plugin>
20                 <groupId>org.apache.felix</groupId>
21                 <artifactId>maven-bundle-plugin</artifactId>
22                 <extensions>true</extensions>
23             </plugin>
24             <plugin>
25                 <groupId>org.opendaylight.yangtools</groupId>
26                 <artifactId>yang-maven-plugin</artifactId>
27                 <version>${yangtools.version}</version>
28                 <executions>
29                     <execution>
30                         <goals>
31                             <goal>generate-sources</goal>
32                         </goals>
33                         <configuration>
34                             <codeGenerators>
35                                 <generator>
36                                     <codeGeneratorClass>
37                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
38                                     </codeGeneratorClass>
39                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
40                                     <additionalConfiguration>
41                                         <namespaceToPackage1>
42                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
43                                         </namespaceToPackage1>
44                                     </additionalConfiguration>
45                                 </generator>
46                                 <generator>
47                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
48                                     <outputBaseDir>target/site/models</outputBaseDir>
49                                 </generator>
50                             </codeGenerators>
51                             <inspectDependencies>true</inspectDependencies>
52                         </configuration>
53                     </execution>
54                 </executions>
55                 <dependencies>
56                     <dependency>
57                         <groupId>org.opendaylight.controller</groupId>
58                         <artifactId>yang-jmx-generator-plugin</artifactId>
59                         <version>0.2.3-SNAPSHOT</version>
60                     </dependency>
61                     <dependency>
62                         <groupId>org.opendaylight.yangtools</groupId>
63                         <artifactId>maven-sal-api-gen-plugin</artifactId>
64                         <version>0.6.0-SNAPSHOT</version>
65                         <type>jar</type>
66                     </dependency>
67                 </dependencies>
68             </plugin>
69             <plugin>
70                 <groupId>org.codehaus.mojo</groupId>
71                 <artifactId>build-helper-maven-plugin</artifactId>
72                 <version>1.8</version>
73                 <executions>
74                     <execution>
75                         <id>add-source</id>
76                         <phase>generate-sources</phase>
77                         <goals>
78                             <goal>add-source</goal>
79                         </goals>
80                         <configuration>
81                             <sources>
82                                 <source>${project.build.directory}/generated-sources/config</source>
83                             </sources>
84                         </configuration>
85                     </execution>
86                 </executions>
87             </plugin>
88         </plugins>
89     </build>
90
91     <dependencies>
92         <dependency>
93             <groupId>org.opendaylight.controller</groupId>
94             <artifactId>config-api</artifactId>
95             <version>0.2.3-SNAPSHOT</version>
96         </dependency>
97         <dependency>
98             <groupId>org.opendaylight.controller</groupId>
99             <artifactId>sal-binding-api</artifactId>
100             <version>1.0-SNAPSHOT</version>
101         </dependency>
102     </dependencies>
103 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.