Clean-up pom.xml layout
[controller.git] / opendaylight / md-sal / sal-common-api / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4
5   <parent>
6     <groupId>org.opendaylight.mdsal</groupId>
7     <artifactId>binding-parent</artifactId>
8     <version>0.10.0-SNAPSHOT</version>
9     <relativePath/>
10   </parent>
11
12   <groupId>org.opendaylight.controller</groupId>
13   <artifactId>sal-common-api</artifactId>
14   <version>1.5.0-SNAPSHOT</version>
15   <packaging>bundle</packaging>
16
17   <properties>
18     <jmxGeneratorPath>target/generated-sources/config-binding</jmxGeneratorPath>
19   </properties>
20
21   <dependencyManagement>
22     <dependencies>
23       <dependency>
24         <groupId>org.opendaylight.controller</groupId>
25         <artifactId>config-artifacts</artifactId>
26         <version>0.6.0-SNAPSHOT</version>
27         <type>pom</type>
28         <scope>import</scope>
29       </dependency>
30     </dependencies>
31   </dependencyManagement>
32
33   <dependencies>
34     <dependency>
35       <groupId>com.google.guava</groupId>
36       <artifactId>guava</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.controller</groupId>
40       <artifactId>config-api</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.yangtools</groupId>
44       <artifactId>concepts</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.yangtools</groupId>
48       <artifactId>util</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.yangtools</groupId>
52       <artifactId>yang-common</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.yangtools</groupId>
56       <artifactId>yang-data-api</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>org.apache.commons</groupId>
60       <artifactId>commons-lang3</artifactId>
61       <scope>test</scope>
62     </dependency>
63     <dependency>
64       <groupId>junit</groupId>
65       <artifactId>junit</artifactId>
66       <scope>test</scope>
67     </dependency>
68   </dependencies>
69
70   <profiles>
71     <!-- Turn off doclint on aggregated API javadoc build. -->
72     <profile>
73       <id>jdk8</id>
74       <activation>
75         <jdk>[1.8,)</jdk>
76       </activation>
77
78       <build>
79         <plugins>
80           <plugin>
81             <groupId>org.apache.maven.plugins</groupId>
82             <artifactId>maven-javadoc-plugin</artifactId>
83             <configuration>
84               <additionalparam>-Xdoclint:none</additionalparam>
85             </configuration>
86           </plugin>
87           <plugin>
88             <groupId>org.opendaylight.yangtools</groupId>
89             <artifactId>yang-maven-plugin</artifactId>
90             <dependencies>
91               <dependency>
92                 <groupId>org.opendaylight.controller</groupId>
93                 <artifactId>yang-jmx-generator-plugin</artifactId>
94                 <version> 0.6.0-SNAPSHOT</version>
95               </dependency>
96             </dependencies>
97             <executions>
98               <execution>
99                 <id>config</id>
100                 <goals>
101                   <goal>generate-sources</goal>
102                 </goals>
103                 <configuration>
104                   <codeGenerators>
105                     <generator>
106                       <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
107                       <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
108                       <additionalConfiguration>
109                         <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
110                       </additionalConfiguration>
111                     </generator>
112                   </codeGenerators>
113                   <inspectDependencies>true</inspectDependencies>
114                 </configuration>
115               </execution>
116             </executions>
117           </plugin>
118         </plugins>
119       </build>
120     </profile>
121   </profiles>
122
123   <scm>
124     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
125     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
126     <tag>HEAD</tag>
127     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
128   </scm>
129 </project>