Skip to content

Commit b11e20e

Browse files
committed
[Issue junit-team#785] Add site configuration and reporting
1 parent c6ab1af commit b11e20e

File tree

11 files changed

+2352
-3
lines changed

11 files changed

+2352
-3
lines changed

pom.xml

Lines changed: 123 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<licenses>
1818
<license>
1919
<name>Eclipse Public License 1.0</name>
20-
<url>http://opensource.org/licenses/eclipse-1.0.txt</url>
20+
<url>http://www.eclipse.org/legal/epl-v10.html</url>
2121
<distribution>repo</distribution>
2222
</license>
2323
</licenses>
@@ -78,6 +78,10 @@
7878
<name>Nexus Release Repository</name>
7979
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
8080
</repository>
81+
<site>
82+
<id>junit.github.io</id>
83+
<url>gitsite:[email protected]/junit-team/junit</url>
84+
</site>
8185
</distributionManagement>
8286

8387
<properties>
@@ -206,7 +210,7 @@
206210
our junit suite "AllTests" after the sources are compiled.
207211
-->
208212
<artifactId>maven-surefire-plugin</artifactId>
209-
<version>2.12.3</version>
213+
<version>2.16</version>
210214
<configuration>
211215
<test>org/junit/tests/AllTests.java</test>
212216
<useSystemClassLoader>true</useSystemClassLoader>
@@ -228,7 +232,7 @@
228232
in jar archive target/junit-*-javadoc.jar.
229233
-->
230234
<artifactId>maven-javadoc-plugin</artifactId>
231-
<version>2.8.1</version>
235+
<version>2.9.1</version>
232236
<configuration>
233237
<stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
234238
<show>protected</show>
@@ -269,9 +273,125 @@
269273
<tagNameFormat>r@{project.version}</tagNameFormat>
270274
</configuration>
271275
</plugin>
276+
<plugin>
277+
<artifactId>maven-site-plugin</artifactId>
278+
<version>3.3</version>
279+
<dependencies>
280+
<dependency>
281+
<groupId>com.github.stephenc.wagon</groupId>
282+
<artifactId>wagon-gitsite</artifactId>
283+
<version>0.4.1</version>
284+
</dependency>
285+
<dependency>
286+
<groupId>org.apache.maven.doxia</groupId>
287+
<artifactId>doxia-module-markdown</artifactId>
288+
<version>1.4</version>
289+
</dependency>
290+
</dependencies>
291+
</plugin>
272292
</plugins>
273293
</build>
274294

295+
<reporting>
296+
<plugins>
297+
<plugin>
298+
<groupId>org.apache.maven.plugins</groupId>
299+
<artifactId>maven-project-info-reports-plugin</artifactId>
300+
<version>2.7</version>
301+
<configuration>
302+
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
303+
<!-- waiting for MPIR-267 -->
304+
</configuration>
305+
<reportSets>
306+
<reportSet>
307+
<reports>
308+
<report>index</report>
309+
<report>summary</report>
310+
<report>dependency-info</report>
311+
<report>modules</report>
312+
<report>license</report>
313+
<report>project-team</report>
314+
<report>scm</report>
315+
<report>issue-tracking</report>
316+
<report>mailing-list</report>
317+
<report>dependency-management</report>
318+
<report>dependencies</report>
319+
<report>dependency-convergence</report>
320+
<report>cim</report>
321+
<report>plugin-management</report>
322+
<report>plugins</report>
323+
<report>distribution-management</report>
324+
</reports>
325+
</reportSet>
326+
</reportSets>
327+
</plugin>
328+
<plugin>
329+
<groupId>org.apache.maven.plugins</groupId>
330+
<artifactId>maven-changes-plugin</artifactId>
331+
<version>2.9</version>
332+
<reportSets>
333+
<reportSet>
334+
<reports>
335+
<report>changes-report</report>
336+
<report>github-report</report>
337+
</reports>
338+
</reportSet>
339+
</reportSets>
340+
</plugin>
341+
<plugin>
342+
<groupId>org.apache.maven.plugins</groupId>
343+
<artifactId>maven-javadoc-plugin</artifactId>
344+
<version>2.9.1</version>
345+
<configuration>
346+
<stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
347+
<show>protected</show>
348+
<author>false</author>
349+
<version>false</version>
350+
<detectLinks>false</detectLinks>
351+
<linksource>true</linksource>
352+
<keywords>true</keywords>
353+
<use>false</use>
354+
<windowtitle>JUnit API</windowtitle>
355+
<encoding>UTF-8</encoding>
356+
<locale>en</locale>
357+
<javadocVersion>${jdkVersion}</javadocVersion>
358+
<javaApiLinks>
359+
<property>
360+
<name>api_${jdkVersion}</name>
361+
<value>http://docs.oracle.com/javase/${jdkVersion}.0/docs/api/</value>
362+
</property>
363+
</javaApiLinks>
364+
<excludePackageNames>junit.*,*.internal.*</excludePackageNames>
365+
<verbose>true</verbose>
366+
<minmemory>32m</minmemory>
367+
<maxmemory>128m</maxmemory>
368+
<failOnError>true</failOnError>
369+
<includeDependencySources>true</includeDependencySources>
370+
<dependencySourceIncludes>
371+
<dependencySourceInclude>org.hamcrest:hamcrest-core:*</dependencySourceInclude>
372+
</dependencySourceIncludes>
373+
</configuration>
374+
<reportSets>
375+
<reportSet>
376+
<reports>
377+
<report>javadoc</report>
378+
</reports>
379+
</reportSet>
380+
</reportSets>
381+
</plugin>
382+
<plugin>
383+
<groupId>org.apache.maven.plugins</groupId>
384+
<artifactId>maven-jxr-plugin</artifactId>
385+
<version>2.3</version>
386+
</plugin>
387+
<plugin>
388+
<groupId>org.apache.maven.plugins</groupId>
389+
<artifactId>maven-surefire-report-plugin</artifactId>
390+
<version>2.16</version>
391+
</plugin>
392+
</plugins>
393+
</reporting>
394+
275395
<profiles>
276396
<profile>
277397
<id>junit-release</id>

src/changes/changes.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<document xmlns="http://maven.apache.org/changes/1.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd">
4+
<body>
5+
<release version="4.12">
6+
</release>
7+
8+
<release version="4.11" date="2012-11-14">
9+
</release>
10+
11+
<release version="4.10">
12+
</release>
13+
14+
<release version="4.9.1">
15+
</release>
16+
17+
<release version="4.9">
18+
</release>
19+
20+
<release version="4.8.2">
21+
</release>
22+
23+
<release version="4.8.1">
24+
</release>
25+
26+
<release version="4.8">
27+
</release>
28+
29+
<release version="4.7">
30+
</release>
31+
32+
<release version="4.6">
33+
</release>
34+
35+
<release version="4.5">
36+
</release>
37+
</body>
38+
</document>

0 commit comments

Comments
 (0)