|
188 | 188 | </build> |
189 | 189 |
|
190 | 190 | <reporting> |
191 | | - <plugins> |
192 | | - <plugin> |
193 | | - <groupId>org.apache.maven.plugins</groupId> |
194 | | - <artifactId>maven-javadoc-plugin</artifactId> |
195 | | - <configuration> |
196 | | - <linksource>true</linksource> |
197 | | - <links> |
198 | | - <link>http://download.oracle.com/javase/6/docs/api</link> |
199 | | - </links> |
200 | | - </configuration> |
201 | | - </plugin> |
202 | | - <plugin> |
203 | | - <groupId>org.apache.maven.plugins</groupId> |
204 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
205 | | - <version>2.1</version> |
206 | | - <configuration> |
207 | | - <configLocation>${basedir}/src/conf/checkstyle.xml</configLocation> |
208 | | - <enableRulesSummary>false</enableRulesSummary> |
209 | | - <headerFile>${basedir}/src/conf/HEADER.txt</headerFile> |
210 | | - </configuration> |
211 | | - </plugin> |
212 | | - <plugin> |
213 | | - <groupId>org.codehaus.mojo</groupId> |
214 | | - <artifactId>findbugs-maven-plugin</artifactId> |
215 | | - <version>2.4.0</version> |
216 | | - <configuration> |
217 | | - <threshold>Normal</threshold> |
218 | | - <effort>Default</effort> |
219 | | - </configuration> |
220 | | - </plugin> |
221 | | - <plugin> |
222 | | - <groupId>org.codehaus.mojo</groupId> |
223 | | - <artifactId>cobertura-maven-plugin</artifactId> |
224 | | - <version>2.2</version> |
225 | | - </plugin> |
226 | | - <plugin> |
227 | | - <groupId>org.codehaus.mojo</groupId> |
228 | | - <artifactId>clirr-maven-plugin</artifactId> |
229 | | - <version>2.2.1</version> |
230 | | - <configuration> |
231 | | - <comparisonVersion>1.2</comparisonVersion> |
232 | | - </configuration> |
233 | | - </plugin> |
234 | | - <plugin> |
235 | | - <groupId>org.apache.maven.plugins</groupId> |
236 | | - <artifactId>maven-pmd-plugin</artifactId> |
237 | | - <version>2.7.1</version> |
238 | | - <configuration> |
239 | | - <targetJdk>${maven.compile.source}</targetJdk> |
240 | | - </configuration> |
241 | | - </plugin> |
242 | | - </plugins> |
| 191 | + <plugins> |
| 192 | + <plugin> |
| 193 | + <groupId>org.apache.maven.plugins</groupId> |
| 194 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 195 | + <configuration> |
| 196 | + <linksource>true</linksource> |
| 197 | + <links> |
| 198 | + <link>http://download.oracle.com/javase/6/docs/api</link> |
| 199 | + </links> |
| 200 | + </configuration> |
| 201 | + </plugin> |
| 202 | + <plugin> |
| 203 | + <groupId>org.apache.maven.plugins</groupId> |
| 204 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 205 | + <version>2.1</version> |
| 206 | + <configuration> |
| 207 | + <configLocation>${basedir}/src/conf/checkstyle.xml</configLocation> |
| 208 | + <enableRulesSummary>false</enableRulesSummary> |
| 209 | + <headerFile>${basedir}/src/conf/HEADER.txt</headerFile> |
| 210 | + </configuration> |
| 211 | + </plugin> |
| 212 | + <plugin> |
| 213 | + <groupId>org.codehaus.mojo</groupId> |
| 214 | + <artifactId>findbugs-maven-plugin</artifactId> |
| 215 | + <version>2.4.0</version> |
| 216 | + <configuration> |
| 217 | + <threshold>Normal</threshold> |
| 218 | + <effort>Default</effort> |
| 219 | + </configuration> |
| 220 | + </plugin> |
| 221 | + <plugin> |
| 222 | + <groupId>org.codehaus.mojo</groupId> |
| 223 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 224 | + <version>2.2</version> |
| 225 | + </plugin> |
| 226 | + <plugin> |
| 227 | + <groupId>org.codehaus.mojo</groupId> |
| 228 | + <artifactId>clirr-maven-plugin</artifactId> |
| 229 | + <version>2.2.1</version> |
| 230 | + <configuration> |
| 231 | + <comparisonVersion>1.2</comparisonVersion> |
| 232 | + </configuration> |
| 233 | + </plugin> |
| 234 | + <plugin> |
| 235 | + <groupId>org.apache.maven.plugins</groupId> |
| 236 | + <artifactId>maven-pmd-plugin</artifactId> |
| 237 | + <version>2.7.1</version> |
| 238 | + <configuration> |
| 239 | + <targetJdk>${maven.compile.source}</targetJdk> |
| 240 | + </configuration> |
| 241 | + </plugin> |
| 242 | + </plugins> |
243 | 243 | </reporting> |
244 | 244 |
|
| 245 | + <distributionManagement> |
| 246 | + <site> |
| 247 | + <id>apache.website</id> |
| 248 | + <name>Apache Commons Site</name> |
| 249 | + <url>scm:svn:${commons.scmPubUrl}</url> |
| 250 | + </site> |
| 251 | + </distributionManagement> |
| 252 | + |
245 | 253 | <profiles> |
246 | 254 | <profile> |
247 | 255 | <id>rc</id> |
|
254 | 262 | </site> |
255 | 263 | </distributionManagement> |
256 | 264 | </profile> |
| 265 | + <profile> |
| 266 | + <id>setup-checkout</id> |
| 267 | + <activation> |
| 268 | + <file> |
| 269 | + <missing>${scmPubCheckoutDirectory}</missing> |
| 270 | + </file> |
| 271 | + </activation> |
| 272 | + <build> |
| 273 | + <plugins> |
| 274 | + <plugin> |
| 275 | + <groupId>org.apache.maven.plugins</groupId> |
| 276 | + <artifactId>maven-antrun-plugin</artifactId> |
| 277 | + <version>1.7</version> |
| 278 | + <executions> |
| 279 | + <execution> |
| 280 | + <id>prepare-checkout</id> |
| 281 | + <phase>pre-site</phase> |
| 282 | + <goals> |
| 283 | + <goal>run</goal> |
| 284 | + </goals> |
| 285 | + <configuration> |
| 286 | + <tasks> |
| 287 | + <exec executable="svn"> |
| 288 | + <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" /> |
| 289 | + </exec> |
| 290 | + |
| 291 | + <exec executable="svn"> |
| 292 | + <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" /> |
| 293 | + </exec> |
| 294 | + |
| 295 | + <pathconvert pathsep=" " property="dirs"> |
| 296 | + <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" /> |
| 297 | + </pathconvert> |
| 298 | + <exec executable="svn"> |
| 299 | + <arg line="update --set-depth infinity ${dirs}" /> |
| 300 | + </exec> |
| 301 | + </tasks> |
| 302 | + </configuration> |
| 303 | + </execution> |
| 304 | + </executions> |
| 305 | + </plugin> |
| 306 | + </plugins> |
| 307 | + </build> |
| 308 | + </profile> |
257 | 309 | </profiles> |
258 | 310 |
|
259 | 311 | </project> |
0 commit comments