|
2 | 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 | 3 | <modelVersion>4.0.0</modelVersion>
|
4 | 4 |
|
5 |
| - <parent> |
6 |
| - <groupId>com.github.stefanbirkner</groupId> |
7 |
| - <artifactId>lib-parent</artifactId> |
8 |
| - <version>8</version> |
9 |
| - </parent> |
10 |
| - |
| 5 | + <groupId>com.github.stefanbirkner</groupId> |
11 | 6 | <artifactId>system-rules</artifactId>
|
12 | 7 | <version>1.20.0-SNAPSHOT</version>
|
13 | 8 | <packaging>jar</packaging>
|
|
54 | 49 | < developerConnection>scm:git: [email protected]:stefanbirkner/system-rules.git</ developerConnection>
|
55 | 50 | <url>https://github.com/stefanbirkner/system-rules/</url>
|
56 | 51 | </scm>
|
| 52 | + <distributionManagement> |
| 53 | + <snapshotRepository> |
| 54 | + <id>ossrh</id> |
| 55 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 56 | + </snapshotRepository> |
| 57 | + <repository> |
| 58 | + <id>ossrh</id> |
| 59 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 60 | + </repository> |
| 61 | + </distributionManagement> |
57 | 62 |
|
58 | 63 | <properties>
|
59 | 64 | <findbugs.excludeFilterFile>findbugs-exclude.xml</findbugs.excludeFilterFile>
|
|
93 | 98 | </dependencies>
|
94 | 99 |
|
95 | 100 | <build>
|
| 101 | + <pluginManagement> |
| 102 | + <plugins> |
| 103 | + <plugin> |
| 104 | + <artifactId>maven-clean-plugin</artifactId> |
| 105 | + <version>2.6.1</version> |
| 106 | + </plugin> |
| 107 | + <plugin> |
| 108 | + <artifactId>maven-compiler-plugin</artifactId> |
| 109 | + <version>3.3</version> |
| 110 | + </plugin> |
| 111 | + <plugin> |
| 112 | + <artifactId>maven-dependency-plugin</artifactId> |
| 113 | + <version>2.10</version> |
| 114 | + </plugin> |
| 115 | + <plugin> |
| 116 | + <artifactId>maven-deploy-plugin</artifactId> |
| 117 | + <version>2.8.2</version> |
| 118 | + </plugin> |
| 119 | + <plugin> |
| 120 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 121 | + <version>1.4</version> |
| 122 | + </plugin> |
| 123 | + <plugin> |
| 124 | + <artifactId>maven-gpg-plugin</artifactId> |
| 125 | + <version>1.6</version> |
| 126 | + </plugin> |
| 127 | + <plugin> |
| 128 | + <artifactId>maven-install-plugin</artifactId> |
| 129 | + <version>2.5.2</version> |
| 130 | + </plugin> |
| 131 | + <plugin> |
| 132 | + <artifactId>maven-jar-plugin</artifactId> |
| 133 | + <version>2.6</version> |
| 134 | + </plugin> |
| 135 | + <plugin> |
| 136 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 137 | + <version>2.10.3</version> |
| 138 | + </plugin> |
| 139 | + <plugin> |
| 140 | + <artifactId>maven-resources-plugin</artifactId> |
| 141 | + <version>2.7</version> |
| 142 | + </plugin> |
| 143 | + <plugin> |
| 144 | + <artifactId>maven-site-plugin</artifactId> |
| 145 | + <version>3.4</version> |
| 146 | + </plugin> |
| 147 | + <plugin> |
| 148 | + <artifactId>maven-source-plugin</artifactId> |
| 149 | + <version>2.4</version> |
| 150 | + </plugin> |
| 151 | + <plugin> |
| 152 | + <artifactId>maven-surefire-plugin</artifactId> |
| 153 | + <version>2.18.1</version> |
| 154 | + </plugin> |
| 155 | + <plugin> |
| 156 | + <groupId>org.codehaus.mojo</groupId> |
| 157 | + <artifactId>flatten-maven-plugin</artifactId> |
| 158 | + <version>1.0.0-beta-5</version> |
| 159 | + </plugin> |
| 160 | + <plugin> |
| 161 | + <groupId>org.codehaus.mojo</groupId> |
| 162 | + <artifactId>findbugs-maven-plugin</artifactId> |
| 163 | + <version>3.0.5</version> |
| 164 | + </plugin> |
| 165 | + <plugin> |
| 166 | + <groupId>org.sonatype.plugins</groupId> |
| 167 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 168 | + <version>1.6.5</version> |
| 169 | + </plugin> |
| 170 | + </plugins> |
| 171 | + </pluginManagement> |
96 | 172 | <plugins>
|
| 173 | + <plugin> |
| 174 | + <artifactId>maven-gpg-plugin</artifactId> |
| 175 | + <executions> |
| 176 | + <execution> |
| 177 | + <id>sign-artifacts</id> |
| 178 | + <phase>verify</phase> |
| 179 | + <goals> |
| 180 | + <goal>sign</goal> |
| 181 | + </goals> |
| 182 | + </execution> |
| 183 | + </executions> |
| 184 | + </plugin> |
| 185 | + <plugin> |
| 186 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 187 | + <executions> |
| 188 | + <execution> |
| 189 | + <id>attach-javadocs</id> |
| 190 | + <goals> |
| 191 | + <goal>jar</goal> |
| 192 | + </goals> |
| 193 | + </execution> |
| 194 | + </executions> |
| 195 | + </plugin> |
| 196 | + <plugin> |
| 197 | + <artifactId>maven-source-plugin</artifactId> |
| 198 | + <executions> |
| 199 | + <execution> |
| 200 | + <id>attach-sources</id> |
| 201 | + <goals> |
| 202 | + <goal>jar-no-fork</goal> |
| 203 | + </goals> |
| 204 | + </execution> |
| 205 | + </executions> |
| 206 | + </plugin> |
| 207 | + <plugin> |
| 208 | + <groupId>org.codehaus.mojo</groupId> |
| 209 | + <artifactId>flatten-maven-plugin</artifactId> |
| 210 | + <extensions>true</extensions> |
| 211 | + <configuration> |
| 212 | + <flattenMode>ossrh</flattenMode> |
| 213 | + </configuration> |
| 214 | + <executions> |
| 215 | + <execution> |
| 216 | + <id>flatten</id> |
| 217 | + <phase>process-resources</phase> |
| 218 | + <goals> |
| 219 | + <goal>flatten</goal> |
| 220 | + </goals> |
| 221 | + </execution> |
| 222 | + <execution> |
| 223 | + <id>flatten.clean</id> |
| 224 | + <phase>clean</phase> |
| 225 | + <goals> |
| 226 | + <goal>clean</goal> |
| 227 | + </goals> |
| 228 | + </execution> |
| 229 | + </executions> |
| 230 | + </plugin> |
| 231 | + <plugin> |
| 232 | + <groupId>org.sonatype.plugins</groupId> |
| 233 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 234 | + <extensions>true</extensions> |
| 235 | + <configuration> |
| 236 | + <serverId>ossrh</serverId> |
| 237 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 238 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 239 | + </configuration> |
| 240 | + </plugin> |
97 | 241 | <plugin>
|
98 | 242 | <groupId>org.codehaus.mojo</groupId>
|
99 | 243 | <artifactId>animal-sniffer-maven-plugin</artifactId>
|
|
156 | 300 | </pluginManagement>
|
157 | 301 | </build>
|
158 | 302 | </profile>
|
| 303 | + <profile> |
| 304 | + <id>findbugs</id> |
| 305 | + <activation> |
| 306 | + <!-- FindBugs requires Java 7 because it is compiled with JDK 7. --> |
| 307 | + <jdk>[1.7,)</jdk> |
| 308 | + </activation> |
| 309 | + <build> |
| 310 | + <plugins> |
| 311 | + <plugin> |
| 312 | + <groupId>org.codehaus.mojo</groupId> |
| 313 | + <artifactId>findbugs-maven-plugin</artifactId> |
| 314 | + <configuration> |
| 315 | + <effort>Max</effort> |
| 316 | + <threshold>Low</threshold> |
| 317 | + </configuration> |
| 318 | + <executions> |
| 319 | + <execution> |
| 320 | + <goals> |
| 321 | + <goal>check</goal> |
| 322 | + </goals> |
| 323 | + </execution> |
| 324 | + </executions> |
| 325 | + </plugin> |
| 326 | + </plugins> |
| 327 | + </build> |
| 328 | + </profile> |
159 | 329 | </profiles>
|
160 | 330 | </project>
|
0 commit comments