BUG-7464: enable FindBugs enforcement
[yangtools.git] / third-party / xsd-regex / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4     This program and the accompanying materials are made available under the
5     terms of the Eclipse Public License v1.0 which accompanies this distribution,
6     and is available at http://www.eclipse.org/legal/epl-v10.html -->
7 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9
10     <parent>
11         <groupId>org.opendaylight.odlparent</groupId>
12         <artifactId>bundle-parent</artifactId>
13         <version>1.8.0-SNAPSHOT</version>
14         <relativePath/>
15     </parent>
16
17     <modelVersion>4.0.0</modelVersion>
18     <groupId>org.opendaylight.yangtools</groupId>
19     <artifactId>xsd-regex</artifactId>
20     <version>1.1.0-SNAPSHOT</version>
21     <packaging>bundle</packaging>
22     <name>${project.artifactId}</name>
23     <description>${project.artifactId}</description>
24
25     <licenses>
26         <license>
27             <name>Apache License, Version 2.0</name>
28             <url>https://www.apache.org/licenses/LICENSE-2.0</url>
29         </license>
30     </licenses>
31
32     <build>
33         <pluginManagement>
34             <plugins>
35             </plugins>
36         </pluginManagement>
37         <plugins>
38             <plugin>
39                 <groupId>org.jacoco</groupId>
40                 <artifactId>jacoco-maven-plugin</artifactId>
41                 <executions>
42                     <execution>
43                         <id>prepare-ut-agent</id>
44                         <phase>process-test-classes</phase>
45                         <goals>
46                             <goal>prepare-agent</goal>
47                         </goals>
48                         <configuration>
49                             <destFile>${sonar.jacoco.reportPath}</destFile>
50                             <propertyName>jacoco.agent.ut.arg</propertyName>
51                         </configuration>
52                     </execution>
53                     <execution>
54                         <id>prepare-it-agent</id>
55                         <phase>pre-integration-test</phase>
56                         <goals>
57                             <goal>prepare-agent</goal>
58                         </goals>
59                         <configuration>
60                             <destFile>${sonar.jacoco.itReportPath}</destFile>
61                             <propertyName>jacoco.agent.it.arg</propertyName>
62                         </configuration>
63                     </execution>
64                 </executions>
65             </plugin>
66             <plugin>
67                 <groupId>org.apache.maven.plugins</groupId>
68                 <artifactId>maven-surefire-plugin</artifactId>
69                 <configuration>
70                 <argLine>-Dlog4j.configuration=log4j-test.xml
71                     -Xmx1500m ${jacoco.agent.ut.arg}</argLine>
72                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
73                 </configuration>
74             </plugin>
75             <plugin>
76                 <!-- This project has a different license -->
77                 <artifactId>maven-checkstyle-plugin</artifactId>
78                 <configuration>
79                     <skip>true</skip>
80                 </configuration>
81             </plugin>
82             <plugin>
83                 <artifactId>maven-javadoc-plugin</artifactId>
84                 <configuration>
85                     <!-- Xerces-J has non-compliant javadocs -->
86                     <additionalparam>-Xdoclint:none</additionalparam>
87                 </configuration>
88             </plugin>
89         </plugins>
90     </build>
91
92     <reporting>
93         <plugins>
94             <plugin>
95                 <artifactId>maven-javadoc-plugin</artifactId>
96                 <configuration>
97                     <!-- Xerces-J has non-compliant javadocs -->
98                     <additionalparam>-Xdoclint:none</additionalparam>
99                 </configuration>
100             </plugin>
101         </plugins>
102     </reporting>
103
104     <dependencies>
105         <dependency>
106             <groupId>com.google.guava</groupId>
107             <artifactId>guava</artifactId>
108         </dependency>
109         <dependency>
110             <groupId>junit</groupId>
111             <artifactId>junit</artifactId>
112         </dependency>
113         <dependency>
114             <groupId>org.mockito</groupId>
115             <artifactId>mockito-core</artifactId>
116         </dependency>
117         <dependency>
118             <groupId>org.slf4j</groupId>
119             <artifactId>slf4j-log4j12</artifactId>
120             <scope>test</scope>
121         </dependency>
122         <dependency>
123             <groupId>com.google.code.findbugs</groupId>
124             <artifactId>jsr305</artifactId>
125         </dependency>
126     </dependencies>
127
128   <!--
129       Maven Site Configuration
130
131       The following configuration is necessary for maven-site-plugin to
132       correctly identify the correct deployment path for OpenDaylight Maven
133       sites.
134   -->
135   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
136
137   <distributionManagement>
138     <site>
139       <id>opendaylight-site</id>
140       <url>${nexus.site.url}/${project.artifactId}/</url>
141     </site>
142   </distributionManagement>
143 </project>