Merge "Add toaster sample consumer/provider modules to initial configuration."
[controller.git] / opendaylight / md-sal / sal-dom-api / 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-core-api</artifactId>
9     <scm>
10         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
11         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
12         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
13       <tag>HEAD</tag>
14   </scm>
15     <build>
16         <plugins>
17             <plugin>
18                 <groupId>org.apache.felix</groupId>
19                 <artifactId>maven-bundle-plugin</artifactId>
20                 <extensions>true</extensions>
21             </plugin>
22             <plugin>
23                 <groupId>org.opendaylight.yangtools</groupId>
24                 <artifactId>yang-maven-plugin</artifactId>
25                 <executions>
26                     <execution>
27                         <goals>
28                             <goal>generate-sources</goal>
29                         </goals>
30                         <configuration>
31                             <codeGenerators>
32                                 <generator>
33                                     <codeGeneratorClass>
34                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
35                                     </codeGeneratorClass>
36                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
37                                     <additionalConfiguration>
38                                         <namespaceToPackage1>
39                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
40                                         </namespaceToPackage1>
41                                     </additionalConfiguration>
42                                 </generator>
43                                 <generator>
44                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
45                                     <outputBaseDir>target/site/models</outputBaseDir>
46                                 </generator>
47                             </codeGenerators>
48                             <inspectDependencies>true</inspectDependencies>
49                         </configuration>
50                     </execution>
51                 </executions>
52                 <dependencies>
53                     <dependency>
54                         <groupId>org.opendaylight.controller</groupId>
55                         <artifactId>yang-jmx-generator-plugin</artifactId>
56                         <version>${config.version}</version>
57                     </dependency>
58                     <dependency>
59                         <groupId>org.opendaylight.yangtools</groupId>
60                         <artifactId>maven-sal-api-gen-plugin</artifactId>
61                         <version>${yangtools.version}</version>
62                         <type>jar</type>
63                     </dependency>
64                 </dependencies>
65             </plugin>
66             <plugin>
67                 <groupId>org.codehaus.mojo</groupId>
68                 <artifactId>build-helper-maven-plugin</artifactId>
69                 <version>1.8</version>
70                 <executions>
71                     <execution>
72                         <id>add-source</id>
73                         <phase>generate-sources</phase>
74                         <goals>
75                             <goal>add-source</goal>
76                         </goals>
77                         <configuration>
78                             <sources>
79                                 <source>${project.build.directory}/generated-sources/config</source>
80                             </sources>
81                         </configuration>
82                     </execution>
83                 </executions>
84             </plugin>
85         </plugins>
86     </build>
87     <dependencies>
88         <dependency>
89             <groupId>org.opendaylight.controller</groupId>
90             <artifactId>sal-common</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.opendaylight.controller</groupId>
94             <artifactId>config-api</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>org.opendaylight.yangtools</groupId>
98             <artifactId>yang-data-api</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>org.opendaylight.controller</groupId>
102             <artifactId>sal-common-api</artifactId>
103         </dependency>
104         <dependency>
105             <groupId>org.opendaylight.yangtools</groupId>
106             <artifactId>yang-model-api</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>org.osgi</groupId>
110             <artifactId>org.osgi.core</artifactId>
111         </dependency>
112     </dependencies>
113     <packaging>bundle</packaging>
114 </project>