Merge "Bug 164"
[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"
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-core-api</artifactId>
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     </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                 <version>0.5.9-SNAPSHOT</version>
26                 <executions>
27                     <execution>
28                         <goals>
29                             <goal>generate-sources</goal>
30                         </goals>
31                         <configuration>
32                             <codeGenerators>
33                                 <generator>
34                                     <codeGeneratorClass>
35                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
36                                     </codeGeneratorClass>
37                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
38                                     <additionalConfiguration>
39                                         <namespaceToPackage1>
40                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
41                                         </namespaceToPackage1>
42                                     </additionalConfiguration>
43                                 </generator>
44                             </codeGenerators>
45                             <inspectDependencies>true</inspectDependencies>
46                         </configuration>
47                     </execution>
48                 </executions>
49                 <dependencies>
50                     <dependency>
51                         <groupId>org.opendaylight.controller</groupId>
52                         <artifactId>yang-jmx-generator-plugin</artifactId>
53                         <version>0.2.3-SNAPSHOT</version>
54                     </dependency>
55                 </dependencies>
56             </plugin>
57             <plugin>
58                 <groupId>org.codehaus.mojo</groupId>
59                 <artifactId>build-helper-maven-plugin</artifactId>
60                 <version>1.8</version>
61                 <executions>
62                     <execution>
63                         <id>add-source</id>
64                         <phase>generate-sources</phase>
65                         <goals>
66                             <goal>add-source</goal>
67                         </goals>
68                         <configuration>
69                             <sources>
70                                 <source>${project.build.directory}/generated-sources/config</source>
71                             </sources>
72                         </configuration>
73                     </execution>
74                 </executions>
75             </plugin>
76         </plugins>
77     </build>
78     <dependencies>
79         <dependency>
80             <groupId>org.opendaylight.controller</groupId>
81             <artifactId>sal-common</artifactId>
82             <version>1.0-SNAPSHOT</version>
83         </dependency>
84
85         <dependency>
86             <groupId>org.opendaylight.controller</groupId>
87             <artifactId>config-api</artifactId>
88             <version>0.2.3-SNAPSHOT</version>
89         </dependency>
90         <dependency>
91             <groupId>org.opendaylight.yangtools</groupId>
92             <artifactId>yang-data-api</artifactId>
93         </dependency>
94         <dependency>
95             <groupId>org.opendaylight.controller</groupId>
96             <artifactId>sal-common-api</artifactId>
97             <version>${project.version}</version>
98         </dependency>
99         <dependency>
100             <groupId>org.opendaylight.yangtools</groupId>
101             <artifactId>yang-model-api</artifactId>
102         </dependency>
103         <dependency>
104             <groupId>org.osgi</groupId>
105             <artifactId>org.osgi.core</artifactId>
106             <version>5.0.0</version>
107         </dependency>
108     </dependencies>
109     <packaging>bundle</packaging>
110 </project>