Skip to content

Commit d605ecc

Browse files
authored
Change skin for mvn site report to use fluido (#731)
Close #734 * Change skin for mvn site report to use fluido, including custom OWASP image. * Remove 'https' changes from first line of pom per @kwwall request.
1 parent 49c5df7 commit d605ecc

3 files changed

Lines changed: 40 additions & 6 deletions

File tree

pom.xml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
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/maven-v4_0_0.xsd">
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 https://maven.apache.org/maven-v4_0_0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>org.owasp.esapi</groupId>
55
<artifactId>esapi</artifactId>
@@ -26,12 +26,12 @@
2626
<licenses>
2727
<license>
2828
<name>BSD</name>
29-
<url>http://www.opensource.org/licenses/bsd-license.php</url>
29+
<url>https://www.opensource.org/licenses/bsd-license.php</url>
3030
<comments>Code License - New BSD License</comments>
3131
</license>
3232
<license>
3333
<name>Creative Commons 3.0 BY-SA</name>
34-
<url>http://creativecommons.org/licenses/by-sa/3.0/</url>
34+
<url>https://creativecommons.org/licenses/by-sa/3.0/</url>
3535
<comments>Content License - Create Commons 3.0 BY-SA</comments>
3636
</license>
3737
</licenses>
@@ -693,9 +693,16 @@
693693
</plugin>
694694

695695
<plugin>
696+
<!-- Note: This uses the maven-fluido-skin version specified next. The skin is referenced in src/site/site.xml. -->
696697
<groupId>org.apache.maven.plugins</groupId>
697698
<artifactId>maven-site-plugin</artifactId>
698-
<version>4.0.0-M2</version>
699+
<version>4.0.0-M3</version>
700+
</plugin>
701+
702+
<plugin>
703+
<groupId>org.apache.maven.skins</groupId>
704+
<artifactId>maven-fluid-skin</artifactId>
705+
<version>1.11.1</version>
699706
</plugin>
700707

701708
<plugin>
@@ -768,10 +775,11 @@
768775

769776
<reporting>
770777
<plugins>
771-
<plugin>
778+
<!-- plugin>
779+
This is broken currently, in the mvn site output, so commenting out.
772780
<groupId>net.sourceforge.maven-taglib</groupId>
773781
<artifactId>maven-taglib-plugin</artifactId>
774-
</plugin>
782+
</plugin -->
775783
<plugin>
776784
<groupId>org.apache.maven.plugins</groupId>
777785
<artifactId>maven-changelog-plugin</artifactId>
13.4 KB
Loading

src/site/site.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project name="${project.name}" xmlns="https://maven.apache.org/DECORATION/1.8.0"
3+
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="https://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
5+
<bannerLeft>
6+
<src>/images/owasp.png</src>
7+
<href>https://owasp.org/www-project-enterprise-security-api/</href>
8+
</bannerLeft>
9+
<skin>
10+
<groupId>org.apache.maven.skins</groupId>
11+
<artifactId>maven-fluido-skin</artifactId>
12+
</skin>
13+
<custom>
14+
<fluidoSkin>
15+
<topBarEnabled>false</topBarEnabled>
16+
<sideBarEnabled>true</sideBarEnabled>
17+
</fluidoSkin>
18+
</custom>
19+
<body>
20+
<links>
21+
<item name="OWASP ESAPI" href="https://owasp.org/www-project-enterprise-security-api/" />
22+
</links>
23+
<menu ref="reports" />
24+
</body>
25+
</project>
26+

0 commit comments

Comments
 (0)