Silence maven-javadoc-plugin
[mdsal.git] / binding / binding-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12     <parent>
13         <groupId>org.opendaylight.mdsal</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>13.0.0-SNAPSHOT</version>
16         <relativePath>../../bundle-parent</relativePath>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <artifactId>binding-parent</artifactId>
21     <packaging>pom</packaging>
22
23     <properties>
24         <spotbugs.onlyAnalyze>!org.opendaylight.yang.gen.-</spotbugs.onlyAnalyze>
25         <!-- FIXME: fix these up and set maven.javadoc.failOnWarnings=true -->
26         <doclint>all,-missing</doclint>
27     </properties>
28
29     <build>
30         <!-- https://bugs.opendaylight.org/show_bug.cgi?id=6252 -->
31         <resources>
32             <resource>
33                 <directory>src/main/resources</directory>
34             </resource>
35             <resource>
36                 <directory>${project.build.directory}/generated-sources/spi</directory>
37             </resource>
38             <resource>
39                 <directory>${project.build.directory}/generated-sources/yang</directory>
40             </resource>
41         </resources>
42     </build>
43
44     <profiles>
45         <profile>
46             <activation>
47                 <file>
48                     <exists>src/main/yang</exists>
49                 </file>
50             </activation>
51             <dependencies>
52                 <dependency>
53                     <groupId>com.google.guava</groupId>
54                     <artifactId>guava</artifactId>
55                 </dependency>
56                 <dependency>
57                     <groupId>org.eclipse.jdt</groupId>
58                     <artifactId>org.eclipse.jdt.annotation</artifactId>
59                 </dependency>
60                 <dependency>
61                     <groupId>org.opendaylight.mdsal</groupId>
62                     <artifactId>yang-binding</artifactId>
63                 </dependency>
64                 <dependency>
65                     <groupId>org.opendaylight.yangtools</groupId>
66                     <artifactId>yang-common</artifactId>
67                 </dependency>
68             </dependencies>
69             <build>
70                 <pluginManagement>
71                     <plugins>
72                         <plugin>
73                             <groupId>org.opendaylight.yangtools</groupId>
74                             <artifactId>yang-maven-plugin</artifactId>
75                             <version>13.0.0</version>
76                             <dependencies>
77                                 <dependency>
78                                     <groupId>org.opendaylight.mdsal</groupId>
79                                     <artifactId>mdsal-binding-java-api-generator</artifactId>
80                                     <version>13.0.0-SNAPSHOT</version>
81                                 </dependency>
82                             </dependencies>
83                             <executions>
84                                 <execution>
85                                     <id>binding</id>
86                                     <goals>
87                                         <goal>generate-sources</goal>
88                                     </goals>
89                                     <configuration>
90                                         <inspectDependencies>true</inspectDependencies>
91                                     </configuration>
92                                 </execution>
93                             </executions>
94                         </plugin>
95                     </plugins>
96                 </pluginManagement>
97                 <plugins>
98                     <plugin>
99                         <groupId>org.opendaylight.yangtools</groupId>
100                         <artifactId>yang-maven-plugin</artifactId>
101                     </plugin>
102                     <plugin>
103                         <groupId>org.codehaus.mojo</groupId>
104                         <artifactId>build-helper-maven-plugin</artifactId>
105                     </plugin>
106                 </plugins>
107             </build>
108         </profile>
109     </profiles>
110 </project>