Use version 0.6.0-SNAPSHOT of yangtools everywhere in controller.
[controller.git] / opendaylight / md-sal / sal-dom-broker / 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-broker-impl</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     <dependencies>
18         <dependency>
19             <groupId>org.opendaylight.controller</groupId>
20             <artifactId>sal-core-api</artifactId>
21             <version>1.0-SNAPSHOT</version>
22         </dependency>
23         <dependency>
24             <groupId>org.opendaylight.controller</groupId>
25             <artifactId>sal-common-util</artifactId>
26             <version>1.0-SNAPSHOT</version>
27         </dependency>
28         <dependency>
29             <groupId>org.opendaylight.controller</groupId>
30             <artifactId>sal-common-impl</artifactId>
31             <version>1.0-SNAPSHOT</version>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.controller</groupId>
35             <artifactId>sal-core-spi</artifactId>
36             <version>1.0-SNAPSHOT</version>
37         </dependency>
38         <dependency>
39             <groupId>org.slf4j</groupId>
40             <artifactId>slf4j-api</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>com.google.guava</groupId>
44             <artifactId>guava</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.eclipse.xtend</groupId>
48             <artifactId>org.eclipse.xtend.lib</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.controller</groupId>
52             <artifactId>config-api</artifactId>
53             <version>0.2.3-SNAPSHOT</version>
54         </dependency>
55         <dependency>
56             <groupId>org.opendaylight.yangtools</groupId>
57             <artifactId>yang-data-impl</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.opendaylight.yangtools</groupId>
61             <artifactId>yang-parser-impl</artifactId>
62         </dependency>
63     </dependencies>
64
65     <build>
66         <plugins>
67             <plugin>
68                 <groupId>org.opendaylight.yangtools</groupId>
69                 <artifactId>yang-maven-plugin</artifactId>
70                 <version>${yangtools.version}</version>
71                 <executions>
72                     <execution>
73                         <goals>
74                             <goal>generate-sources</goal>
75                         </goals>
76                         <configuration>
77                             <codeGenerators>
78                                 <generator>
79                                     <codeGeneratorClass>
80                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
81                                     </codeGeneratorClass>
82                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
83                                     <additionalConfiguration>
84                                         <namespaceToPackage1>
85                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
86                                         </namespaceToPackage1>
87                                     </additionalConfiguration>
88                                 </generator>
89                                 <generator>
90                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
91                                     <outputBaseDir>target/site/models</outputBaseDir>
92                                 </generator>
93                             </codeGenerators>
94                             <inspectDependencies>true</inspectDependencies>
95                         </configuration>
96                     </execution>
97                 </executions>
98                 <dependencies>
99                     <dependency>
100                         <groupId>org.opendaylight.controller</groupId>
101                         <artifactId>yang-jmx-generator-plugin</artifactId>
102                         <version>0.2.3-SNAPSHOT</version>
103                     </dependency>
104                     <dependency>
105                         <groupId>org.opendaylight.yangtools</groupId>
106                         <artifactId>maven-sal-api-gen-plugin</artifactId>
107                         <version>0.6.0-SNAPSHOT</version>
108                         <type>jar</type>
109                     </dependency>
110                 </dependencies>
111             </plugin>
112             
113             
114             <plugin>
115                 <groupId>org.apache.felix</groupId>
116                 <artifactId>maven-bundle-plugin</artifactId>
117                 <extensions>true</extensions>
118                 <configuration>
119                     <instructions>
120                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
121                         <Private-Package>
122                             org.opendaylight.controller.sal.dom.broker.*,
123                             org.opendaylight.controller.config.yang.md.sal.dom.impl
124                         </Private-Package>
125                         <Import-Package>
126                             *
127                         </Import-Package>
128                     </instructions>
129                 </configuration>
130             </plugin>
131             <plugin>
132                 <groupId>org.codehaus.mojo</groupId>
133                 <artifactId>build-helper-maven-plugin</artifactId>
134                 <version>1.8</version>
135                 <executions>
136                     <execution>
137                         <id>add-source</id>
138                         <phase>generate-sources</phase>
139                         <goals>
140                             <goal>add-source</goal>
141                         </goals>
142                         <configuration>
143                             <sources>
144                                 <source>${project.build.directory}/generated-sources/config</source>
145                             </sources>
146                         </configuration>
147                     </execution>
148                 </executions>
149             </plugin>
150             <plugin>
151                 <groupId>org.eclipse.xtend</groupId>
152                 <artifactId>xtend-maven-plugin</artifactId>
153             </plugin>
154         </plugins>
155     </build>
156 </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.