You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/07/07 11:01:24 UTC

[maven-project-info-reports-plugin] 01/01: [MPIR-421] Make all ITs with site.xml use an explicit skin

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MPIR-421
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git

commit 2201a675b0eb5e53dcafc3fd736b227f7420c647
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Thu Jul 7 13:01:13 2022 +0200

    [MPIR-421] Make all ITs with site.xml use an explicit skin
    
    This closes #40
---
 src/it/MPIR-242/src/site/site.xml |  5 +++++
 src/it/MPIR-362/src/site/site.xml |  5 +++++
 src/it/mpir-229/src/site/site.xml |  5 +++++
 src/it/mpir-229/verify.groovy     | 40 +++++++++++++++++++--------------------
 4 files changed, 35 insertions(+), 20 deletions(-)

diff --git a/src/it/MPIR-242/src/site/site.xml b/src/it/MPIR-242/src/site/site.xml
index 962e451..78ac522 100644
--- a/src/it/MPIR-242/src/site/site.xml
+++ b/src/it/MPIR-242/src/site/site.xml
@@ -21,6 +21,11 @@ under the License.
 
 <project xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
   <publishDate position="right" />
+  <skin>
+    <groupId>org.apache.maven.skins</groupId>
+    <artifactId>maven-fluido-skin</artifactId>
+    <version>1.11.1</version>
+  </skin>
   <body>
     <breadcrumbs>
       <item name="MPIR" href="http://maven.apache.org/plugins/maven-project-info-reports-plugin/index.html" />
diff --git a/src/it/MPIR-362/src/site/site.xml b/src/it/MPIR-362/src/site/site.xml
index 962e451..78ac522 100644
--- a/src/it/MPIR-362/src/site/site.xml
+++ b/src/it/MPIR-362/src/site/site.xml
@@ -21,6 +21,11 @@ under the License.
 
 <project xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
   <publishDate position="right" />
+  <skin>
+    <groupId>org.apache.maven.skins</groupId>
+    <artifactId>maven-fluido-skin</artifactId>
+    <version>1.11.1</version>
+  </skin>
   <body>
     <breadcrumbs>
       <item name="MPIR" href="http://maven.apache.org/plugins/maven-project-info-reports-plugin/index.html" />
diff --git a/src/it/mpir-229/src/site/site.xml b/src/it/mpir-229/src/site/site.xml
index 227c9e5..d8215ba 100644
--- a/src/it/mpir-229/src/site/site.xml
+++ b/src/it/mpir-229/src/site/site.xml
@@ -21,6 +21,11 @@ under the License.
 
 <project xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
   <publishDate position="right"/>
+  <skin>
+    <groupId>org.apache.maven.skins</groupId>
+    <artifactId>maven-fluido-skin</artifactId>
+    <version>1.11.1</version>
+  </skin>
   <body>
     <breadcrumbs>
       <item name="MPIR" href="http://maven.apache.org/plugins/maven-project-info-reports-plugin/index.html" />
diff --git a/src/it/mpir-229/verify.groovy b/src/it/mpir-229/verify.groovy
index efd9543..4d7db4b 100644
--- a/src/it/mpir-229/verify.groovy
+++ b/src/it/mpir-229/verify.groovy
@@ -1,20 +1,20 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-File modulesPage = new File( basedir, 'target/site/modules.html' )
-assert modulesPage.text.contains( '<a href="mpir-229-module1-1.0-SNAPSHOT/index.html" title="mpir-229-module1">mpir-229-module1</a>' )
\ No newline at end of file
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+File modulesPage = new File( basedir, 'target/site/modules.html' )
+assert modulesPage.text.contains( '<a href="mpir-229-module1-1.0-SNAPSHOT/index.html" title="mpir-229-module1"><span class="none"></span>mpir-229-module1</a>' )
\ No newline at end of file