sal-restconf-broker initial implementation
[controller.git] / opendaylight / md-sal / sal-restconf-broker / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2     <modelVersion>4.0.0</modelVersion>
3     <parent>
4         <groupId>org.opendaylight.controller</groupId>
5         <artifactId>sal-parent</artifactId>
6         <version>1.1-SNAPSHOT</version>
7     </parent>
8     <artifactId>sal-restconf-broker</artifactId>
9     <packaging>bundle</packaging>
10     <scm>
11         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
14       <tag>HEAD</tag>
15   </scm>
16     <dependencies>
17         <dependency>
18             <groupId>org.opendaylight.controller</groupId>
19             <artifactId>sal-binding-api</artifactId>
20         </dependency>
21         <dependency>
22             <groupId>org.opendaylight.controller</groupId>
23             <artifactId>sal-binding-util</artifactId>
24         </dependency>
25         <dependency>
26             <groupId>org.opendaylight.controller</groupId>
27             <artifactId>sal-remote</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>org.opendaylight.controller</groupId>
31             <artifactId>sal-broker-impl</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.controller</groupId>
35             <artifactId>sal-binding-config</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>org.opendaylight.controller</groupId>
39             <artifactId>sal-core-api</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>org.opendaylight.yangtools</groupId>
43             <artifactId>restconf-client-api</artifactId>
44             <version>${yangtools.version}</version>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.yangtools</groupId>
48             <artifactId>restconf-client-impl</artifactId>
49             <version>${yangtools.version}</version>
50         </dependency>
51         <dependency>
52             <groupId>org.slf4j</groupId>
53             <artifactId>slf4j-api</artifactId>
54         </dependency>
55     </dependencies>
56     <build>
57         <plugins>
58             <plugin>
59                 <groupId>org.apache.felix</groupId>
60                 <artifactId>maven-bundle-plugin</artifactId>
61                 <extensions>true</extensions>
62                 <configuration>
63                     <instructions>
64                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
65                         <Bundle-Activator>org.opendaylight.controller.sal.restconf.broker.osgi.Activator</Bundle-Activator>
66                         <Import-Package>
67                                 *
68                         </Import-Package>
69                     </instructions>
70                 </configuration>
71             </plugin>
72             <plugin>
73                 <groupId>org.opendaylight.yangtools</groupId>
74                 <artifactId>yang-maven-plugin</artifactId>
75                 <version>${yangtools.version}</version>
76                 <executions>
77                     <execution>
78                         <goals>
79                             <goal>generate-sources</goal>
80                         </goals>
81                         <configuration>
82                             <codeGenerators>
83                                 <generator>
84                                     <codeGeneratorClass>
85                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
86                                     </codeGeneratorClass>
87                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
88                                     <additionalConfiguration>
89                                         <namespaceToPackage1>
90                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
91                                         </namespaceToPackage1>
92                                     </additionalConfiguration>
93                                 </generator>
94                                 <generator>
95                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
96                                     <outputBaseDir>target/site/models</outputBaseDir>
97                                 </generator>
98                             </codeGenerators>
99                             <inspectDependencies>true</inspectDependencies>
100                         </configuration>
101                     </execution>
102                 </executions>
103                 <dependencies>
104                     <dependency>
105                         <groupId>org.opendaylight.controller</groupId>
106                         <artifactId>yang-jmx-generator-plugin</artifactId>
107                         <version>0.2.4-SNAPSHOT</version>
108                     </dependency>
109                     <dependency>
110                         <groupId>org.opendaylight.yangtools</groupId>
111                         <artifactId>maven-sal-api-gen-plugin</artifactId>
112                         <version>${yangtools.version}</version>
113                         <type>jar</type>
114                     </dependency>
115                 </dependencies>
116             </plugin>
117             <plugin>
118                 <groupId>org.codehaus.mojo</groupId>
119                 <artifactId>build-helper-maven-plugin</artifactId>
120                 <version>1.8</version>
121                 <executions>
122                     <execution>
123                         <id>add-source</id>
124                         <phase>generate-sources</phase>
125                         <goals>
126                             <goal>add-source</goal>
127                         </goals>
128                         <configuration>
129                             <sources>
130                                 <source>${project.build.directory}/generated-sources/</source>
131                             </sources>
132                         </configuration>
133                     </execution>
134                 </executions>
135             </plugin>
136         </plugins>
137     </build>
138 </project>