10e7946a7b5d3038d87d52beb0c3efda8b5975dc
[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             <version>0.5.9-SNAPSHOT</version>
59         </dependency>
60         <dependency>
61             <groupId>org.opendaylight.yangtools</groupId>
62             <artifactId>yang-parser-impl</artifactId>
63             <version>0.5.9-SNAPSHOT</version>
64         </dependency>
65     </dependencies>
66
67     <build>
68         <plugins>
69             <plugin>
70                 <groupId>org.opendaylight.yangtools</groupId>
71                 <artifactId>yang-maven-plugin</artifactId>
72                 <version>0.5.9-SNAPSHOT</version>
73                 <executions>
74                     <execution>
75                         <goals>
76                             <goal>generate-sources</goal>
77                         </goals>
78                         <configuration>
79                             <codeGenerators>
80                                 <generator>
81                                     <codeGeneratorClass>
82                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
83                                     </codeGeneratorClass>
84                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
85                                     <additionalConfiguration>
86                                         <namespaceToPackage1>
87                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
88                                         </namespaceToPackage1>
89                                     </additionalConfiguration>
90                                 </generator>
91                                 <generator>
92                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
93                                     <outputBaseDir>target/site/models</outputBaseDir>
94                                 </generator>
95                             </codeGenerators>
96                             <inspectDependencies>true</inspectDependencies>
97                         </configuration>
98                     </execution>
99                 </executions>
100                 <dependencies>
101                     <dependency>
102                         <groupId>org.opendaylight.controller</groupId>
103                         <artifactId>yang-jmx-generator-plugin</artifactId>
104                         <version>0.2.3-SNAPSHOT</version>
105                     </dependency>
106                     <dependency>
107                         <groupId>org.opendaylight.yangtools</groupId>
108                         <artifactId>maven-sal-api-gen-plugin</artifactId>
109                         <version>0.6.0-SNAPSHOT</version>
110                         <type>jar</type>
111                     </dependency>
112                 </dependencies>
113             </plugin>
114             
115             
116             <plugin>
117                 <groupId>org.apache.felix</groupId>
118                 <artifactId>maven-bundle-plugin</artifactId>
119                 <extensions>true</extensions>
120                 <configuration>
121                     <instructions>
122                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
123                         <Private-Package>
124                             org.opendaylight.controller.sal.dom.broker.*,
125                             org.opendaylight.controller.config.yang.md.sal.dom.impl
126                         </Private-Package>
127                     </instructions>
128                 </configuration>
129             </plugin>
130             <plugin>
131                 <groupId>org.codehaus.mojo</groupId>
132                 <artifactId>build-helper-maven-plugin</artifactId>
133                 <version>1.8</version>
134                 <executions>
135                     <execution>
136                         <id>add-source</id>
137                         <phase>generate-sources</phase>
138                         <goals>
139                             <goal>add-source</goal>
140                         </goals>
141                         <configuration>
142                             <sources>
143                                 <source>${project.build.directory}/generated-sources/config</source>
144                             </sources>
145                         </configuration>
146                     </execution>
147                 </executions>
148             </plugin>
149             <plugin>
150                 <groupId>org.eclipse.xtend</groupId>
151                 <artifactId>xtend-maven-plugin</artifactId>
152             </plugin>
153         </plugins>
154     </build>
155 </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.