Skip to content

Commit

Permalink
Add skin to site.xml to avoid plugin's null pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgrimm committed Oct 9, 2023
1 parent 99807ef commit ec41b6f
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/render-and-deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
post-site
site:stage
-DstagingDirectory=${{ github.workspace }}/target/staging/parent
-Ddefault.dokka-srclink-base=${{ github.server_url }}/${{ github.repository }}/tree/${{ inputs.git-ref }}
- name: Upload Site Artifacts
uses: actions/upload-pages-artifact@v2
Expand Down
7 changes: 7 additions & 0 deletions cli/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd
http://www.w3.org/2001/XMLSchema-instance https://www.w3.org/2001/XMLSchema-instance"
name="3scale CMS Tools - Command-Line Interface">

<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>$context.get("version.maven-fluido-skin")</version>
</skin>

<body>
<links>
<item name="GitHub Project" href="https://github.com/FwMotion/3scale-cms" />
Expand Down
3 changes: 3 additions & 0 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>

<!-- Maven site skin version -->
<version.maven-fluido-skin>2.0.0-M7</version.maven-fluido-skin>

<!-- Requirements -->
<requirements.java-version>[17,)</requirements.java-version>
<requirements.maven-version>[3.9.2,)</requirements.maven-version>
Expand Down
7 changes: 7 additions & 0 deletions parent/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd
http://www.w3.org/2001/XMLSchema-instance https://www.w3.org/2001/XMLSchema-instance"
name="3scale CMS Tools - Parent">

<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>$context.get("version.maven-fluido-skin")</version>
</skin>

<body>
<links>
<item name="GitHub Project" href="https://github.com/FwMotion/3scale-cms" />
Expand Down
7 changes: 7 additions & 0 deletions rest-client/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd
http://www.w3.org/2001/XMLSchema-instance https://www.w3.org/2001/XMLSchema-instance"
name="3scale CMS Tools - REST Client">

<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>$context.get("version.maven-fluido-skin")</version>
</skin>

<body>
<links>
<item name="GitHub Project" href="https://github.com/FwMotion/3scale-cms" />
Expand Down
7 changes: 7 additions & 0 deletions src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd
http://www.w3.org/2001/XMLSchema-instance https://www.w3.org/2001/XMLSchema-instance"
name="3scale CMS Tools">

<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>$context.get("version.maven-fluido-skin")</version>
</skin>

<body>
<links>
<item name="GitHub Project" href="https://github.com/FwMotion/3scale-cms" />
Expand Down

0 comments on commit ec41b6f

Please sign in to comment.