|
28 | 28 | </licenses> |
29 | 29 | <inceptionYear>2012</inceptionYear> |
30 | 30 | <build> |
| 31 | + <pluginManagement> |
| 32 | + <plugins> |
| 33 | + <!-- ======================================================= --> |
| 34 | + <!-- License --> |
| 35 | + <!-- ======================================================= --> |
| 36 | + <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> |
| 37 | + <version>1.4</version> </plugin> --> |
| 38 | + <plugin> |
| 39 | + <groupId>com.google.code.maven-license-plugin</groupId> |
| 40 | + <artifactId>maven-license-plugin</artifactId> |
| 41 | + <version>1.4.0</version> |
| 42 | + <configuration> |
| 43 | + <basedir>${basedir}</basedir> |
| 44 | + <header>${basedir}/src/etc/header.txt</header> |
| 45 | + <quiet>false</quiet> |
| 46 | + <failIfMissing>true</failIfMissing> |
| 47 | + <aggregate>false</aggregate> |
| 48 | + <encoding>UTF-8</encoding> |
| 49 | + <excludes> |
| 50 | + <exclude>target/**</exclude> |
| 51 | + <exclude>LICENSE*.html</exclude> |
| 52 | + <exclude>README.*</exclude> |
| 53 | + <exclude>checkstyle*.*</exclude> |
| 54 | + <exclude>*.css</exclude> |
| 55 | + </excludes> |
| 56 | + </configuration> |
| 57 | + </plugin> |
| 58 | + <!-- TODO enable this only for major upgrades (ensure to copy LICENSE.txt |
| 59 | + to LICENSE.bak first) --> |
| 60 | + <plugin> |
| 61 | + <groupId>org.apache.maven.plugins</groupId> |
| 62 | + <artifactId>maven-gpg-plugin</artifactId> |
| 63 | + <version>1.4</version> |
| 64 | + </plugin> |
| 65 | + <plugin> |
| 66 | + <groupId>org.apache.maven.plugins</groupId> |
| 67 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 68 | + <version>1.3.1</version> |
| 69 | + </plugin> |
| 70 | + <plugin> |
| 71 | + <groupId>org.apache.maven.plugins</groupId> |
| 72 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 73 | + <executions> |
| 74 | + <execution> |
| 75 | + <id>attach-javadocs</id> |
| 76 | + <goals> |
| 77 | + <goal>jar</goal> |
| 78 | + </goals> |
| 79 | + </execution> |
| 80 | + </executions> |
| 81 | + <configuration> |
| 82 | + <detectLinks>true</detectLinks> |
| 83 | + <!-- excludePackageNames>blabla</excludePackageNames --> |
| 84 | + <keywords>true</keywords> |
| 85 | + <linksource>true</linksource> |
| 86 | + <!-- overview>${basedir}/overview.html</overview --> |
| 87 | + <source>${project.build.sourceCompilerLevel}</source> |
| 88 | + <!-- stylesheetfile>${basedir}/src/site/css/money-jdoc.css</stylesheetfile --> |
| 89 | + <verbose>true</verbose> |
| 90 | + </configuration> |
| 91 | + </plugin> |
| 92 | + <plugin> |
| 93 | + <groupId>org.apache.maven.plugins</groupId> |
| 94 | + <artifactId>maven-source-plugin</artifactId> |
| 95 | + <executions> |
| 96 | + <execution> |
| 97 | + <id>attach-sources</id> |
| 98 | + <phase>package</phase> |
| 99 | + <goals> |
| 100 | + <goal>jar-no-fork</goal> |
| 101 | + </goals> |
| 102 | + </execution> |
| 103 | + </executions> |
| 104 | + </plugin> |
| 105 | + <plugin> |
| 106 | + <groupId>org.apache.maven.plugins</groupId> |
| 107 | + <artifactId>maven-compiler-plugin</artifactId> |
| 108 | + <version>3.1</version> |
| 109 | + <configuration> |
| 110 | + <debug>true</debug> |
| 111 | + <optimize>true</optimize> |
| 112 | + <verbose>true</verbose> |
| 113 | + <source>${maven.compile.sourceLevel}</source> |
| 114 | + <target>${maven.compile.targetLevel}</target> |
| 115 | + <compilerArgument>-g</compilerArgument> |
| 116 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 117 | + <charset>${project.build.sourceEncoding}</charset> |
| 118 | + <showDeprecations>true</showDeprecations> |
| 119 | + </configuration> |
| 120 | + </plugin> |
| 121 | + <plugin> |
| 122 | + <groupId>org.apache.maven.plugins</groupId> |
| 123 | + <artifactId>maven-clean-plugin</artifactId> |
| 124 | + <version>2.5</version> |
| 125 | + </plugin> |
| 126 | + <plugin> |
| 127 | + <groupId>org.apache.maven.plugins</groupId> |
| 128 | + <artifactId>maven-deploy-plugin</artifactId> |
| 129 | + <version>2.7</version> |
| 130 | + </plugin> |
| 131 | + <plugin> |
| 132 | + <groupId>org.apache.maven.plugins</groupId> |
| 133 | + <artifactId>maven-resources-plugin</artifactId> |
| 134 | + <version>2.6</version> |
| 135 | + </plugin> |
| 136 | + <plugin> |
| 137 | + <groupId>org.apache.maven.plugins</groupId> |
| 138 | + <artifactId>maven-jar-plugin</artifactId> |
| 139 | + <version>2.4</version> |
| 140 | + </plugin> |
| 141 | + <plugin> |
| 142 | + <groupId>org.apache.maven.plugins</groupId> |
| 143 | + <artifactId>maven-war-plugin</artifactId> |
| 144 | + <version>2.4</version> |
| 145 | + </plugin> |
| 146 | + <plugin> |
| 147 | + <groupId>org.apache.maven.plugins</groupId> |
| 148 | + <artifactId>maven-assembly-plugin</artifactId> |
| 149 | + <version>2.4</version> |
| 150 | + </plugin> |
| 151 | + <plugin> |
| 152 | + <groupId>org.apache.maven.plugins</groupId> |
| 153 | + <artifactId>maven-install-plugin</artifactId> |
| 154 | + <version>2.4</version> |
| 155 | + <executions> |
| 156 | + <execution> |
| 157 | + <goals> |
| 158 | + <goal>install</goal> |
| 159 | + </goals> |
| 160 | + <configuration> |
| 161 | + <createChecksum>true</createChecksum> |
| 162 | + </configuration> |
| 163 | + </execution> |
| 164 | + </executions> |
| 165 | + </plugin> |
| 166 | + <plugin> |
| 167 | + <groupId>org.codehaus.mojo</groupId> |
| 168 | + <artifactId>jdepend-maven-plugin</artifactId> |
| 169 | + <version>2.0-beta-2</version> |
| 170 | + </plugin> |
| 171 | + <plugin> |
| 172 | + <groupId>org.apache.maven.plugins</groupId> |
| 173 | + <artifactId>maven-surefire-report-plugin</artifactId> |
| 174 | + <version>2.15</version> |
| 175 | + <configuration> |
| 176 | + <aggregate>true</aggregate> |
| 177 | + <xrefLocation>${project.reporting.outputDirectory}/../xref-test</xrefLocation> |
| 178 | + <linkXRef>true</linkXRef> |
| 179 | + </configuration> |
| 180 | + </plugin> |
| 181 | + <plugin> |
| 182 | + <groupId>org.apache.maven.plugins</groupId> |
| 183 | + <artifactId>maven-pmd-plugin</artifactId> |
| 184 | + <version>3.0.1</version> |
| 185 | + <configuration> |
| 186 | + <targetJdk>${maven.compile.targetLevel}</targetJdk> |
| 187 | + <format>xml</format> |
| 188 | + <linkXref>true</linkXref> |
| 189 | + <aggregate>true</aggregate> |
| 190 | + <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding> |
| 191 | + </configuration> |
| 192 | + </plugin> |
| 193 | + <plugin> |
| 194 | + <groupId>org.codehaus.mojo</groupId> |
| 195 | + <artifactId>taglist-maven-plugin</artifactId> |
| 196 | + <version>2.4</version> |
| 197 | + <configuration> |
| 198 | + <aggregate>true</aggregate> |
| 199 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 200 | + <tagListOptions> |
| 201 | + <tagClasses> |
| 202 | + <tagClass> |
| 203 | + <displayName>Important fixes that have to be done until the |
| 204 | + next |
| 205 | + release</displayName> |
| 206 | + <tags> |
| 207 | + <tag> |
| 208 | + <matchString>FIXME</matchString> |
| 209 | + <matchType>ignoreCase</matchType> |
| 210 | + </tag> |
| 211 | + </tags> |
| 212 | + </tagClass> |
| 213 | + <tagClass> |
| 214 | + <displayName>Things to verify and to check</displayName> |
| 215 | + <tags> |
| 216 | + <tag> |
| 217 | + <matchString>// check:</matchString> |
| 218 | + <matchType>ignoreCase</matchType> |
| 219 | + </tag> |
| 220 | + </tags> |
| 221 | + </tagClass> |
| 222 | + <tagClass> |
| 223 | + <displayName>Just things to do</displayName> |
| 224 | + <tags> |
| 225 | + <tag> |
| 226 | + <matchString>todo</matchString> |
| 227 | + <matchType>ignoreCase</matchType> |
| 228 | + </tag> |
| 229 | + <tag> |
| 230 | + <matchString>@todo</matchString> |
| 231 | + <matchType>ignoreCase</matchType> |
| 232 | + </tag> |
| 233 | + <tag> |
| 234 | + <matchString>XXX</matchString> |
| 235 | + <matchType>ignoreCase</matchType> |
| 236 | + </tag> |
| 237 | + </tags> |
| 238 | + </tagClass> |
| 239 | + </tagClasses> |
| 240 | + </tagListOptions> |
| 241 | + </configuration> |
| 242 | + </plugin> |
| 243 | + <plugin> |
| 244 | + <groupId>org.apache.maven.plugins</groupId> |
| 245 | + <artifactId>maven-jxr-plugin</artifactId> |
| 246 | + <version>2.3</version> |
| 247 | + <configuration> |
| 248 | + <aggregate>true</aggregate> |
| 249 | + <linkJavadoc>true</linkJavadoc> |
| 250 | + <aggregate>true</aggregate> |
| 251 | + <javadocDir>${project.name}/apidocs</javadocDir> |
| 252 | + <!-- stylesheet>${basedir}/src/site/css/javamoneys-jdoc.css</stylesheet --> |
| 253 | + <windowTitle>JSR 354 - Java Money Sources</windowTitle> |
| 254 | + </configuration> |
| 255 | + </plugin> |
| 256 | + <plugin> |
| 257 | + <groupId>org.apache.maven.plugins</groupId> |
| 258 | + <artifactId>maven-dependency-plugin</artifactId> |
| 259 | + <version>2.8</version> |
| 260 | + </plugin> |
| 261 | + <plugin> |
| 262 | + <groupId>org.codehaus.mojo</groupId> |
| 263 | + <artifactId>versions-maven-plugin</artifactId> |
| 264 | + <version>2.1</version> |
| 265 | + </plugin> |
| 266 | + <plugin> |
| 267 | + <groupId>org.bsc.maven</groupId> |
| 268 | + <artifactId>maven-processor-plugin</artifactId> |
| 269 | + <version>2.0.4</version> |
| 270 | + </plugin> |
| 271 | + <plugin> |
| 272 | + <groupId>org.apache.maven.plugins</groupId> |
| 273 | + <artifactId>maven-surefire-plugin</artifactId> |
| 274 | + <version>2.15</version> |
| 275 | + <configuration> |
| 276 | + <useSystemClassLoader>true</useSystemClassLoader> |
| 277 | + <skipTests>false</skipTests> |
| 278 | + <trimStackTrace>false</trimStackTrace> |
| 279 | + <testFailureIgnore>true</testFailureIgnore> |
| 280 | + <forkMode>once</forkMode> |
| 281 | + <includes> |
| 282 | + <include>**/*Test.java</include> |
| 283 | + </includes> |
| 284 | + <excludes> |
| 285 | + <exclude>**/Abstract*.java</exclude> |
| 286 | + </excludes> |
| 287 | + </configuration> |
| 288 | + </plugin> |
| 289 | + <plugin> |
| 290 | + <artifactId>maven-release-plugin</artifactId> |
| 291 | + <version>2.4.1</version> |
| 292 | + <configuration> |
| 293 | + <!-- Workaround for MGPG-9 and MRELEASE-424, MRELEASE-263 --> |
| 294 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 295 | + </configuration> |
| 296 | + </plugin> |
| 297 | + <plugin> |
| 298 | + <groupId>org.apache.maven.plugins</groupId> |
| 299 | + <artifactId>maven-jar-plugin</artifactId> |
| 300 | + <version>2.2</version> |
| 301 | + <executions> |
| 302 | + <execution> |
| 303 | + <goals> |
| 304 | + <goal>test-jar</goal> |
| 305 | + </goals> |
| 306 | + </execution> |
| 307 | + </executions> |
| 308 | + </plugin> |
| 309 | + <plugin> |
| 310 | + <groupId>org.apache.felix</groupId> |
| 311 | + <artifactId>maven-bundle-plugin</artifactId> |
| 312 | + <version>2.3.5</version> |
| 313 | + <extensions>true</extensions> |
| 314 | + </plugin> |
| 315 | + <plugin> |
| 316 | + <groupId>org.codehaus.mojo</groupId> |
| 317 | + <artifactId>dashboard-maven-plugin</artifactId> |
| 318 | + <version>1.0.0-beta-1</version> |
| 319 | + </plugin> |
| 320 | + <plugin> |
| 321 | + <groupId>org.apache.maven.plugins</groupId> |
| 322 | + <artifactId>maven-site-plugin</artifactId> |
| 323 | + <version>3.1</version> |
| 324 | + </plugin> |
| 325 | + <plugin> |
| 326 | + <groupId>org.apache.maven.plugins</groupId> |
| 327 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 328 | + <version>2.7</version> |
| 329 | + </plugin> |
| 330 | + <plugin> |
| 331 | + <groupId>org.codehaus.mojo</groupId> |
| 332 | + <artifactId>findbugs-maven-plugin</artifactId> |
| 333 | + <version>2.5.2</version> |
| 334 | + <configuration> |
| 335 | + <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation> |
| 336 | + <xmlOutput>true</xmlOutput> |
| 337 | + <effort>Max</effort> |
| 338 | + <threshold>Low</threshold> |
| 339 | + <failOnError>false</failOnError> |
| 340 | + <findbugsXmlOutput>true</findbugsXmlOutput> |
| 341 | + <findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory> |
| 342 | + <srcHtml>xref/</srcHtml> |
| 343 | + <srcHtmlType>JXR</srcHtmlType> |
| 344 | + </configuration> |
| 345 | + </plugin> |
| 346 | + <plugin> |
| 347 | + <groupId>org.jacoco</groupId> |
| 348 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 349 | + <version>0.6.3.201306030806</version> |
| 350 | + <configuration> |
| 351 | + <destfile>${basedir}/target/coverage-reports/jacoco-unit.exec</destfile> |
| 352 | + <datafile>${basedir}/target/coverage-reports/jacoco-unit.exec</datafile> |
| 353 | + </configuration> |
| 354 | + </plugin> |
| 355 | + </plugins> |
| 356 | + </pluginManagement> |
31 | 357 | <plugins> |
32 | 358 | <plugin> |
33 | 359 | <groupId>org.apache.maven.plugins</groupId> |
34 | | - <artifactId>maven-javadoc-plugin</artifactId> |
35 | | - <executions> |
36 | | - <execution> |
37 | | - <id>attach-javadocs</id> |
38 | | - <goals> |
39 | | - <goal>jar</goal> |
40 | | - </goals> |
41 | | - </execution> |
42 | | - </executions> |
| 360 | + <artifactId>maven-compiler-plugin</artifactId> |
43 | 361 | </plugin> |
44 | 362 | <plugin> |
45 | 363 | <groupId>org.apache.maven.plugins</groupId> |
46 | 364 | <artifactId>maven-source-plugin</artifactId> |
47 | | - <executions> |
48 | | - <execution> |
49 | | - <id>attach-sources</id> |
50 | | - <!-- phase>verify</phase --> |
51 | | - <goals> |
52 | | - <goal>jar</goal> |
53 | | - </goals> |
54 | | - </execution> |
55 | | - </executions> |
| 365 | + </plugin> |
| 366 | + <plugin> |
| 367 | + <groupId>org.apache.maven.plugins</groupId> |
| 368 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 369 | + </plugin> |
| 370 | + <plugin> |
| 371 | + <groupId>org.apache.maven.plugins</groupId> |
| 372 | + <artifactId>maven-jar-plugin</artifactId> |
56 | 373 | </plugin> |
57 | 374 | </plugins> |
58 | 375 | </build> |
|
0 commit comments