Skip to content

Commit 3d1995b

Browse files
committed
Get site generation working
via mvn site site:tage
1 parent 4cc4d3d commit 3d1995b

File tree

4 files changed

+63
-25
lines changed

4 files changed

+63
-25
lines changed
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<project xmlns="http://maven.apache.org/DECORATION/1.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
6+
7+
<body>
8+
<menu ref="parent" inherit="top" />
9+
<menu ref="modules" inherit="top" />
10+
<menu ref="reports" inherit="bottom" />
11+
</body>
12+
</project>

jenkins-client/src/site/site.xml

+3-21
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,16 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
66

7-
<skin>
8-
<groupId>org.apache.maven.skins</groupId>
9-
<artifactId>maven-fluido-skin</artifactId>
10-
<version>1.5</version>
11-
</skin>
12-
13-
<custom>
14-
<fluidoSkin>
15-
<topBarEnabled>true</topBarEnabled>
16-
<sideBarEnabled>true</sideBarEnabled>
17-
<googleSearch>
18-
<sitesearch>${project.url}</sitesearch>
19-
</googleSearch>
20-
<gitHub>
21-
<projectId>RisingOak/jenkins-client</projectId>
22-
<ribbonOrientation>right</ribbonOrientation>
23-
<ribbonColor>gray</ribbonColor>
24-
</gitHub>
25-
</fluidoSkin>
26-
</custom>
277
<body>
8+
<menu ref="parent" inherit="top" />
9+
<menu ref="modules" inherit="top" />
10+
<menu ref="reports" inherit="bottom" />
2811
<menu name="Overview">
2912
<item name="Introduction" href="index.html"/>
3013
<item name="Upgrade" href="upgrade.html"/>
3114
</menu>
3215
<menu name="Sub">
3316
<item name="Sub" href="sub/sub.html"/>
3417
</menu>
35-
<menu ref="reports" />
3618
</body>
3719
</project>

pom.xml

+16-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<licenses>
6868
<license>
6969
<name>MIT License</name>
70-
<url>http://opensource.org/licenses/MIT</url>
70+
<url>https://opensource.org/licenses/MIT/</url>
7171
</license>
7272
</licenses>
7373

@@ -250,6 +250,11 @@
250250
<artifactId>maven-failsafe-plugin</artifactId>
251251
<version>2.19.1</version>
252252
</plugin>
253+
<plugin>
254+
<groupId>org.apache.maven.plugins</groupId>
255+
<artifactId>maven-surefire-report-plugin</artifactId>
256+
<version>2.19.1</version>
257+
</plugin>
253258
<plugin>
254259
<groupId>org.apache.maven.plugins</groupId>
255260
<artifactId>maven-shade-plugin</artifactId>
@@ -319,13 +324,22 @@
319324
<artifactId>maven-javadoc-plugin</artifactId>
320325
<version>2.10.4</version>
321326
</plugin>
327+
<plugin>
328+
<groupId>org.apache.maven.plugins</groupId>
329+
<artifactId>maven-site-plugin</artifactId>
330+
<version>3.5.1</version>
331+
</plugin>
332+
<plugin>
333+
<groupId>org.apache.maven.plugins</groupId>
334+
<artifactId>maven-project-info-reports-plugin</artifactId>
335+
<version>2.9</version>
336+
</plugin>
322337
</plugins>
323338
</pluginManagement>
324339
<plugins>
325340
<plugin>
326341
<groupId>org.apache.maven.plugins</groupId>
327342
<artifactId>maven-site-plugin</artifactId>
328-
<version>3.5.1</version>
329343
<dependencies>
330344
<dependency>
331345
<groupId>org.apache.maven.doxia</groupId>
@@ -361,7 +375,6 @@
361375
<plugin>
362376
<groupId>org.apache.maven.plugins</groupId>
363377
<artifactId>maven-surefire-report-plugin</artifactId>
364-
<version>2.18.1</version>
365378
<reportSets>
366379
<reportSet>
367380
<reports>
@@ -374,7 +387,6 @@
374387
<plugin>
375388
<groupId>org.apache.maven.plugins</groupId>
376389
<artifactId>maven-project-info-reports-plugin</artifactId>
377-
<version>2.8</version>
378390
</plugin>
379391
<!--
380392
<plugin>

src/site/site.xml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<project xmlns="http://maven.apache.org/DECORATION/1.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
6+
7+
<skin>
8+
<groupId>org.apache.maven.skins</groupId>
9+
<artifactId>maven-fluido-skin</artifactId>
10+
<version>1.5</version>
11+
</skin>
12+
13+
<custom>
14+
<fluidoSkin>
15+
<topBarEnabled>true</topBarEnabled>
16+
<sideBarEnabled>true</sideBarEnabled>
17+
<googleSearch>
18+
<sitesearch>${project.url}</sitesearch>
19+
</googleSearch>
20+
<gitHub>
21+
<projectId>jenkinsci/java-client-api</projectId>
22+
<ribbonOrientation>right</ribbonOrientation>
23+
<ribbonColor>gray</ribbonColor>
24+
</gitHub>
25+
</fluidoSkin>
26+
</custom>
27+
<body>
28+
<menu ref="parent" inherit="top" />
29+
<menu ref="modules" inherit="top" />
30+
<menu ref="reports" inherit="bottom" />
31+
</body>
32+
</project>

0 commit comments

Comments
 (0)