Declare suppress-warnings as used dependency
[fiscal-year.java.git] / pom.xml
bloba46908cb0e19c43ba2b3ef1240c534499fdc0fa5
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
4     Copyright © 2013 Sebastian Hoß <mail@shoss.de>
5     This work is free. You can redistribute it and/or modify it under the
6     terms of the Do What The Fuck You Want To Public License, Version 2,
7     as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
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/maven-v4_0_0.xsd">
11   <modelVersion>4.0.0</modelVersion>
13   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
14   <!--                                 PARENT                                  -->
15   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
16   <parent>
17     <groupId>com.github.sebhoss</groupId>
18     <artifactId>java-parent</artifactId>
19     <version>1.0.9-SNAPSHOT</version>
20   </parent>
22   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
23   <!--                               INFORMATIONS                              -->
24   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
25   <artifactId>fiscal-year</artifactId>
26   <version>1.0.4-SNAPSHOT</version>
27   <packaging>jar</packaging>
28   <url>https://github.com/sebhoss/fiscal-year</url>
29   <inceptionYear>2013</inceptionYear>
30   <name>Fiscal Year</name>
31   <description>Utility library to work with fiscal years.</description>
33   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
34   <!--                                  SOURCE                                 -->
35   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
36   <scm>
37     <connection>scm:git:git://github.com/sebhoss/fiscal-year.git</connection>
38     <developerConnection>scm:git:git@github.com:sebhoss/fiscal-year.git</developerConnection>
39     <tag>master</tag>
40     <url>${project.url}</url>
41   </scm>
43   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
44   <!--                                PROPERTIES                               -->
45   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
46   <properties>
47     <version.bom>2.0.6</version.bom>
48   </properties>
50   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
51   <!--                               DEPENDENCIES                              -->
52   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
53   <dependencyManagement>
54     <dependencies>
55       <dependency>
56         <groupId>com.github.sebhoss</groupId>
57         <artifactId>java-bom</artifactId>
58         <version>${version.bom}</version>
59         <type>pom</type>
60         <scope>import</scope>
61       </dependency>
62       <dependency>
63         <groupId>com.github.sebhoss</groupId>
64         <artifactId>testing-bom</artifactId>
65         <version>${version.bom}</version>
66         <type>pom</type>
67         <scope>import</scope>
68       </dependency>
69       <dependency>
70         <groupId>com.github.sebhoss</groupId>
71         <artifactId>sebhoss-bom</artifactId>
72         <version>${version.bom}</version>
73         <type>pom</type>
74         <scope>import</scope>
75       </dependency>
76     </dependencies>
77   </dependencyManagement>
78   <dependencies>
79     <dependency>
80       <groupId>joda-time</groupId>
81       <artifactId>joda-time</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>com.github.sebhoss</groupId>
85       <artifactId>null-analysis</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>com.google.code.findbugs</groupId>
89       <artifactId>jsr305</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>com.github.sebhoss</groupId>
93       <artifactId>suppress-warnings</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>com.google.guava</groupId>
97       <artifactId>guava</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>junit</groupId>
101       <artifactId>junit</artifactId>
102       <scope>test</scope>
103     </dependency>
104     <dependency>
105       <groupId>com.github.sebhoss</groupId>
106       <artifactId>datasets</artifactId>
107       <scope>test</scope>
108     </dependency>
109   </dependencies>
111   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
112   <!--                                   BUILD                                 -->
113   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
114   <build>
115     <plugins>
116       <plugin>
117         <groupId>org.apache.maven.plugins</groupId>
118         <artifactId>maven-dependency-plugin</artifactId>
119         <version>2.8</version>
120         <configuration>
121           <!--
122             Ignore common annotations because @SuppressWarnings is not retained
123             in byte code. There the plugin detects a false positive.
124            -->
125           <usedDependencies>
126             <usedDependency>com.github.sebhoss:suppress-warnings</usedDependency>
127           </usedDependencies>
128         </configuration>
129       </plugin>
130     </plugins>
131   </build>
132 </project>