Clean-up pom.xml layout
[controller.git] / opendaylight / config / yang-jmx-generator / 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   <parent>
5     <groupId>org.opendaylight.odlparent</groupId>
6     <artifactId>bundle-parent</artifactId>
7     <version>1.8.0-SNAPSHOT</version>
8     <relativePath/>
9   </parent>
10
11   <groupId>org.opendaylight.controller</groupId>
12   <version>0.6.0-SNAPSHOT</version>
13   <artifactId>yang-jmx-generator</artifactId>
14   <packaging>bundle</packaging>
15   <name>${project.artifactId}</name>
16
17   <dependencyManagement>
18     <dependencies>
19       <dependency>
20         <groupId>org.opendaylight.mdsal</groupId>
21         <artifactId>mdsal-artifacts</artifactId>
22         <version>2.2.0-SNAPSHOT</version>
23         <type>pom</type>
24         <scope>import</scope>
25       </dependency>
26       <dependency>
27         <groupId>org.opendaylight.controller</groupId>
28         <artifactId>config-artifacts</artifactId>
29         <version>0.6.0-SNAPSHOT</version>
30         <type>pom</type>
31         <scope>import</scope>
32       </dependency>
33       <dependency>
34         <groupId>org.opendaylight.yangtools</groupId>
35         <artifactId>yangtools-artifacts</artifactId>
36         <version>1.1.0-SNAPSHOT</version>
37         <type>pom</type>
38         <scope>import</scope>
39       </dependency>
40     </dependencies>
41   </dependencyManagement>
42
43   <dependencies>
44     <dependency>
45       <groupId>${project.groupId}</groupId>
46       <artifactId>config-api</artifactId>
47     </dependency>
48     <dependency>
49       <groupId>com.google.guava</groupId>
50       <artifactId>guava</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>org.opendaylight.mdsal</groupId>
54       <artifactId>mdsal-binding-generator-impl</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>org.opendaylight.yangtools</groupId>
58       <artifactId>yang-model-util</artifactId>
59     </dependency>
60
61     <dependency>
62       <groupId>org.opendaylight.yangtools</groupId>
63       <artifactId>mockito-configuration</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.slf4j</groupId>
67       <artifactId>slf4j-api</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.apache.commons</groupId>
71       <artifactId>commons-lang3</artifactId>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.yangtools</groupId>
76       <artifactId>yang-parser-impl</artifactId>
77       <scope>test</scope>
78     </dependency>
79   </dependencies>
80
81   <build>
82     <plugins>
83       <plugin>
84         <groupId>org.apache.felix</groupId>
85         <artifactId>maven-bundle-plugin</artifactId>
86         <configuration>
87           <instructions>
88             <Private-Package>org.opendaylight.controller.config.yangjmxgenerator.plugin.util,</Private-Package>
89             <Export-Package>org.opendaylight.controller.config.yangjmxgenerator,
90                             org.opendaylight.controller.config.yangjmxgenerator.attribute,</Export-Package>
91           </instructions>
92         </configuration>
93       </plugin>
94       <!-- test jar -->
95       <plugin>
96         <groupId>org.apache.maven.plugins</groupId>
97         <artifactId>maven-jar-plugin</artifactId>
98         <executions>
99           <execution>
100             <goals>
101               <goal>test-jar</goal>
102             </goals>
103             <phase>package</phase>
104           </execution>
105         </executions>
106       </plugin>
107     </plugins>
108   </build>
109   <profiles>
110     <!-- Turn off doclint on aggregated API javadoc build. -->
111     <profile>
112       <id>jdk8</id>
113       <activation>
114         <jdk>[1.8,)</jdk>
115       </activation>
116
117       <build>
118         <plugins>
119           <plugin>
120             <groupId>org.apache.maven.plugins</groupId>
121             <artifactId>maven-javadoc-plugin</artifactId>
122             <configuration>
123               <additionalparam>-Xdoclint:none</additionalparam>
124             </configuration>
125           </plugin>
126         </plugins>
127       </build>
128     </profile>
129   </profiles>
130 </project>