diff --git a/.asf.yaml b/.asf.yaml
index 09e58fc8..c9eac2b2 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -28,6 +28,8 @@ github:
squash: true
merge: false
rebase: true
+ autolink_jira:
+ - MSITE
notifications:
commits: commits@maven.apache.org
issues: issues@maven.apache.org
diff --git a/Jenkinsfile b/Jenkinsfile
index a6f5f3dd..a39af828 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,4 +17,4 @@
* under the License.
*/
-asfMavenTlpPlgnBuild(jdk:['8','11','14'], maven:['3.3.x', '3.5.x', '3.8.x'])
+asfMavenTlpPlgnBuild(jdk:['8','11','17'], maven:['3.2.x', '3.5.x', '3.6.x', '3.8.x', '3.9.x'])
diff --git a/README.md b/README.md
index 67ab809f..25b71ee0 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,9 @@ Contributing to [Apache Maven Site Plugin](https://maven.apache.org/plugins/mave
[][jira]
[][license]
+[](https://search.maven.org/artifact/org.apache.maven.plugins/maven-site-plugin)
[](https://search.maven.org/artifact/org.apache.maven.plugins/maven-site-plugin)
+[](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/maven/plugins/maven-site-plugin/README.md)
[][build]
[][test-results]
diff --git a/pom.xml b/pom.xml
index d8afa459..e281ac24 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,5 +1,4 @@
-
-
4.0.0
org.apache.maven.plugins
maven-plugins
- 34
+ 41
maven-site-plugin
- 3.12.1-SNAPSHOT
+ 4.0.0-M14-SNAPSHOT
maven-plugin
Apache Maven Site Plugin
@@ -176,8 +174,8 @@ under the License.
scm:git:https://gitbox.apache.org/repos/asf/maven-site-plugin.git
scm:git:https://gitbox.apache.org/repos/asf/maven-site-plugin.git
- https://github.com/apache/maven-site-plugin/tree/${project.scm.tag}
HEAD
+ https://github.com/apache/maven-site-plugin/tree/${project.scm.tag}
JIRA
@@ -185,7 +183,7 @@ under the License.
Jenkins
- https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-site-plugin/
+ https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-site-plugin/
@@ -196,23 +194,25 @@ under the License.
3.2.5
+ ${mavenVersion}
8
-
- 1.11.1
- 1.11.1
- 9.4.46.v20220331
- 3.5.1
+ 9.4.53.v20231009
+ 2.0.0-M9-SNAPSHOT
+ 2.0.0-M17-SNAPSHOT
+ 3.5.3
1.7.36
- 3.1.2
- 3.3.2
- 3.16.0
- 3.2.0
- 3.2.2
- 2.22.2
- 2.22.2
- 2022-04-16T21:02:16Z
+ 3.3.1
+ 3.6.2
+ 3.21.2
+ 3.3.1
+ 3.5.0
+ 3.2.2
+ 3.10.2
+ 4.0.0-M13
+ 2.0.0-M8
+ 2023-12-14T15:35:29Z
@@ -220,17 +220,17 @@ under the License.
org.apache.maven.reporting
maven-reporting-api
- 3.1.0
+ 4.0.0-M9
org.apache.maven.reporting
maven-reporting-exec
- 1.6.0
+ 2.0.0-M12
org.apache.maven.shared
maven-shared-utils
- 3.3.4
+ 3.4.2
@@ -244,7 +244,7 @@ under the License.
org.apache.maven
maven-compat
${mavenVersion}
- provided
+ test
org.apache.maven
@@ -286,7 +286,7 @@ under the License.
org.apache.maven
maven-archiver
- 3.5.2
+ 3.6.1
@@ -307,7 +307,7 @@ under the License.
org.codehaus.plexus
plexus-archiver
- 4.2.5
+ 4.9.0
@@ -324,7 +324,10 @@ under the License.
org.codehaus.plexus
plexus-utils
- 3.3.1
+
+
+ org.codehaus.plexus
+ plexus-xml
@@ -333,17 +336,11 @@ under the License.
doxia-sink-api
${doxiaVersion}
-
org.apache.maven.doxia
doxia-core
${doxiaVersion}
-
- org.apache.maven.doxia
- doxia-module-xhtml
- ${doxiaVersion}
-
org.apache.maven.doxia
doxia-module-xhtml5
@@ -372,28 +369,11 @@ under the License.
${doxiaVersion}
runtime
-
- org.apache.maven.doxia
- doxia-module-confluence
- ${doxiaVersion}
- runtime
-
-
- org.apache.maven.doxia
- doxia-module-docbook-simple
- ${doxiaVersion}
- runtime
-
-
- org.apache.maven.doxia
- doxia-module-twiki
- ${doxiaVersion}
- runtime
-
+
org.apache.maven.doxia
- doxia-decoration-model
+ doxia-site-model
${doxiaSitetoolsVersion}
@@ -407,12 +387,6 @@ under the License.
org.apache.maven.doxia
doxia-integration-tools
${doxiaSitetoolsVersion}
-
-
- org.codehaus.plexus
- plexus-container-default
-
-
@@ -436,6 +410,12 @@ under the License.
+
+ org.apache.commons
+ commons-lang3
+ 3.14.0
+
+
javax.servlet
javax.servlet-api
@@ -449,6 +429,12 @@ under the License.
${jettyVersion}
+
+ org.eclipse.jetty
+ jetty-http
+ ${jettyVersion}
+
+
org.eclipse.jetty
jetty-servlet
@@ -505,7 +491,7 @@ under the License.
commons-io
commons-io
- 2.11.0
+ 2.15.1
test
@@ -524,11 +510,86 @@ under the License.
+
+
+
+
+ org.apache.maven.plugins
+ maven-plugin-plugin
+
+
+ https://maven.apache.org/doxia/doxia/doxia-core/apidocs/
+ https://maven.apache.org/doxia/doxia-sitetools/doxia-site-renderer/apidocs/
+ https://docs.oracle.com/javase/8/docs/api/
+
+
+
+
+ org.apache.maven.plugins
+ maven-plugin-report-plugin
+
+
+
+ 3.11.0
+ 3.0.5
+ 1.7
+
+
+ 3.9.0
+ 3.0
+ 1.7
+
+
+ 3.7.1
+ 2.2.1
+ 1.6
+
+
+ 3.4
+ 2.2.1
+ 1.5
+
+
+
+
+
+
+
+
run-its
+
+ org.apache.maven.plugins
+ maven-clean-plugin
+
+
+
+ delete-0-byte-site-descriptors
+
+ clean
+
+ pre-integration-test
+
+ true
+
+
+ ${settings.localRepository}/org/apache/apache
+
+ **/*-site*.xml
+
+
+
+
+
+
+
org.apache.maven.plugins
maven-invoker-plugin
@@ -537,6 +598,7 @@ under the License.
src/it/mrm/settings.xml
${mrm.repository.url}
+ ${testingFluidoSkinVersion}
clean
@@ -552,7 +614,13 @@ under the License.
org.codehaus.mojo
mrm-maven-plugin
- 1.3.0
+
+ 1.5.0
+
+
+
+
+
@@ -561,14 +629,6 @@ under the License.
-
-
-
- src/it/mrm/repository
-
-
-
-
@@ -579,9 +639,9 @@ under the License.
- org.codehaus.mojo
+ com.googlecode.l10n-maven-plugin
l10n-maven-plugin
- 1.0-alpha-2
+ 1.8
ca
@@ -616,6 +676,9 @@ under the License.
dev
+
+ ${testingFluidoSkinVersion}
+
diff --git a/src/it/projects/MSITE-159/pom.xml b/src/it/projects/MSITE-159/pom.xml
index e2f3c88d..374bf377 100644
--- a/src/it/projects/MSITE-159/pom.xml
+++ b/src/it/projects/MSITE-159/pom.xml
@@ -31,6 +31,10 @@ under the License.
http://webhost.company.com/
+
+ @fluidoSkinVersion@
+
+
website
@@ -45,7 +49,7 @@ under the License.
maven-site-plugin
@project.version@
- false
+ false
@@ -56,7 +60,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-159/src/site/site.xml b/src/it/projects/MSITE-159/src/site/site.xml
index c666a02d..5117797b 100644
--- a/src/it/projects/MSITE-159/src/site/site.xml
+++ b/src/it/projects/MSITE-159/src/site/site.xml
@@ -19,8 +19,14 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -35,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-159/verify.bsh b/src/it/projects/MSITE-159/verify.bsh
index 8b9b875f..34dc3f05 100644
--- a/src/it/projects/MSITE-159/verify.bsh
+++ b/src/it/projects/MSITE-159/verify.bsh
@@ -41,9 +41,9 @@ try
}
String content = FileUtils.fileRead( index, "UTF-8" );
- int index1 = content.indexOf( "Breadcrumb " );
- int index2 = content.indexOf( "Link " );
- int index3 = content.indexOf( "Menu " );
+ int index1 = content.indexOf( "Breadcrumb " );
+ int index2 = content.indexOf( "Link " );
+ int index3 = content.indexOf( "Menu " );
if ( index1 < 0 || index2 < 0 || index3 < 0 )
{
System.err.println( "index.html has incorrect links!" );
diff --git a/src/it/projects/MSITE-265/pom.xml b/src/it/projects/MSITE-265/pom.xml
index 7142d903..5f6104be 100644
--- a/src/it/projects/MSITE-265/pom.xml
+++ b/src/it/projects/MSITE-265/pom.xml
@@ -34,6 +34,7 @@ under the License.
3.0.5
UTF-8
+ @fluidoSkinVersion@
@@ -42,7 +43,7 @@ under the License.
maven-site-plugin
@project.version@
- en,ca,cs,da,de,es,fr,hu,it,ja,ko,nl,no,pl,pt,pt_BR,sk,sv,tr,zh_CN
+ default,en,ca,cs,da,de,es,fr,hu,it,ja,ko,nl,no,pl,pt,pt_BR,sk,sv,tr,zh_CN
@@ -52,7 +53,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
@@ -64,7 +65,7 @@ under the License.
org.codehaus.mojo
taglist-maven-plugin
- 2.0
+ 3.0.0
diff --git a/src/it/projects/MSITE-265/src/site/site.xml b/src/it/projects/MSITE-265/src/site/site.xml
index 2cfb4865..3dbd8374 100644
--- a/src/it/projects/MSITE-265/src/site/site.xml
+++ b/src/it/projects/MSITE-265/src/site/site.xml
@@ -19,15 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
org.apache.maven.skins
- maven-stylus-skin
- 1.5
+ maven-fluido-skin
+ ${fluidoSkinVersion}
@@ -41,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-265/verify.bsh b/src/it/projects/MSITE-265/verify.bsh
index e4603090..400667d8 100644
--- a/src/it/projects/MSITE-265/verify.bsh
+++ b/src/it/projects/MSITE-265/verify.bsh
@@ -71,9 +71,9 @@ try
System.err.println( "download.html doesn't contain Download Maven 3.0.5" );
return false;
}
- if ( downloadContent.indexOf( "charset=UTF-8" ) < 0 )
+ if ( downloadContent.indexOf( "charset=\"UTF-8\"" ) < 0 )
{
- System.err.println( "download.html doesn't contain 'charset=UTF-8' directive" );
+ System.err.println( "download.html doesn't contain 'charset=\"UTF-8\"' directive" );
return false;
}
if ( downloadContent.indexOf( "demo character: € (euro)" ) < 0 )
diff --git a/src/it/projects/MSITE-354/pom.xml b/src/it/projects/MSITE-354/pom.xml
index 543ff47d..912ac9c6 100644
--- a/src/it/projects/MSITE-354/pom.xml
+++ b/src/it/projects/MSITE-354/pom.xml
@@ -54,12 +54,12 @@ under the License.
-
+
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-456/pom.xml b/src/it/projects/MSITE-456/pom.xml
index a74e5bcb..0e420c59 100644
--- a/src/it/projects/MSITE-456/pom.xml
+++ b/src/it/projects/MSITE-456/pom.xml
@@ -45,7 +45,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-456/verify.bsh b/src/it/projects/MSITE-456/verify.bsh
index f54f9bc6..b63853a7 100644
--- a/src/it/projects/MSITE-456/verify.bsh
+++ b/src/it/projects/MSITE-456/verify.bsh
@@ -40,8 +40,8 @@ try
}
String content = FileUtils.fileRead( parentIndex, "UTF-8" );
- int index1 = content.indexOf( "MSITE-456 - child " );
- int index2 = content.indexOf( "Project Information " );
+ int index1 = content.indexOf( "MSITE-456 - child " );
+ int index2 = content.indexOf( " Project Information " );
if ( index1 < 0 || index2 < 0 )
@@ -75,8 +75,8 @@ try
}
content = FileUtils.fileRead( childIndex, "UTF-8" );
- index1 = content.indexOf( "MSITE-456 - parent " );
- index2 = content.indexOf( "Project Information " );
+ index1 = content.indexOf( "MSITE-456 - parent " );
+ index2 = content.indexOf( " Project Information " );
if ( index1 < 0 || index2 < 0 )
{
diff --git a/src/it/projects/MSITE-458/pom.xml b/src/it/projects/MSITE-458/pom.xml
index e6f60b0c..43eb1293 100644
--- a/src/it/projects/MSITE-458/pom.xml
+++ b/src/it/projects/MSITE-458/pom.xml
@@ -31,6 +31,7 @@ under the License.
UTF-8
+ @fluidoSkinVersion@
@@ -53,7 +54,7 @@ under the License.
maven-project-info-reports-plugin
- 2.4
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-458/src/site/site.xml b/src/it/projects/MSITE-458/src/site/site.xml
index 1e4a3366..f4bd950d 100644
--- a/src/it/projects/MSITE-458/src/site/site.xml
+++ b/src/it/projects/MSITE-458/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
-
+
diff --git a/src/it/projects/MSITE-484/invoker.properties b/src/it/projects/MSITE-484/invoker.properties
index 5fcde54e..978b68af 100644
--- a/src/it/projects/MSITE-484/invoker.properties
+++ b/src/it/projects/MSITE-484/invoker.properties
@@ -14,5 +14,3 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
-invoker.maven.version = 3.0+
diff --git a/src/it/projects/MSITE-484/pom.xml b/src/it/projects/MSITE-484/pom.xml
index e8e50dc5..8cd975c4 100644
--- a/src/it/projects/MSITE-484/pom.xml
+++ b/src/it/projects/MSITE-484/pom.xml
@@ -28,6 +28,12 @@ under the License.
1.0-SNAPSHOT
parent
http://url
+
+
+ jira
+ http://example.com
+
+
@@ -47,7 +53,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.2
+ @projectInfoReportsPluginVersion@
false
@@ -56,8 +62,8 @@ under the License.
summary
index
- cim
- issue-tracking
+ ci-management
+ issue-management
scm
diff --git a/src/it/projects/MSITE-484/verify.groovy b/src/it/projects/MSITE-484/verify.groovy
index 65845249..134f02c2 100644
--- a/src/it/projects/MSITE-484/verify.groovy
+++ b/src/it/projects/MSITE-484/verify.groovy
@@ -18,11 +18,11 @@
* under the License.
*/
-assert new File( basedir, 'target/site/issue-tracking.html' ).exists();
+assert new File( basedir, 'target/site/issue-management.html' ).exists();
assert new File( basedir, 'parent-usage-test/target/site/xref/index.html' ).exists();
assert new File( basedir, 'parent-usage-test/target/site/xref-test/index.html' ).exists();
-assert new File( basedir, 'parent-usage-test/target/site/issue-tracking.html' ).exists();
+assert new File( basedir, 'parent-usage-test/target/site/issue-management.html' ).exists();
assert new File( basedir, 'parent-usage-test/target/site/apidocs' ).exists();
-return true;
\ No newline at end of file
+return true;
diff --git a/src/it/projects/MSITE-497/apps/app/pom.xml b/src/it/projects/MSITE-497/apps/app/pom.xml
index a8a17815..beea7264 100644
--- a/src/it/projects/MSITE-497/apps/app/pom.xml
+++ b/src/it/projects/MSITE-497/apps/app/pom.xml
@@ -32,14 +32,19 @@ under the License.
- log4j
- log4j
- 1.2.16
+ org.apache.logging.log4j
+ log4j-api
+ 2.20.0
+
+
+ org.apache.logging.log4j
+ log4j-core
+ 2.20.0
junit
junit
- 3.8.2
+ 4.13.2
test
diff --git a/src/it/projects/MSITE-497/apps/app/src/main/java/org/apache/maven/App.java b/src/it/projects/MSITE-497/apps/app/src/main/java/org/apache/maven/App.java
index 0a9ac177..35e45046 100644
--- a/src/it/projects/MSITE-497/apps/app/src/main/java/org/apache/maven/App.java
+++ b/src/it/projects/MSITE-497/apps/app/src/main/java/org/apache/maven/App.java
@@ -19,13 +19,14 @@
* under the License.
*/
-import org.apache.log4j.Logger;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
public class App
{
public static void main( String[] args )
{
- Logger mylogger = Logger.getLogger("MyLogger");
+ Logger mylogger = LogManager.getLogger("MyLogger");
mylogger.info( "Hello World!" );
}
}
diff --git a/src/it/projects/MSITE-497/pom.xml b/src/it/projects/MSITE-497/pom.xml
index 2e212919..e260d25d 100644
--- a/src/it/projects/MSITE-497/pom.xml
+++ b/src/it/projects/MSITE-497/pom.xml
@@ -28,6 +28,10 @@ under the License.
pom
parent
+
+ @fluidoSkinVersion@
+
+
apps
@@ -38,7 +42,7 @@ under the License.
org.apache.maven.plugins
maven-compiler-plugin
- 2.3.1
+ 3.11.0
org.apache.maven.plugins
@@ -48,8 +52,7 @@ under the License.
org.apache.maven.plugins
maven-site-plugin
-
- 2.1.1
+ @project.version@
org.apache.maven.plugins
@@ -70,27 +73,4 @@ under the License.
-
-
- maven-3
-
-
-
- ${basedir}
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-site-plugin
- @project.version@
-
-
-
-
-
-
diff --git a/src/it/projects/MSITE-497/src/site/site.xml b/src/it/projects/MSITE-497/src/site/site.xml
index c8e55cd5..ebd094f4 100644
--- a/src/it/projects/MSITE-497/src/site/site.xml
+++ b/src/it/projects/MSITE-497/src/site/site.xml
@@ -19,8 +19,14 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -30,4 +36,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-504/maven-plugin/pom.xml b/src/it/projects/MSITE-504/maven-plugin/pom.xml
index 03cdf5a0..25987275 100644
--- a/src/it/projects/MSITE-504/maven-plugin/pom.xml
+++ b/src/it/projects/MSITE-504/maven-plugin/pom.xml
@@ -37,7 +37,7 @@ under the License.
org.apache.maven
maven-plugin-api
- 3.0-beta-3
+ 3.2.5
-
\ No newline at end of file
+
diff --git a/src/it/projects/MSITE-504/pom.xml b/src/it/projects/MSITE-504/pom.xml
index d0101fcb..94486ca5 100644
--- a/src/it/projects/MSITE-504/pom.xml
+++ b/src/it/projects/MSITE-504/pom.xml
@@ -32,7 +32,7 @@ under the License.
- 2.2
+ @mavenVersion@
@@ -52,4 +52,4 @@ under the License.
-
\ No newline at end of file
+
diff --git a/src/it/projects/MSITE-506/pom.xml b/src/it/projects/MSITE-506/pom.xml
index 9832859c..290a3806 100644
--- a/src/it/projects/MSITE-506/pom.xml
+++ b/src/it/projects/MSITE-506/pom.xml
@@ -34,9 +34,9 @@ under the License.
- junit
- junit
- 3.8.2
+ org.junit.jupiter
+ junit-jupiter
+ 5.10.0
test
@@ -46,7 +46,7 @@ under the License.
org.apache.maven.plugins
maven-site-plugin
- @pom.version@
+ @project.version@
diff --git a/src/it/projects/MSITE-506/src/test/java/mavenjavadoc/AppTest.java b/src/it/projects/MSITE-506/src/test/java/mavenjavadoc/AppTest.java
index a35a2a28..061b54ec 100644
--- a/src/it/projects/MSITE-506/src/test/java/mavenjavadoc/AppTest.java
+++ b/src/it/projects/MSITE-506/src/test/java/mavenjavadoc/AppTest.java
@@ -8,9 +8,9 @@
* 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
@@ -19,38 +19,20 @@
* under the License.
*/
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest
- extends TestCase
+public class AppTest
{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
- {
- super( testName );
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
/**
* Rigourous Test :-)
*/
- public void testApp()
+ @Test
+ void testApp()
{
assertTrue( true );
}
diff --git a/src/it/projects/MSITE-507/pom.xml b/src/it/projects/MSITE-507/pom.xml
index 149e449a..4f02e2d4 100644
--- a/src/it/projects/MSITE-507/pom.xml
+++ b/src/it/projects/MSITE-507/pom.xml
@@ -22,81 +22,81 @@ under the License.
4.0.0
-
+
my.group.id
my-artifact-id
1.0-SNAPSHOT
-
-
- 1.1.8
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-site-plugin
+
+
+ 1.1.8
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-site-plugin
@pom.version@
-
-
- org.apache.maven.plugins
- maven-project-info-reports-plugin
- 2.2
-
-
- org.apache.maven.plugins
- maven-jxr-plugin
- 2.2
-
- true
- utf-8
- utf-8
- xref/cedarsoft.css
-
-
-
- com.cedarsoft.maven
- cedarsoft-skin
- ${maven.skin.version}
-
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jxr-plugin
-
-
- com.cedarsoft.maven
- cedarsoft-skin
- ${maven.skin.version}
-
-
-
+
+
+ org.apache.maven.plugins
+ maven-project-info-reports-plugin
+ @projectInfoReportsPluginVersion@
+
+
+ org.apache.maven.plugins
+ maven-jxr-plugin
+ 3.2.0
+
+ true
+ utf-8
+ utf-8
+ xref/cedarsoft.css
+
+
+
+ com.cedarsoft.maven
+ cedarsoft-skin
+ ${maven.skin.version}
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jxr-plugin
+
+
+ com.cedarsoft.maven
+ cedarsoft-skin
+ ${maven.skin.version}
+
+
+
org.apache.maven.plugins
maven-site-plugin
-
-
-
-
+
+
+
+
-
-
- org.apache.maven.plugins
- maven-jxr-plugin
-
- true
- utf-8
- utf-8
- xref/cedarsoft.css
-
-
+
+
+ org.apache.maven.plugins
+ maven-jxr-plugin
+
+ true
+ utf-8
+ utf-8
+ xref/cedarsoft.css
+
+
org.apache.maven.plugins
@@ -108,7 +108,7 @@ under the License.
-
-
+
+
diff --git a/src/it/projects/MSITE-548/pom.xml b/src/it/projects/MSITE-548/pom.xml
index a7e5da50..bd2ff516 100644
--- a/src/it/projects/MSITE-548/pom.xml
+++ b/src/it/projects/MSITE-548/pom.xml
@@ -51,7 +51,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-548/root/pom.xml b/src/it/projects/MSITE-548/root/pom.xml
index 514d23dc..d8e8d994 100644
--- a/src/it/projects/MSITE-548/root/pom.xml
+++ b/src/it/projects/MSITE-548/root/pom.xml
@@ -40,11 +40,11 @@ under the License.
-
- org.apache.maven.plugins
- maven-site-plugin
- @project.version@
-
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ @project.version@
+
@@ -53,7 +53,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-566/pom.xml b/src/it/projects/MSITE-566/pom.xml
index 93fc629d..d8763fca 100644
--- a/src/it/projects/MSITE-566/pom.xml
+++ b/src/it/projects/MSITE-566/pom.xml
@@ -32,6 +32,7 @@ under the License.
UTF-8
Documentation
+ @fluidoSkinVersion@
diff --git a/src/it/projects/MSITE-566/src/site/site.xml b/src/it/projects/MSITE-566/src/site/site.xml
index 0e4d7710..c11e69dc 100644
--- a/src/it/projects/MSITE-566/src/site/site.xml
+++ b/src/it/projects/MSITE-566/src/site/site.xml
@@ -19,12 +19,18 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
-
+
diff --git a/src/it/projects/MSITE-566/verify.bsh b/src/it/projects/MSITE-566/verify.bsh
index 0c978aea..94c81a59 100644
--- a/src/it/projects/MSITE-566/verify.bsh
+++ b/src/it/projects/MSITE-566/verify.bsh
@@ -66,7 +66,7 @@ try
content = FileUtils.fileRead( index, "UTF-8" );
index1 = content.indexOf( "MSITE-566 IT" );
- index2 = content.indexOf( "Documentation " );
+ index2 = content.indexOf( "" );
if ( index1 < 0 || index2 < 0 )
{
System.err.println( "generated site has unresolved properties!" );
diff --git a/src/it/projects/MSITE-582/child/src/site/site.xml b/src/it/projects/MSITE-582/child/src/site/site.xml
index 532d9529..7a2df146 100644
--- a/src/it/projects/MSITE-582/child/src/site/site.xml
+++ b/src/it/projects/MSITE-582/child/src/site/site.xml
@@ -19,9 +19,14 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -30,4 +35,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-582/pom.xml b/src/it/projects/MSITE-582/pom.xml
index 1617b4c5..bb472de4 100644
--- a/src/it/projects/MSITE-582/pom.xml
+++ b/src/it/projects/MSITE-582/pom.xml
@@ -31,6 +31,10 @@ under the License.
Make it possible to remove breadcrumbs in child projects again
http://www.example.com/parent/
+
+ @fluidoSkinVersion@
+
+
child
@@ -51,7 +55,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-582/src/site/site.xml b/src/it/projects/MSITE-582/src/site/site.xml
index c8533502..9de237a6 100644
--- a/src/it/projects/MSITE-582/src/site/site.xml
+++ b/src/it/projects/MSITE-582/src/site/site.xml
@@ -19,9 +19,14 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -32,4 +37,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-582/verify.groovy b/src/it/projects/MSITE-582/verify.groovy
index d24ed556..d9c526aa 100644
--- a/src/it/projects/MSITE-582/verify.groovy
+++ b/src/it/projects/MSITE-582/verify.groovy
@@ -20,7 +20,7 @@
content = new File( basedir, 'child/target/site/index.html' ).text;
-assert !content.contains( 'D ' );
-assert content.contains( 'M ' );
+assert !content.contains( 'D ' );
+assert content.contains( 'M ' );
return true;
\ No newline at end of file
diff --git a/src/it/projects/MSITE-604/invoker.properties b/src/it/projects/MSITE-604/invoker.properties
index de515df4..0acfea1d 100644
--- a/src/it/projects/MSITE-604/invoker.properties
+++ b/src/it/projects/MSITE-604/invoker.properties
@@ -15,8 +15,5 @@
# specific language governing permissions and limitations
# under the License.
-# only fixed with Maven 3
-invoker.maven.version = 3.0+
invoker.goals=clean site:site site:deploy
invoker.profiles = msite604
-
diff --git a/src/it/projects/MSITE-604/pom.xml b/src/it/projects/MSITE-604/pom.xml
index 77a560f8..2ecd5611 100644
--- a/src/it/projects/MSITE-604/pom.xml
+++ b/src/it/projects/MSITE-604/pom.xml
@@ -66,7 +66,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-609/pom.xml b/src/it/projects/MSITE-609/pom.xml
index 85d4a09e..7e17f40f 100644
--- a/src/it/projects/MSITE-609/pom.xml
+++ b/src/it/projects/MSITE-609/pom.xml
@@ -32,8 +32,9 @@ under the License.
MSITE-609 IT
- 3.0.5
+ @mavenVersion@
UTF-8
+ @fluidoSkinVersion@
@@ -58,7 +59,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-609/src/site/site.xml b/src/it/projects/MSITE-609/src/site/site.xml
index 2cfb4865..e2cf9124 100644
--- a/src/it/projects/MSITE-609/src/site/site.xml
+++ b/src/it/projects/MSITE-609/src/site/site.xml
@@ -19,15 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
org.apache.maven.skins
- maven-stylus-skin
- 1.5
+ maven-fluido-skin
+ ${fluidoSkinVersion}
@@ -41,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/MSITE-609/verify.bsh b/src/it/projects/MSITE-609/verify.bsh
index 0b822a86..5fdf251a 100644
--- a/src/it/projects/MSITE-609/verify.bsh
+++ b/src/it/projects/MSITE-609/verify.bsh
@@ -65,10 +65,10 @@ try
return false;
}
String downloadContent = FileUtils.fileRead( download, "UTF-8" );
- int indexOf = downloadContent.indexOf( "Download Maven 3.0.5" );
+ int indexOf = downloadContent.indexOf( "Download Maven 3.2.5" );
if ( indexOf < 0 )
{
- System.err.println( "download.html doesn't contain Download Maven 3.0.5" );
+ System.err.println( "download.html doesn't contain Download Maven 3.2.5" );
return false;
}
}
diff --git a/src/it/projects/MSITE-627/invoker.properties b/src/it/projects/MSITE-627/invoker.properties
index 23810591..dc513b4f 100644
--- a/src/it/projects/MSITE-627/invoker.properties
+++ b/src/it/projects/MSITE-627/invoker.properties
@@ -18,4 +18,3 @@
invoker.goals.1 = clean install
invoker.debug.1 = false
invoker.goals.2 = site
-invoker.maven.version = 3.0+
\ No newline at end of file
diff --git a/src/it/projects/MSITE-627/pom.xml b/src/it/projects/MSITE-627/pom.xml
index bb7c6fd7..5def1bae 100644
--- a/src/it/projects/MSITE-627/pom.xml
+++ b/src/it/projects/MSITE-627/pom.xml
@@ -39,7 +39,7 @@ under the License.
org.apache.maven.reporting
maven-reporting-impl
- 2.1
+ @mavenReportingImplVersion@
@@ -51,6 +51,11 @@ under the License.
maven-site-plugin
@project.version@
+
+ org.apache.maven.plugins
+ maven-plugin-plugin
+ @mavenPluginPluginVersion@
+
diff --git a/src/it/projects/MSITE-627/src/main/java/org/apache/maven/plugins/it/MyReport.java b/src/it/projects/MSITE-627/src/main/java/org/apache/maven/plugins/it/MyReport.java
index 1d4ffe2b..8fba898f 100644
--- a/src/it/projects/MSITE-627/src/main/java/org/apache/maven/plugins/it/MyReport.java
+++ b/src/it/projects/MSITE-627/src/main/java/org/apache/maven/plugins/it/MyReport.java
@@ -20,7 +20,7 @@
*/
import org.apache.maven.doxia.sink.Sink;
-import org.apache.maven.doxia.sink.SinkAdapter;
+import org.apache.maven.doxia.sink.impl.SinkAdapter;
import org.apache.maven.doxia.siterenderer.Renderer;
import org.apache.maven.project.MavenProject;
import org.apache.maven.reporting.AbstractMavenReport;
@@ -30,7 +30,7 @@
/**
* Goal which creates a sink in a report.
- *
+ *
* @goal test
* @phase site
*/
diff --git a/src/it/projects/MSITE-658/pom.xml b/src/it/projects/MSITE-658/pom.xml
index c6299e33..d329dd49 100644
--- a/src/it/projects/MSITE-658/pom.xml
+++ b/src/it/projects/MSITE-658/pom.xml
@@ -31,9 +31,18 @@ under the License.
MSITE-658
http://maven.apache.org/sub-directory
+
+
+ Apache License, Version 2.0
+ https://www.apache.org/licenses/LICENSE-2.0.txt
+ repo
+
+
+
UTF-8
UTF-8
+ @fluidoSkinVersion@
@@ -44,7 +53,7 @@ under the License.
maven-site-plugin
@project.version@
- en,de
+ default,en,de
@@ -55,12 +64,12 @@ under the License.
maven-project-info-reports-plugin
- 2.5.1
+ @projectInfoReportsPluginVersion@
index
- license
+ licenses
diff --git a/src/it/projects/MSITE-658/src/site/site.xml b/src/it/projects/MSITE-658/src/site/site.xml
index 42feaf95..08fa53af 100644
--- a/src/it/projects/MSITE-658/src/site/site.xml
+++ b/src/it/projects/MSITE-658/src/site/site.xml
@@ -19,12 +19,18 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
-
+
diff --git a/src/it/projects/MSITE-658/src/site/site_de.xml b/src/it/projects/MSITE-658/src/site/site_de.xml
index f257dd4b..2aca99bf 100644
--- a/src/it/projects/MSITE-658/src/site/site_de.xml
+++ b/src/it/projects/MSITE-658/src/site/site_de.xml
@@ -19,12 +19,18 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
-
+
diff --git a/src/it/projects/MSITE-658/verify.bsh b/src/it/projects/MSITE-658/verify.bsh
index 1aafec0d..188326d0 100644
--- a/src/it/projects/MSITE-658/verify.bsh
+++ b/src/it/projects/MSITE-658/verify.bsh
@@ -33,18 +33,18 @@ try
result = false;
}
- File license = new File( siteDirectory, "license.html" );
- if ( !license.exists() || license.isDirectory() )
+ File licenses = new File( siteDirectory, "licenses.html" );
+ if ( !licenses.exists() || licenses.isDirectory() )
{
- System.err.println( "no license file or is a directory." );
+ System.err.println( "no licenses file or is a directory." );
result = false;
}
- String content = FileUtils.fileRead( license, "UTF-8" );
- int index = content.indexOf( "Home " );
+ String content = FileUtils.fileRead( licenses, "UTF-8" );
+ int index = content.indexOf( "Home " );
if ( index < 0 )
{
- System.err.println( "license.html has incorrect links!" );
+ System.err.println( "licenses.html has incorrect links!" );
result = false;
}
@@ -57,18 +57,18 @@ try
result = false;
}
- license = new File( deDirectory, "license.html" );
- if ( !license.exists() || license.isDirectory() )
+ licenses = new File( deDirectory, "licenses.html" );
+ if ( !licenses.exists() || licenses.isDirectory() )
{
- System.err.println( "no license file or is a directory." );
+ System.err.println( "no licenses file or is a directory." );
result = false;
}
- content = FileUtils.fileRead( license, "UTF-8" );
- int index = content.indexOf( "Heim " );
+ content = FileUtils.fileRead( licenses, "UTF-8" );
+ int index = content.indexOf( "Heim " );
if ( index < 0 )
{
- System.err.println( "license.html has incorrect links!" );
+ System.err.println( "licenses.html has incorrect links!" );
result = false;
}
}
diff --git a/src/it/projects/MSITE-665/pom.xml b/src/it/projects/MSITE-665/pom.xml
index c8c57c88..23fefa54 100644
--- a/src/it/projects/MSITE-665/pom.xml
+++ b/src/it/projects/MSITE-665/pom.xml
@@ -60,7 +60,7 @@ under the License.
junit
junit
- 4.8.1
+ 4.13.2
test
@@ -70,7 +70,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.5.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-723/pom.xml b/src/it/projects/MSITE-723/pom.xml
index f7818e3b..d53ddbb2 100644
--- a/src/it/projects/MSITE-723/pom.xml
+++ b/src/it/projects/MSITE-723/pom.xml
@@ -73,7 +73,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.5.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-842/invoker.properties b/src/it/projects/MSITE-842/invoker.properties
index ed62a613..fc01a821 100644
--- a/src/it/projects/MSITE-842/invoker.properties
+++ b/src/it/projects/MSITE-842/invoker.properties
@@ -17,5 +17,4 @@
invoker.goals.1 = clean install
invoker.debug.1 = false
-invoker.goals.2 = site
-invoker.maven.version = 3.0+
+invoker.goals.2 = -pl project site
diff --git a/src/it/projects/MSITE-842/pom.xml b/src/it/projects/MSITE-842/pom.xml
index 470ef867..15ac0597 100644
--- a/src/it/projects/MSITE-842/pom.xml
+++ b/src/it/projects/MSITE-842/pom.xml
@@ -25,69 +25,16 @@ under the License.
4.0.0
org.apache.maven.plugins.site.its
- MSITE-842
+ MSITE-842-aggregator
1.0-SNAPSHOT
- maven-plugin
+ pom
it-plugin-test Maven Mojo
http://maven.apache.org
-
- UTF-8
-
-
-
-
- org.apache.maven.reporting
- maven-reporting-impl
- 3.0.0
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-site-plugin
- @project.version@
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-site-plugin
-
- ${basedir}/src/site/show-properties.vm
-
-
-
-
-
-
-
-
-
- org.apache.maven.plugins.site.its
- MSITE-842
- ${project.version}
-
-
- org.apache.maven.plugins
- maven-project-info-reports-plugin
- 2.9
-
-
-
- true
-
-
-
-
-
-
+
+ skin
+ project
+
diff --git a/src/it/projects/MSITE-842/project/pom.xml b/src/it/projects/MSITE-842/project/pom.xml
new file mode 100644
index 00000000..e9c34723
--- /dev/null
+++ b/src/it/projects/MSITE-842/project/pom.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.plugins.site.its
+ MSITE-842-plugin
+ 1.0-SNAPSHOT
+ maven-plugin
+
+ it-plugin-test Maven Mojo
+ http://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+ org.apache.maven.reporting
+ maven-reporting-impl
+ @mavenReportingImplVersion@
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ @project.version@
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-plugin-plugin
+ @mavenPluginPluginVersion@
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins.site.its
+ MSITE-842-plugin
+ ${project.version}
+
+
+ org.apache.maven.plugins
+ maven-project-info-reports-plugin
+ @projectInfoReportsPluginVersion@
+
+
+
+ true
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/MSITE-842/src/it/MSITE-842.html b/src/it/projects/MSITE-842/project/src/it/MSITE-842.html
similarity index 100%
rename from src/it/projects/MSITE-842/src/it/MSITE-842.html
rename to src/it/projects/MSITE-842/project/src/it/MSITE-842.html
diff --git a/src/it/projects/MSITE-842/src/it/another-page.html b/src/it/projects/MSITE-842/project/src/it/another-page.html
similarity index 100%
rename from src/it/projects/MSITE-842/src/it/another-page.html
rename to src/it/projects/MSITE-842/project/src/it/another-page.html
diff --git a/src/it/projects/MSITE-842/src/it/sub/sub.html b/src/it/projects/MSITE-842/project/src/it/sub/sub.html
similarity index 100%
rename from src/it/projects/MSITE-842/src/it/sub/sub.html
rename to src/it/projects/MSITE-842/project/src/it/sub/sub.html
diff --git a/src/it/projects/MSITE-842/src/main/java/org/apache/maven/plugins/it/MyReport.java b/src/it/projects/MSITE-842/project/src/main/java/org/apache/maven/plugins/it/MyReport.java
similarity index 93%
rename from src/it/projects/MSITE-842/src/main/java/org/apache/maven/plugins/it/MyReport.java
rename to src/it/projects/MSITE-842/project/src/main/java/org/apache/maven/plugins/it/MyReport.java
index c00c6fc9..7044cca5 100644
--- a/src/it/projects/MSITE-842/src/main/java/org/apache/maven/plugins/it/MyReport.java
+++ b/src/it/projects/MSITE-842/project/src/main/java/org/apache/maven/plugins/it/MyReport.java
@@ -69,7 +69,7 @@ protected void executeReport( Locale locale ) throws MavenReportException
Sink anotherSink;
try
{
- anotherSink = getSinkFactory().createSink( outputDirectory, "another-page.html" );
+ anotherSink = getSinkFactory().createSink( getReportOutputDirectory(), "another-page.html" );
}
catch ( IOException e )
{
@@ -81,7 +81,7 @@ protected void executeReport( Locale locale ) throws MavenReportException
anotherSink.text( "Another Sink" );
// Create a new sink, in a subdirectory
- File subDirectory = new File( outputDirectory, "sub" );
+ File subDirectory = new File( getReportOutputDirectory(), "sub" );
Sink subDirectorySink;
try
{
diff --git a/src/it/projects/MSITE-842/project/src/site/site.xml b/src/it/projects/MSITE-842/project/src/site/site.xml
new file mode 100644
index 00000000..69ffb51d
--- /dev/null
+++ b/src/it/projects/MSITE-842/project/src/site/site.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+ org.apache.maven.plugins.site.its
+ MSITE-842-skin
+ 1.0-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/MSITE-842/skin/pom.xml b/src/it/projects/MSITE-842/skin/pom.xml
new file mode 100644
index 00000000..009ce86b
--- /dev/null
+++ b/src/it/projects/MSITE-842/skin/pom.xml
@@ -0,0 +1,39 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.plugins.site.its
+ MSITE-842-skin
+ 1.0-SNAPSHOT
+ jar
+
+ it-plugin-test Maven Mojo
+ http://maven.apache.org
+
+
+ UTF-8
+
+
+
diff --git a/src/it/projects/MSITE-842/src/site/show-properties.vm b/src/it/projects/MSITE-842/skin/src/main/resources/META-INF/maven/site.vm
similarity index 100%
rename from src/it/projects/MSITE-842/src/site/show-properties.vm
rename to src/it/projects/MSITE-842/skin/src/main/resources/META-INF/maven/site.vm
diff --git a/src/it/projects/MSITE-842/verify.groovy b/src/it/projects/MSITE-842/verify.groovy
index 508edb64..2bc801d6 100644
--- a/src/it/projects/MSITE-842/verify.groovy
+++ b/src/it/projects/MSITE-842/verify.groovy
@@ -22,22 +22,22 @@ File resultFile;
File expectedFile;
// Check MSITE-842.html (must exist and be exactly like the model
-resultFile = new File(basedir, "target/site/MSITE-842.html");
-expectedFile = new File(basedir, "src/it/MSITE-842.html");
+resultFile = new File(basedir, "project/target/site/MSITE-842.html");
+expectedFile = new File(basedir, "project/src/it/MSITE-842.html");
assert resultFile.exists() && resultFile.isFile()
assert resultFile.text.normalize().equals(expectedFile.text.normalize())
// Check another-page.html (must exist and be exactly like the model
-resultFile = new File(basedir, "target/site/another-page.html");
-expectedFile = new File(basedir, "src/it/another-page.html");
+resultFile = new File(basedir, "project/target/site/another-page.html");
+expectedFile = new File(basedir, "project/src/it/another-page.html");
assert resultFile.exists() && resultFile.isFile()
assert resultFile.text.normalize().equals(expectedFile.text.normalize())
// Check sub/sub.html (must exist and be exactly like the model
-resultFile = new File(basedir, "target/site/sub/sub.html");
-expectedFile = new File(basedir, "src/it/sub/sub.html");
+resultFile = new File(basedir, "project/target/site/sub/sub.html");
+expectedFile = new File(basedir, "project/src/it/sub/sub.html");
assert resultFile.exists() && resultFile.isFile()
assert resultFile.text.normalize().equals(expectedFile.text.normalize())
diff --git a/src/it/projects/MSITE-856/pom.xml b/src/it/projects/MSITE-856/pom.xml
index dfdeccb7..a66c8158 100644
--- a/src/it/projects/MSITE-856/pom.xml
+++ b/src/it/projects/MSITE-856/pom.xml
@@ -29,6 +29,10 @@ under the License.
pom
MSITE-856
+
+ @fluidoSkinVersion@
+
+
@@ -37,6 +41,7 @@ under the License.
@project.version@
true
+ default,de
@@ -47,7 +52,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/MSITE-856/src/site/site.xml b/src/it/projects/MSITE-856/src/site/site.xml
index 88a1a957..3610d5cd 100644
--- a/src/it/projects/MSITE-856/src/site/site.xml
+++ b/src/it/projects/MSITE-856/src/site/site.xml
@@ -19,12 +19,18 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
-
+
diff --git a/src/it/projects/MSITE-856/src/site/site_de.xml b/src/it/projects/MSITE-856/src/site/site_de.xml
new file mode 100644
index 00000000..13f8eec1
--- /dev/null
+++ b/src/it/projects/MSITE-856/src/site/site_de.xml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/MSITE-856/verify.bsh b/src/it/projects/MSITE-856/verify.bsh
index 802eae94..4ee0e12d 100644
--- a/src/it/projects/MSITE-856/verify.bsh
+++ b/src/it/projects/MSITE-856/verify.bsh
@@ -22,17 +22,38 @@ import org.codehaus.plexus.util.*;
try
{
- final File siteDirectory = new File( basedir, "target/generated-site" );
- if ( !siteDirectory.exists() || !siteDirectory.isDirectory() )
+ final File siteDirectory = new File( basedir, "target/site" );
+ if ( !siteDirectory.isDirectory() )
{
- System.err.println( "generated-site is missing or not a directory." );
+ System.err.println( "site is missing or not a directory." );
return false;
}
- File index = new File( siteDirectory, "xdoc/sitemap.xml" );
- if ( !index.exists() || index.isDirectory() )
+ File sitemapHtmlFile = new File( siteDirectory, "sitemap.html" );
+ if ( !sitemapHtmlFile.isFile() )
{
- System.err.println( "no sitemap.xml!" );
+ System.err.println( "no sitemap.html!" );
+ return false;
+ }
+
+ content = FileUtils.fileRead( sitemapHtmlFile, "UTF-8" );
+ if ( !content.contains( "My first item " ) )
+ {
+ System.err.println( "\"My first item \" not found in sitemap.html!" );
+ return false;
+ }
+
+ File sitemapGermanHtmlFile = new File( siteDirectory, "de/sitemap.html" );
+ if ( !sitemapGermanHtmlFile.isFile() )
+ {
+ System.err.println( "no German sitemap.html!" );
+ return false;
+ }
+
+ content = FileUtils.fileRead( sitemapGermanHtmlFile, "UTF-8" );
+ if ( !content.contains( "Mein erstes Element " ) )
+ {
+ System.err.println( "\"Mein erstes Element \" not found in German sitemap.html!" );
return false;
}
}
diff --git a/src/it/projects/MSITE-901/invoker.properties b/src/it/projects/MSITE-901/invoker.properties
new file mode 100644
index 00000000..a644cb7e
--- /dev/null
+++ b/src/it/projects/MSITE-901/invoker.properties
@@ -0,0 +1,18 @@
+# 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.
+
+invoker.goals = clean package
diff --git a/src/it/projects/MSITE-901/pom.xml b/src/it/projects/MSITE-901/pom.xml
new file mode 100644
index 00000000..a89260c7
--- /dev/null
+++ b/src/it/projects/MSITE-901/pom.xml
@@ -0,0 +1,78 @@
+
+
+
+
+
+ 4.0.0
+
+ org.apache.maven.plugins.site.it
+ MSITE-901
+ 1.0.0-SNAPSHOT
+
+ Verifies that the site:jar goal output is not altered by the pmd/cpd skipEmptyReport property
+
+
+
+
+ org.apache.maven.plugins
+ maven-pmd-plugin
+ 3.16.0
+
+
+
+ check
+
+ process-sources
+
+
+
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ @project.version@
+
+
+
+ jar
+
+
+
+
+
+
+
+
+
+
+ maven-project-info-reports-plugin
+ @projectInfoReportsPluginVersion@
+
+
+
+ index
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/MSITE-901/verify.groovy b/src/it/projects/MSITE-901/verify.groovy
new file mode 100644
index 00000000..1cf15bed
--- /dev/null
+++ b/src/it/projects/MSITE-901/verify.groovy
@@ -0,0 +1,27 @@
+
+/*
+ * 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 buildLog = new File( basedir, 'build.log' )
+assert buildLog.exists()
+
+File siteIndex = new File( basedir, 'target/site/index.html' )
+File sitePmd = new File( basedir, 'target/site/pmd.html' )
+assert siteIndex.exists()
+assert sitePmd.exists()
diff --git a/src/it/projects/doxia-formats/pom.xml b/src/it/projects/doxia-formats/pom.xml
index 2acd9ee0..127e3d34 100644
--- a/src/it/projects/doxia-formats/pom.xml
+++ b/src/it/projects/doxia-formats/pom.xml
@@ -31,13 +31,18 @@ under the License.
@project.version@
+ @fluidoSkinVersion@
+ @project.build.outputTimestamp@
+ UTF-8
+ UTF-8
- org.apache.velocity
- velocity-tools
- 2.0
+ org.apache.velocity.tools
+ velocity-tools-generic
+ 3.1
+ provided
@@ -49,6 +54,7 @@ under the License.
maven-site-plugin
@project.version@
+ default,de
false
true
diff --git a/src/it/projects/doxia-formats/src/site/apt/index.apt b/src/it/projects/doxia-formats/src/site/apt/index.apt
index ab679c82..d154ff1f 100644
--- a/src/it/projects/doxia-formats/src/site/apt/index.apt
+++ b/src/it/projects/doxia-formats/src/site/apt/index.apt
@@ -1,7 +1,8 @@
-----
- Doxia Formats
+ Doxia Formats Title Property
-----
Hervé Boutemy
+ Other Authors
-----
2015-12-20
-----
@@ -33,14 +34,14 @@ Doxia Formats
By default, only the following are integrated into maven-site-plugin:
-*--------------------*-------------------------------------------------------*-----------------------------------*
+*--------------------+-------------------------------------------------------+-----------------------------------+
|| Format || plain || macro ||
*--------------------+-------------------------------------------------------+-----------------------------------+
| Apt | {{{./index.html} <<>>}} | {{{./apt-macro.html} macro}} |
*--------------------+-------------------------------------------------------+-----------------------------------+
| FML | {{{./faq.html} <<>>}} | {{{./faq-macro.html} macro}} |
*--------------------+-------------------------------------------------------+-----------------------------------+
-| Markdown | {{{./markdown.html} <<>>}} | {{{./markdown-macro.html} macro}} |
+| Markdown | {{{./markdown.html} <<>>}} / | {{{./markdown-macro.html} macro}} / |
| | {{{./markdown2.html} <<>>}} | {{{./markdown2-macro.html} macro}}|
*--------------------+-------------------------------------------------------+-----------------------------------+
| Xdoc | {{{./xdoc.html} <<>>}} | {{{./xdoc-macro.html} macro}} |
diff --git a/src/it/projects/doxia-formats/src/site/apt/velocity-context.apt.vm b/src/it/projects/doxia-formats/src/site/apt/velocity-context.apt.vm
index 122a9313..d1c873e5 100644
--- a/src/it/projects/doxia-formats/src/site/apt/velocity-context.apt.vm
+++ b/src/it/projects/doxia-formats/src/site/apt/velocity-context.apt.vm
@@ -37,7 +37,7 @@ Doxia Site Renderer Velocity Context
*-----------------------+-------------------------------------------------------+-----+
#foreach( $key in $sorter.sort( $context.keys ) )
#set( $value = $context.get($key) )
-| <<<$key>>> | <<<#if ($value)$value.class.name#else?#end>>> | #if ($key != "decoration")<<<$value>>>#end |
+| <<<$key>>> | <<<#if ($value)$value.class.name#else?#end>>> | #if ($key != "decoration" && $key != "site" && $key != "link")#if ($value)<<<$StringUtils.replace($value, '\' , '\\')>>>#end#end|
*-----------------------+-------------------------------------------------------+-----+
#end
@@ -45,48 +45,37 @@ Doxia Site Renderer Velocity Context
* Document Variables
-*-----------------------*-------------------------------------------------------*
-|| variable || examples ||
-*-----------------------+-------------------------------------------------------+
-| <<>> | = <<<$alignedFileName>>>
-*-----------------------+-------------------------------------------------------+
-| <<>> | <<>> = <<< $decoration.name>>>
-*-----------------------+-------------------------------------------------------+
-| <<>> | = <<<$currentDate>>> \
-| | <<>> = <<<$dateFormat.format($currentDate)>>>
-*-----------------------+-------------------------------------------------------+
-| <<>> | = <<<$currentFileName>>>
-*-----------------------+-------------------------------------------------------+
-| <<>> | = <<<$dateFormat>>>
-*-----------------------+-------------------------------------------------------+
-| <<>> | = <<<$dateRevision>>>
-*-----------------------+-------------------------------------------------------+
+*------------------------*-------------------------------------------------------*
+|| variable || examples ||
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$alignedFileName>>>
+*------------------------+-------------------------------------------------------+
+| <<>> | <<>> = <<<$site.name>>>
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$currentFileName>>>
+*------------------------+-------------------------------------------------------+
| <<>> | = <<<$doxiaSiteRendererVersion>>>
-*-----------------------+-------------------------------------------------------+
-| <<>> | = <<<$locale>>>
-*-----------------------+-------------------------------------------------------+
-| <<>> | = <<< $publishDate>>>
-*-----------------------+-------------------------------------------------------+
-| <<>> | = <<<$relativePath>>>
-*-----------------------+-------------------------------------------------------+
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$locale>>>
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$publishDate>>>
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$relativePath>>>
+*------------------------+-------------------------------------------------------+
| <<>> | = <<<$supportedLocales>>>
-*-----------------------+-------------------------------------------------------+
+*------------------------+-------------------------------------------------------+
* Tools
*-----------------------*-------------------------------------------------------*
|| variable || examples ||
*-----------------------+-------------------------------------------------------+
-| <<>> | = <<<$FileUtils>>>
-*-----------------------+-------------------------------------------------------+
-| <<>> | = <<<$i18n>>>
-*-----------------------+-------------------------------------------------------+
| <<>> | = <<<$PathTool>>>
*-----------------------+-------------------------------------------------------+
| <<>> | = <<<$StringUtils>>>
*-----------------------+-------------------------------------------------------+
| <<>> | = <<<$plexus>>> \
-| | plexus.lookup("org.apache.maven.Maven") = <<<$plexus.lookup("org.apache.maven.Maven")>>>
+| | <<>> = <<<$plexus.lookup("org.apache.maven.Maven")>>>
*-----------------------+-------------------------------------------------------+
* Maven Site Plugin
@@ -98,10 +87,10 @@ Doxia Site Renderer Velocity Context
*-----------------------+-------------------------------------------------------+
| <<>> | = <<<$outputEncoding>>>
*-----------------------+-------------------------------------------------------+
-| <<>> | = <<<$project>>>, \
+| <<>> | = <<<$StringUtils.replace($project, '\' , '\\')>>>, \
| | <<>> = <<<$project.version>>>
*-----------------------+-------------------------------------------------------+
-| <<>> | = <<<${property-project-version}>>>
+| <<>> | = <<<$context.get('property-project-version')>>>
*-----------------------+-------------------------------------------------------+
| (attributes) <<>> | = <<<${att1}>>>
*-----------------------+-------------------------------------------------------+
@@ -120,7 +109,7 @@ Doxia Site Renderer Velocity Context
| <<>> | = <<<$convert>>>
*-----------------------+-------------------------------------------------------+
| <<>> | = <<<$date>>> \
-| | <<< \$date.format('yyyy-MM-dd', \$currentDate) = $date.format('yyyy-MM-dd', $currentDate)>>>
+| | <<< \$date.get('d MMM yyyy')>>> = <<<$date.get('d MMM yyyy')>>>
*-----------------------+-------------------------------------------------------+
| <<>> | = <<<$display>>>
*-----------------------+-------------------------------------------------------+
@@ -130,7 +119,7 @@ Doxia Site Renderer Velocity Context
*-----------------------+-------------------------------------------------------+
| <<>> | = <<<$loop>>>
*-----------------------+-------------------------------------------------------+
-| << >> | = <<< \$link.relative('MyPage.vm') = >>><<<$link.relative('MyPage.vm')>>>
+| << >> | = <<< \$link.relative('MyPage.vm')>>> = <<<$link.relative('MyPage.vm')>>>
*-----------------------+-------------------------------------------------------+
| <<>> | = <<<$math>>>
*-----------------------+-------------------------------------------------------+
diff --git a/src/it/projects/doxia-formats/src/site/de/apt/index.apt b/src/it/projects/doxia-formats/src/site/de/apt/index.apt
new file mode 100644
index 00000000..5c71e325
--- /dev/null
+++ b/src/it/projects/doxia-formats/src/site/de/apt/index.apt
@@ -0,0 +1,36 @@
+ -----
+ Doxia-Formate Eigenschaft Titel
+ -----
+ Hervé Boutemy
+ Other Authors
+ -----
+ 2015-12-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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Velocity
+
+ Siehe {{{./velocity-context.html} Doxia Site Renderer Velocity Context Demo}}.
+
+ Siehe ebenfalls {{{./velocity-include-parse.html} Velocity #parse und #include Demo}}.
+
+Inhalt für verify.groovy
diff --git a/src/it/projects/doxia-formats/src/site/de/apt/velocity-context.apt.vm b/src/it/projects/doxia-formats/src/site/de/apt/velocity-context.apt.vm
new file mode 100644
index 00000000..e8c7a482
--- /dev/null
+++ b/src/it/projects/doxia-formats/src/site/de/apt/velocity-context.apt.vm
@@ -0,0 +1,143 @@
+ -----
+ Doxia Site Renderer Velocity Context
+ -----
+ Hervé Boutemy
+ -----
+ 2015-12-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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Doxia Site Renderer Velocity Context
+
+ Siehe {{{http://maven.apache.org/doxia/doxia-sitetools/doxia-site-renderer/} doxia-site-renderer}}.
+
+ Wir haben die folgenden Schlüssel im Kontext (automatisch extrahiert und sortiert):
+
+*-----------------------*-------------------------------------------------------*-----*
+|| Variable || class || value
+*-----------------------+-------------------------------------------------------+-----+
+#foreach( $key in $sorter.sort( $context.keys ) )
+#set( $value = $context.get($key) )
+| <<<$key>>> | <<<#if ($value)$value.class.name#else?#end>>> | #if ($key != "decoration" && $key != "site" && $key != "link")#if ($value)<<<$StringUtils.replace($value, '\' , '\\')>>>#end#end|
+*-----------------------+-------------------------------------------------------+-----+
+#end
+
+ Handgeschriebene Klassifikation:
+
+* DokumentenVariablen
+
+*------------------------*-------------------------------------------------------*
+|| Variable || Beispiele ||
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$alignedFileName>>>
+*------------------------+-------------------------------------------------------+
+| <<>> | <<>> = <<<$site.name>>>
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$currentFileName>>>
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$doxiaSiteRendererVersion>>>
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$locale>>>
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$publishDate>>>
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$relativePath>>>
+*------------------------+-------------------------------------------------------+
+| <<>> | = <<<$supportedLocales>>>
+*------------------------+-------------------------------------------------------+
+
+* Werkzeuge
+
+*-----------------------*-------------------------------------------------------*
+|| Variable || Beispiele ||
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$PathTool>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$StringUtils>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$plexus>>> \
+| | <<>> = <<<$plexus.lookup("org.apache.maven.Maven")>>>
+*-----------------------+-------------------------------------------------------+
+
+* Maven Site Plugin
+
+*-----------------------*-------------------------------------------------------*
+|| Variable || Beispiele ||
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$inputEncoding>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$outputEncoding>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$StringUtils.replace($project, '\' , '\\')>>>, \
+| | <<>> = <<<$project.version>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$context.get('property-project-version')>>>
+*-----------------------+-------------------------------------------------------+
+| (attributes) <<>> | = <<<${att1}>>>
+*-----------------------+-------------------------------------------------------+
+
+* Velocity GenericTools
+
+ Siehe {{{http://velocity.apache.org/tools/releases/2.0/generic.html} Velocity GenericTools Dokumentation}} für mehr Informationen:
+
+*-----------------------*-------------------------------------------------------*
+|| Variable || Beispiele ||
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$alternator>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$context>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$convert>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$date>>> \
+| | <<< \$date.get('d MMM yyyy')>>> = <<<$date.get('d MMM yyyy')>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$display>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$esc>>>, <<>> = <<<$esc.q>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$field>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$loop>>>
+*-----------------------+-------------------------------------------------------+
+| << >> | = <<< \$link.relative('MyPage.vm')>>> = <<<$link.relative('MyPage.vm')>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$math>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$number>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$render>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$text>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$sorter>>>
+*-----------------------+-------------------------------------------------------+
+| <<>> | = <<<$xml>>>
+*-----------------------+-------------------------------------------------------+
+
+* Velocity-Spezialwerkzeug in <<>> deklariert
+
+ <<>> = <<<$custom>>>
+
+ <<>> = <<<$custom.test()>>>
+
+Inhalt für verify.groovy
diff --git a/src/it/projects/doxia-formats/src/site/de/apt/velocity-include-parse.apt.vm b/src/it/projects/doxia-formats/src/site/de/apt/velocity-include-parse.apt.vm
new file mode 100644
index 00000000..f21c3ab4
--- /dev/null
+++ b/src/it/projects/doxia-formats/src/site/de/apt/velocity-include-parse.apt.vm
@@ -0,0 +1,45 @@
+ -----
+ Doxia Site Renderer Velocity ${esc.h}parse und ${esc.h}include
+ -----
+ Hervé Boutemy
+ -----
+ 2016-04-09
+ -----
+
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Doxia Site Renderer Velocity ${esc.h}parse und ${esc.h}include
+
+* ${esc.h}include
+
+#include( "velocity-include.txt" )
+
+* ${esc.h}parse
+
+#parse( "velocity-parse.txt" )
+
+* ${esc.h}include ../../../../pom.xml
+
++---------------+
+#include( "../../../../pom.xml" )
++---------------+
+
+Inhalt für verify.groovy
diff --git a/src/it/projects/doxia-formats/src/site/de/apt/velocity-include.txt b/src/it/projects/doxia-formats/src/site/de/apt/velocity-include.txt
new file mode 100644
index 00000000..3a57df61
--- /dev/null
+++ b/src/it/projects/doxia-formats/src/site/de/apt/velocity-include.txt
@@ -0,0 +1,23 @@
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+ <<>> content
+
+ Es werden keine Velocity-Ausdrücke interpretiert, wie z. B. #parse oder ## comment
diff --git a/src/it/projects/doxia-formats/src/site/de/apt/velocity-parse.txt b/src/it/projects/doxia-formats/src/site/de/apt/velocity-parse.txt
new file mode 100644
index 00000000..e304464f
--- /dev/null
+++ b/src/it/projects/doxia-formats/src/site/de/apt/velocity-parse.txt
@@ -0,0 +1,23 @@
+## 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.
+##
+## NOTE: For help with the syntax of this file, see:
+## http://maven.apache.org/doxia/references/apt-format.html
+
+ <<>> Inhalt
+
+## Verarbeitete Kommentare sind echte Kommentare
diff --git a/src/it/projects/doxia-formats/src/site/docbook/docbook.xml b/src/it/projects/doxia-formats/src/site/docbook/docbook.xml
deleted file mode 100644
index a5d77f24..00000000
--- a/src/it/projects/doxia-formats/src/site/docbook/docbook.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
-
-
- Your title here
-
-
- Your first name
- Your surname
-
- Your e-mail address
-
-
-
-
- 2002
- Your name
-
-
-
- Include an abstract of the article's contents here.
-
-
-
- Section 1
-
- blah blah blah
-
-
-
- Section 2
-
- Content for verify.groovy
-
-
-
diff --git a/src/it/projects/doxia-formats/src/site/markdown/markdown-macro.md b/src/it/projects/doxia-formats/src/site/markdown/markdown-macro.md
index 20c12a76..c871ea2f 100644
--- a/src/it/projects/doxia-formats/src/site/markdown/markdown-macro.md
+++ b/src/it/projects/doxia-formats/src/site/markdown/markdown-macro.md
@@ -18,17 +18,17 @@ under the License.
-->
Macros in Markdown
-----------------
+==================
-### TOC Macro
+## TOC Macro
-### Echo Macro
+## Echo Macro
-### Snippet Macro
+## Snippet Macro
diff --git a/src/it/projects/doxia-formats/src/site/markdown/markdown.md b/src/it/projects/doxia-formats/src/site/markdown/markdown.md
index 21c9d607..b0b103eb 100644
--- a/src/it/projects/doxia-formats/src/site/markdown/markdown.md
+++ b/src/it/projects/doxia-formats/src/site/markdown/markdown.md
@@ -1,3 +1,8 @@
+title: Markdown Title Metadata
+author: Author Metadata
+date: Date Metadata
+description: Markdown description metadata, not known from Doxia API as title, author and date are
+
-
+
org.apache.maven.skins
maven-fluido-skin
- 1.8
+ ${fluidoSkinVersion}
@@ -33,4 +33,13 @@ under the License.
true
-
+
+
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/doxia-formats/src/site/site_de.xml b/src/it/projects/doxia-formats/src/site/site_de.xml
new file mode 100644
index 00000000..e8cfc2e8
--- /dev/null
+++ b/src/it/projects/doxia-formats/src/site/site_de.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/doxia-formats/src/site/xdoc/xdoc.xml b/src/it/projects/doxia-formats/src/site/xdoc/xdoc.xml
index 0cdec6d5..109ffaa6 100644
--- a/src/it/projects/doxia-formats/src/site/xdoc/xdoc.xml
+++ b/src/it/projects/doxia-formats/src/site/xdoc/xdoc.xml
@@ -22,23 +22,25 @@
xsi:schemaLocation="http://maven.apache.org/xsd/xdoc-2.0.xsd">
- Title
+ Title (required)
Author
- Date
+ Author #2
+ Date (optional)
+
-
+
Paragraph 1, line 1. Paragraph 1, line 2.
Paragraph 2, line 1. Paragraph 2, line 2.
- Sub-sub-section title
- Sub-sub-sub-section
- Sub-sub-sub-sub-section
+ Sub-sub-section title
+ Sub-sub-sub-section
+ Sub-sub-sub-sub-section
List item 1.
diff --git a/src/it/projects/doxia-formats/src/site/xhtml/xhtml-macro.xhtml b/src/it/projects/doxia-formats/src/site/xhtml/xhtml-macro.xhtml
index 48c8480c..b6da8c5d 100644
--- a/src/it/projects/doxia-formats/src/site/xhtml/xhtml-macro.xhtml
+++ b/src/it/projects/doxia-formats/src/site/xhtml/xhtml-macro.xhtml
@@ -1,4 +1,4 @@
-
+
-Echo Macro
+Echo Macro
-Snippet Macro
+Snippet Macro
diff --git a/src/it/projects/doxia-formats/src/site/xhtml/xhtml.xhtml b/src/it/projects/doxia-formats/src/site/xhtml/xhtml.xhtml
index c2c0131c..14c6373d 100644
--- a/src/it/projects/doxia-formats/src/site/xhtml/xhtml.xhtml
+++ b/src/it/projects/doxia-formats/src/site/xhtml/xhtml.xhtml
@@ -1,4 +1,4 @@
-
+
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -29,4 +34,4 @@ under the License.
-
+
diff --git a/src/it/projects/empty-report-set/pom.xml b/src/it/projects/empty-report-set/pom.xml
index 1f0d5321..cc704686 100644
--- a/src/it/projects/empty-report-set/pom.xml
+++ b/src/it/projects/empty-report-set/pom.xml
@@ -46,7 +46,7 @@ under the License.
maven-project-info-reports-plugin
- 2.1.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/failure/invoker.properties b/src/it/projects/failure/invoker.properties
index 60377a75..064023ea 100644
--- a/src/it/projects/failure/invoker.properties
+++ b/src/it/projects/failure/invoker.properties
@@ -18,8 +18,6 @@
invoker.buildResult = failure
invoker.debug = false
-# --log-file option is only supported by Maven 3
-invoker.maven.version = 3.0+
invoker.goals.1 = --log-file report-plugin.log -DsiteOutputDirectory=target/site-report-plugin -Preport-plugin clean site
invoker.goals.2 = --log-file report-plugin-debug.log -DsiteOutputDirectory=target/site-report-plugin-debug -Preport-plugin clean site
invoker.debug.2 = true
diff --git a/src/it/projects/failure/pom.xml b/src/it/projects/failure/pom.xml
index b0008d45..a75d4cb4 100644
--- a/src/it/projects/failure/pom.xml
+++ b/src/it/projects/failure/pom.xml
@@ -42,7 +42,7 @@ under the License.
junit
junit
- 3.8.2
+ 4.13.2
test
diff --git a/src/it/projects/full-reporting/invoker.properties b/src/it/projects/full-reporting/invoker.properties
index 84ce0624..7327407c 100644
--- a/src/it/projects/full-reporting/invoker.properties
+++ b/src/it/projects/full-reporting/invoker.properties
@@ -16,5 +16,3 @@
# under the License.
invoker.profiles=reporting
-# see MNG-5140
-invoker.maven.version = 2.2.2+
\ No newline at end of file
diff --git a/src/it/projects/full-reporting/pom.xml b/src/it/projects/full-reporting/pom.xml
index 25e958e8..7f3ae5fa 100644
--- a/src/it/projects/full-reporting/pom.xml
+++ b/src/it/projects/full-reporting/pom.xml
@@ -1,5 +1,4 @@
-
-
-
+
4.0.0
org.apache.maven
maven-parent
- 34
+ 39
org.apache.maven.plugins.site.its
@@ -43,7 +40,7 @@ under the License.
junit
junit
- 3.8.2
+ 4.13.2
test
@@ -69,9 +66,13 @@ under the License.
org.apache.maven.plugins
maven-checkstyle-plugin
@checkstylePluginVersion@
-
- sun_checks.xml
-
+
+
+ org.apache.maven.shared
+ maven-shared-resources
+ 5
+
+
org.apache.maven.plugins
@@ -96,7 +97,7 @@ under the License.
false
false
-
+
index
diff --git a/src/it/projects/full-reporting/src/main/java/org/apache/maven/plugins/site/its/App.java b/src/it/projects/full-reporting/src/main/java/org/apache/maven/plugins/site/its/App.java
index e9543294..9f3658ec 100644
--- a/src/it/projects/full-reporting/src/main/java/org/apache/maven/plugins/site/its/App.java
+++ b/src/it/projects/full-reporting/src/main/java/org/apache/maven/plugins/site/its/App.java
@@ -1,5 +1,3 @@
-package org.apache.maven.plugins.site.its;
-
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -18,19 +16,24 @@
* specific language governing permissions and limitations
* under the License.
*/
+package org.apache.maven.plugins.site.its;
/**
* Hello world!
*
*/
-public class App
-{
- public static void main( String[] args )
- {
- System.out.println( "Hello World!" );
+public class App {
+ /**
+ * main
+ */
+ public static void main(String[] args) {
+ System.out.println("Hello World!");
}
- public void foo(){
- System.out.println( "foo" );
+ /**
+ * foo
+ */
+ public void foo() {
+ System.out.println("foo");
}
}
diff --git a/src/it/projects/full-reporting/src/main/java/org/apache/maven/plugins/site/its/App2.java b/src/it/projects/full-reporting/src/main/java/org/apache/maven/plugins/site/its/App2.java
index 7fd9f925..2682f829 100644
--- a/src/it/projects/full-reporting/src/main/java/org/apache/maven/plugins/site/its/App2.java
+++ b/src/it/projects/full-reporting/src/main/java/org/apache/maven/plugins/site/its/App2.java
@@ -1,5 +1,3 @@
-package org.apache.maven.plugins.site.its;
-
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -18,19 +16,24 @@
* specific language governing permissions and limitations
* under the License.
*/
+package org.apache.maven.plugins.site.its;
/**
* Hello world!
*
*/
-public class App2
-{
- public static void main( String[] args )
- {
- System.out.println( "Hello World!" );
+public class App2 {
+ /**
+ * main
+ */
+ public static void main(String[] args) {
+ System.out.println("Hello World!");
}
- public void foo(){
- System.out.println( "foo" );
+ /**
+ * foo
+ */
+ public void foo() {
+ System.out.println("foo");
}
}
diff --git a/src/it/projects/full-reporting/src/site/apt/index.apt.vm b/src/it/projects/full-reporting/src/site/apt/index.apt.vm
index def785c8..90c9e7d3 100644
--- a/src/it/projects/full-reporting/src/site/apt/index.apt.vm
+++ b/src/it/projects/full-reporting/src/site/apt/index.apt.vm
@@ -28,7 +28,7 @@
Velocity processing
- See doxia-siterendering: site decoration and documents with file names ending in <<<.vm>>> are processed by Velocity.
+ See doxia-siterendering: site and documents with file names ending in <<<.vm>>> are processed by Velocity.
The velocity context defines some variables:
@@ -45,8 +45,6 @@ Velocity processing
*---------------------------------+--------------------+-------------------------------+
| <<>> | <<>> | $bodyContent |
*---------------------------------+--------------------+-------------------------------+
-| <<>> | {{{../doxia-decoration-model/apidocs/org/apache/maven/doxia/site/decoration/DecorationModel.html}<<>>}} | $decoration.name |
-*---------------------------------+--------------------+-------------------------------+
| <<>> | <<>> | $dateCreation |
*---------------------------------+--------------------+-------------------------------+
| <<>> | <<>> | $dateRevision |
@@ -63,6 +61,8 @@ Velocity processing
*---------------------------------+--------------------+-------------------------------+
| <<>> | <<>>> | $supportedLocales |
*---------------------------------+--------------------+-------------------------------+
+| <<>> | {{{../doxia-site-model/apidocs/org/apache/maven/doxia/site/SiteModel.html}<<>>}} | $site.name |
+*---------------------------------+--------------------+-------------------------------+
| | | Properties defined by caller: see below for properties defined by <<>> |
*---------------------------------+--------------------+-------------------------------+
| <<>> | {{{http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/PathTool.html}<<>>}} | $PathTool |
diff --git a/src/it/projects/full-reporting/src/test/java/org/apache/maven/plugins/site/its/AppTest.java b/src/it/projects/full-reporting/src/test/java/org/apache/maven/plugins/site/its/AppTest.java
index b5d2d84c..cddd1aac 100644
--- a/src/it/projects/full-reporting/src/test/java/org/apache/maven/plugins/site/its/AppTest.java
+++ b/src/it/projects/full-reporting/src/test/java/org/apache/maven/plugins/site/its/AppTest.java
@@ -1,5 +1,3 @@
-package org.apache.maven.plugins.site.its;
-
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -8,9 +6,9 @@
* 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
@@ -18,6 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
+package org.apache.maven.plugins.site.its;
import junit.framework.Test;
import junit.framework.TestCase;
@@ -26,38 +25,33 @@
/**
* Unit test for simple App.
*/
-public class AppTest
- extends TestCase
-{
+public class AppTest extends TestCase {
/**
* Create the test case
*
* @param testName name of the test case
*/
- public AppTest( String testName )
- {
- super( testName );
+ public AppTest(String testName) {
+ super(testName);
}
/**
* @return the suite of tests being tested
*/
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
+ public static Test suite() {
+ return new TestSuite(AppTest.class);
}
/**
* Rigourous Test :-)
*/
- public void testApp()
- {
- assertTrue( true );
+ public void testApp() {
+ assertTrue(true);
}
-
+
/*
public void testFailed()
{
assertTrue( false );
- } */
+ } */
}
diff --git a/src/it/projects/full-reporting/verify.groovy b/src/it/projects/full-reporting/verify.groovy
index 7c08f59f..deaa154e 100644
--- a/src/it/projects/full-reporting/verify.groovy
+++ b/src/it/projects/full-reporting/verify.groovy
@@ -42,7 +42,7 @@ assert new File( sitedir, 'team.html' ).exists();
assert new File( sitedir, 'dependencies.html' ).exists();
content = new File( sitedir, 'dependencies.html' ).text;
-assert content.contains( 'junit:junit:jar:3.8.2' );
+assert content.contains( 'junit:junit:jar:4.13.2' );
// check reports order
String[] reports = [ 'index', // index
@@ -92,4 +92,4 @@ for ( String report : reports )
previousReportLink = link;
}
-return true;
\ No newline at end of file
+return true;
diff --git a/src/it/projects/inheritance-interpolation/child/src/site/apt/index.apt b/src/it/projects/inheritance-interpolation/child/src/site/apt/index.apt
index a79b4846..8cddde2a 100644
--- a/src/it/projects/inheritance-interpolation/child/src/site/apt/index.apt
+++ b/src/it/projects/inheritance-interpolation/child/src/site/apt/index.apt
@@ -1,5 +1,5 @@
-----
- POMs and Site Decoration Model Inheritance and Interpolation
+ POMs and Site Model Inheritance and Interpolation
-----
Hervé Boutemy
-----
@@ -26,8 +26,8 @@
~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/doxia/references/apt-format.html
-POMs and Site Decoration Model Inheritance and Interpolation
+POMs and Site Model Inheritance and Interpolation
* {{{./pom.html} POM Inheritance and Interpolation}}
-
- * Site Decoration Model Inheritance and Interpolation: see this page
+
+ * Site Model Inheritance and Interpolation: see this page
diff --git a/src/it/projects/inheritance-interpolation/pom.xml b/src/it/projects/inheritance-interpolation/pom.xml
index 8ad5f6c9..420b44c4 100644
--- a/src/it/projects/inheritance-interpolation/pom.xml
+++ b/src/it/projects/inheritance-interpolation/pom.xml
@@ -28,13 +28,17 @@ under the License.
1.0-SNAPSHOT
pom
- POM and Site Decoration Model inheritance and interpolation tests
+ POM and Site Model inheritance and interpolation tests
this POM is reactor linking to reactor-accessible poms: child and reactor-parent
relative-parent is not expected to be in reactor, but accessible from relative path
repo-parent is expected to be only available in repo (installed before execution)
+
+ @fluidoSkinVersion@
+
+
reactor-parent
child
diff --git a/src/it/projects/inheritance-interpolation/reactor-parent/src/site/apt/index.apt b/src/it/projects/inheritance-interpolation/reactor-parent/src/site/apt/index.apt
index 5cf71873..6c4ae757 100644
--- a/src/it/projects/inheritance-interpolation/reactor-parent/src/site/apt/index.apt
+++ b/src/it/projects/inheritance-interpolation/reactor-parent/src/site/apt/index.apt
@@ -1,5 +1,5 @@
-----
- Site Decoration Model Inheritance and Interpolation
+ Site Model Inheritance and Interpolation
-----
Hervé Boutemy
-----
@@ -26,7 +26,7 @@
~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/doxia/references/apt-format.html
-Site Decoration Model Inheritance and Interpolation
+Site Model Inheritance and Interpolation
Site name inherited from repo-parent then interpolated: once interpolated,
expression from repo-parent should match current artifactId.
diff --git a/src/it/projects/inheritance-interpolation/repo-parent/pom.xml b/src/it/projects/inheritance-interpolation/repo-parent/pom.xml
index 7494a6c8..eb69a36d 100644
--- a/src/it/projects/inheritance-interpolation/repo-parent/pom.xml
+++ b/src/it/projects/inheritance-interpolation/repo-parent/pom.xml
@@ -41,6 +41,7 @@ under the License.
scp://from.repo/dist
repo-parent-id
default-repository-base-from-repo-parent
+ 2.0.0-M3
@@ -55,7 +56,7 @@ under the License.
org.apache.maven.plugins
maven-site-plugin
- 3.4
+ 4.0.0-M5
false
diff --git a/src/it/projects/inheritance-interpolation/repo-parent/src/site/site.xml b/src/it/projects/inheritance-interpolation/repo-parent/src/site/site.xml
index 403ea481..1f5afb88 100644
--- a/src/it/projects/inheritance-interpolation/repo-parent/src/site/site.xml
+++ b/src/it/projects/inheritance-interpolation/repo-parent/src/site/site.xml
@@ -19,12 +19,16 @@ specific language governing permissions and limitations
under the License.
-->
-
-
- project.artifactId = ${project.artifactId}
-
+
+
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -32,4 +36,4 @@ under the License.
-
+
diff --git a/src/it/projects/inheritance-interpolation/verify.groovy b/src/it/projects/inheritance-interpolation/verify.groovy
index 340c5c8c..6a9c91b1 100644
--- a/src/it/projects/inheritance-interpolation/verify.groovy
+++ b/src/it/projects/inheritance-interpolation/verify.groovy
@@ -33,7 +33,7 @@ assert content.contains( '<<>>' ); // reactor-parent
assert content.contains( '<<>>' ); // child
-// Site Decoration Model inheritance+interpolation
+// Site Model inheritance+interpolation
childContent = new File( basedir, 'child/target/site/index.html' ).text;
assert childContent.contains( 'project.artifactId = child' );
diff --git a/src/it/projects/inheritedMenus/parentAsRef/childAsRef/grandChildAsRef/src/site/site.xml b/src/it/projects/inheritedMenus/parentAsRef/childAsRef/grandChildAsRef/src/site/site.xml
index cde13821..1ffad429 100644
--- a/src/it/projects/inheritedMenus/parentAsRef/childAsRef/grandChildAsRef/src/site/site.xml
+++ b/src/it/projects/inheritedMenus/parentAsRef/childAsRef/grandChildAsRef/src/site/site.xml
@@ -19,7 +19,9 @@ specific language governing permissions and limitations
under the License.
-->
-
+
@@ -32,4 +34,4 @@ under the License.
-
+
diff --git a/src/it/projects/inheritedMenus/parentAsRef/childAsRef/src/site/site.xml b/src/it/projects/inheritedMenus/parentAsRef/childAsRef/src/site/site.xml
index 8d91fff9..9d6c16d3 100644
--- a/src/it/projects/inheritedMenus/parentAsRef/childAsRef/src/site/site.xml
+++ b/src/it/projects/inheritedMenus/parentAsRef/childAsRef/src/site/site.xml
@@ -19,7 +19,9 @@ specific language governing permissions and limitations
under the License.
-->
-
+
@@ -32,4 +34,4 @@ under the License.
-
+
diff --git a/src/it/projects/inheritedMenus/parentAsRef/pom.xml b/src/it/projects/inheritedMenus/parentAsRef/pom.xml
index a8bc396f..ebda0959 100644
--- a/src/it/projects/inheritedMenus/parentAsRef/pom.xml
+++ b/src/it/projects/inheritedMenus/parentAsRef/pom.xml
@@ -30,6 +30,10 @@ under the License.
Parent As Ref
http://example.com/
+
+ @fluidoSkinVersion@
+
+
website
@@ -55,7 +59,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/inheritedMenus/parentAsRef/src/site/site.xml b/src/it/projects/inheritedMenus/parentAsRef/src/site/site.xml
index caa52732..e705d8a4 100644
--- a/src/it/projects/inheritedMenus/parentAsRef/src/site/site.xml
+++ b/src/it/projects/inheritedMenus/parentAsRef/src/site/site.xml
@@ -18,8 +18,14 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
-
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -44,4 +50,4 @@ under the License.
-
+
diff --git a/src/it/projects/inheritedMenus/parentNotAsRef/childNotAsRef/grandChildNotAsRef/src/site/site.xml b/src/it/projects/inheritedMenus/parentNotAsRef/childNotAsRef/grandChildNotAsRef/src/site/site.xml
index a7f0afce..29b4547b 100644
--- a/src/it/projects/inheritedMenus/parentNotAsRef/childNotAsRef/grandChildNotAsRef/src/site/site.xml
+++ b/src/it/projects/inheritedMenus/parentNotAsRef/childNotAsRef/grandChildNotAsRef/src/site/site.xml
@@ -19,7 +19,14 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -32,4 +39,4 @@ under the License.
-
+
diff --git a/src/it/projects/inheritedMenus/parentNotAsRef/childNotAsRef/src/site/site.xml b/src/it/projects/inheritedMenus/parentNotAsRef/childNotAsRef/src/site/site.xml
index 5a4bb6b2..cba34964 100644
--- a/src/it/projects/inheritedMenus/parentNotAsRef/childNotAsRef/src/site/site.xml
+++ b/src/it/projects/inheritedMenus/parentNotAsRef/childNotAsRef/src/site/site.xml
@@ -18,8 +18,14 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
-
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -32,4 +38,4 @@ under the License.
-
+
diff --git a/src/it/projects/inheritedMenus/parentNotAsRef/pom.xml b/src/it/projects/inheritedMenus/parentNotAsRef/pom.xml
index 56f23e29..cc019b4c 100644
--- a/src/it/projects/inheritedMenus/parentNotAsRef/pom.xml
+++ b/src/it/projects/inheritedMenus/parentNotAsRef/pom.xml
@@ -30,6 +30,10 @@ under the License.
Parent Not As Ref
http://example.com/
+
+ @fluidoSkinVersion@
+
+
website
@@ -55,7 +59,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/inheritedMenus/parentNotAsRef/src/site/site.xml b/src/it/projects/inheritedMenus/parentNotAsRef/src/site/site.xml
index 0007fb58..7e72915a 100644
--- a/src/it/projects/inheritedMenus/parentNotAsRef/src/site/site.xml
+++ b/src/it/projects/inheritedMenus/parentNotAsRef/src/site/site.xml
@@ -19,7 +19,14 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
@@ -44,4 +51,4 @@ under the License.
-
+
diff --git a/src/it/projects/inheritedMenus/verify.bsh b/src/it/projects/inheritedMenus/verify.bsh
index c4494500..dd321400 100644
--- a/src/it/projects/inheritedMenus/verify.bsh
+++ b/src/it/projects/inheritedMenus/verify.bsh
@@ -47,10 +47,10 @@ try
}
String content = FileUtils.fileRead( parentIndex, "UTF-8" );
- int index1 = content.indexOf( "Parent Relative Home Inherited " );
- int index2 = content.indexOf( "Parent Relative Home Inherited with dot " );
- int index3 = content.indexOf( "Parent Absolute Home Inherited " );
- int index4 = content.indexOf( "Parent Absolute Home Inherited with index " );
+ int index1 = content.indexOf( "Parent Relative Home Inherited " );
+ int index2 = content.indexOf( "Parent Relative Home Inherited with dot " );
+ int index3 = content.indexOf( "Parent Absolute Home Inherited " );
+ int index4 = content.indexOf( "Parent Absolute Home Inherited with index " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
@@ -58,10 +58,10 @@ try
result = false;
}
- index1 = content.indexOf( "Parent Relative Home Local " );
- index2 = content.indexOf( "Parent Relative Home Local with dot " );
- index3 = content.indexOf( "Parent Absolute Home Local " );
- index4 = content.indexOf( "Parent Absolute Home Local with index " );
+ index1 = content.indexOf( "Parent Relative Home Local " );
+ index2 = content.indexOf( "Parent Relative Home Local with dot " );
+ index3 = content.indexOf( "Parent Absolute Home Local " );
+ index4 = content.indexOf( "Parent Absolute Home Local with index " );
if ( index1 < 0 || index2 < 0 || index4 < 0 )
{
@@ -69,9 +69,9 @@ try
result = false;
}
- index1 = content.indexOf( "Child Not As Ref " );
- index2 = content.indexOf( "Project Information " );
- index3 = content.indexOf( "Parent Project " );
+ index1 = content.indexOf( "Child Not As Ref " );
+ index2 = content.indexOf( " Project Information Parent Project " );
if ( index1 < 0 || index2 < 0 || index3 >= 0 )
{
@@ -105,10 +105,10 @@ try
}
content = FileUtils.fileRead( childIndex, "UTF-8" );
- index1 = content.indexOf( "Parent Relative Home Inherited " );
- index2 = content.indexOf( "Parent Relative Home Inherited with dot " );
- index3 = content.indexOf( "Parent Absolute Home Inherited " );
- index4 = content.indexOf( "Parent Absolute Home Inherited with index " );
+ index1 = content.indexOf( "Parent Relative Home Inherited " );
+ index2 = content.indexOf( "Parent Relative Home Inherited with dot " );
+ index3 = content.indexOf( "Parent Absolute Home Inherited " );
+ index4 = content.indexOf( "Parent Absolute Home Inherited with index " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
@@ -116,10 +116,10 @@ try
result = false;
}
- index1 = content.indexOf( "Child Relative Home Local " );
- index2 = content.indexOf( "Child Relative Home Local with dot " );
- index3 = content.indexOf( "Child Absolute Home Local " );
- index4 = content.indexOf( "Child Absolute Home Local with index " );
+ index1 = content.indexOf( "Child Relative Home Local " );
+ index2 = content.indexOf( "Child Relative Home Local with dot " );
+ index3 = content.indexOf( "Child Absolute Home Local " );
+ index4 = content.indexOf( "Child Absolute Home Local with index " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
@@ -127,8 +127,8 @@ try
result = false;
}
- index1 = content.indexOf( "GrandChild Not As Ref " );
- index2 = content.indexOf( "Parent Not As Ref " );
+ index1 = content.indexOf( "GrandChild Not As Ref " );
+ index2 = content.indexOf( "Parent Not As Ref " );
if ( index1 < 0 || index2 < 0 )
{
@@ -162,10 +162,10 @@ try
}
content = FileUtils.fileRead( grandChildIndex, "UTF-8" );
- index1 = content.indexOf( "Parent Relative Home Inherited " );
- index2 = content.indexOf( "Parent Relative Home Inherited with dot " );
- index3 = content.indexOf( "Parent Absolute Home Inherited " );
- index4 = content.indexOf( "Parent Absolute Home Inherited with index " );
+ index1 = content.indexOf( "a href=\"../../index.html\">Parent Relative Home Inherited" );
+ index2 = content.indexOf( "Parent Relative Home Inherited with dot " );
+ index3 = content.indexOf( "Parent Absolute Home Inherited " );
+ index4 = content.indexOf( "Parent Absolute Home Inherited with index " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
@@ -173,10 +173,10 @@ try
result = false;
}
- index1 = content.indexOf( "Grand Child Relative Home Local " );
- index2 = content.indexOf( "Grand Child Relative Home Local with dot " );
- index3 = content.indexOf( "Grand Child Absolute Home Local " );
- index4 = content.indexOf( "Grand Child Absolute Home Local with index " );
+ index1 = content.indexOf( "Grand Child Relative Home Local " );
+ index2 = content.indexOf( "Grand Child Relative Home Local with dot " );
+ index3 = content.indexOf( "Grand Child Absolute Home Local " );
+ index4 = content.indexOf( "Grand Child Absolute Home Local with index " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
@@ -184,7 +184,7 @@ try
result = false;
}
- index1 = content.indexOf( "Child Not As Ref " );
+ index1 = content.indexOf( "Child Not As Ref " );
if ( index1 < 0 )
{
diff --git a/src/it/projects/inheritedReports/child/pom.xml b/src/it/projects/inheritedReports/child/pom.xml
index c5d7de3d..771e2106 100644
--- a/src/it/projects/inheritedReports/child/pom.xml
+++ b/src/it/projects/inheritedReports/child/pom.xml
@@ -40,7 +40,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/inheritedReports/invoker.properties b/src/it/projects/inheritedReports/invoker.properties
index c51c2994..978b68af 100644
--- a/src/it/projects/inheritedReports/invoker.properties
+++ b/src/it/projects/inheritedReports/invoker.properties
@@ -14,9 +14,3 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
-# Maven 2 & 3 don't handle the test the same way:
-# - Maven 2 adds report: this is the tested behaviour
-# - until 3.0.3, Maven 3 replaces report: the test fails
-# - since 3.0.4, Maven 3 has the same behaviour than Maven 2, as a side effect of MNG-5155
-invoker.maven.version = 3.0-,3.0.4+
diff --git a/src/it/projects/inheritedReports/pom.xml b/src/it/projects/inheritedReports/pom.xml
index 5ea67f35..d87a307b 100644
--- a/src/it/projects/inheritedReports/pom.xml
+++ b/src/it/projects/inheritedReports/pom.xml
@@ -47,7 +47,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/inheritedReports/verify.bsh b/src/it/projects/inheritedReports/verify.bsh
index 3877ef16..7cc6d948 100644
--- a/src/it/projects/inheritedReports/verify.bsh
+++ b/src/it/projects/inheritedReports/verify.bsh
@@ -44,10 +44,10 @@ try
result = false;
}
- File childIndex = new File( childSiteDirectory, "project-summary.html" );
- if ( !childIndex.exists() )
+ File childSummary = new File( childSiteDirectory, "summary.html" );
+ if ( !childSummary.exists() )
{
- System.err.println( "no project-summary file in child." );
+ System.err.println( "no summary file in child." );
result = false;
}
diff --git a/src/it/projects/it-plugin-test/pom.xml b/src/it/projects/it-plugin-test/pom.xml
index 550019eb..d141345e 100644
--- a/src/it/projects/it-plugin-test/pom.xml
+++ b/src/it/projects/it-plugin-test/pom.xml
@@ -35,12 +35,12 @@ under the License.
org.apache.maven
maven-plugin-api
- 3.0
+ @mavenVersion@
junit
junit
- 3.8.2
+ 4.13.2
test
@@ -63,7 +63,7 @@ under the License.
org.apache.maven.plugins
maven-plugin-plugin
- 2.5.1
+ @mavenPluginPluginVersion@
diff --git a/src/it/projects/new-configuration/invoker.properties b/src/it/projects/new-configuration/invoker.properties
index 5fcde54e..978b68af 100644
--- a/src/it/projects/new-configuration/invoker.properties
+++ b/src/it/projects/new-configuration/invoker.properties
@@ -14,5 +14,3 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
-invoker.maven.version = 3.0+
diff --git a/src/it/projects/new-configuration/pom.xml b/src/it/projects/new-configuration/pom.xml
index f5ab9031..f9f1583b 100644
--- a/src/it/projects/new-configuration/pom.xml
+++ b/src/it/projects/new-configuration/pom.xml
@@ -35,12 +35,12 @@ under the License.
org.apache.maven
maven-plugin-api
- 3.0
+ @mavenVersion@
junit
junit
- 3.8.2
+ 4.13.2
test
@@ -56,7 +56,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.2
+ @projectInfoReportsPluginVersion@
false
false
@@ -71,7 +71,7 @@ under the License.
index
-
+
org.apache.maven.plugins
@@ -82,7 +82,7 @@ under the License.
org.apache.maven.plugin-tools
maven-plugin-tools-javadoc
- 3.2
+ @mavenPluginPluginVersion@
@@ -99,7 +99,7 @@ under the License.
org.apache.maven.plugins
maven-plugin-plugin
- 2.5.1
+ @mavenPluginPluginVersion@
diff --git a/src/it/projects/no-version/pom.xml b/src/it/projects/no-version/pom.xml
index b29960f6..26f1e209 100644
--- a/src/it/projects/no-version/pom.xml
+++ b/src/it/projects/no-version/pom.xml
@@ -36,7 +36,7 @@ under the License.
junit
junit
- 3.8.2
+ 4.13.2
test
@@ -51,7 +51,7 @@ under the License.
org.apache.maven.plugins
maven-surefire-report-plugin
- 2.4.3
+ @surefirePluginVersion@
diff --git a/src/it/projects/publishDate/pom.xml b/src/it/projects/publishDate/pom.xml
new file mode 100644
index 00000000..ee953711
--- /dev/null
+++ b/src/it/projects/publishDate/pom.xml
@@ -0,0 +1,64 @@
+
+
+
+
+
+ 4.0.0
+ org.apache.maven.plugins.site.its
+ publishDate
+ 1.0-SNAPSHOT
+ jar
+
+ maven-site-plugin IT: publish date
+ check that publish date is populated from 'project.build.outputTimestamp'
+ http://maven.apache.org
+
+
+ @projectInfoReportsPluginVersion@
+ 2000-01-01T00:00:00Z
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ @project.version@
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-project-info-reports-plugin
+ @projectInfoReportsPluginVersion@
+
+
+
+ index
+
+
+
+
+
+
+
diff --git a/src/it/projects/publishDate/verify.groovy b/src/it/projects/publishDate/verify.groovy
new file mode 100644
index 00000000..af6a09b0
--- /dev/null
+++ b/src/it/projects/publishDate/verify.groovy
@@ -0,0 +1,24 @@
+
+/*
+ * 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.
+ */
+
+sitedir = new File( basedir, 'target/site' );
+index = new File( sitedir, 'index.html' );
+assert index.exists();
+assert index.getText().contains( '
Last Published: 2000-01-01' );
diff --git a/src/it/projects/reportConfig/invoker.properties b/src/it/projects/reportConfig/invoker.properties
index 228aa641..978b68af 100644
--- a/src/it/projects/reportConfig/invoker.properties
+++ b/src/it/projects/reportConfig/invoker.properties
@@ -14,5 +14,3 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
-invoker.maven.version = 3.0+
\ No newline at end of file
diff --git a/src/it/projects/resources/pom.xml b/src/it/projects/resources/pom.xml
index c472248f..81d8a666 100644
--- a/src/it/projects/resources/pom.xml
+++ b/src/it/projects/resources/pom.xml
@@ -53,7 +53,7 @@ under the License.
maven-antrun-plugin
- 1.7
+ 3.1.0
pre-site
diff --git a/src/it/projects/site-attach-descriptor/child/src/site/site.xml b/src/it/projects/site-attach-descriptor/child/src/site/site.xml
index 9e7b8b8b..ec9b2dfe 100644
--- a/src/it/projects/site-attach-descriptor/child/src/site/site.xml
+++ b/src/it/projects/site-attach-descriptor/child/src/site/site.xml
@@ -19,7 +19,12 @@ specific language governing permissions and limitations
under the License.
-->
-
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
diff --git a/src/it/projects/site-attach-descriptor/pom.xml b/src/it/projects/site-attach-descriptor/pom.xml
index db1475cf..9461ea76 100644
--- a/src/it/projects/site-attach-descriptor/pom.xml
+++ b/src/it/projects/site-attach-descriptor/pom.xml
@@ -37,8 +37,9 @@ under the License.
- 3.0.5
+ @mavenVersion@
UTF-8
+ @fluidoSkinVersion@
@@ -59,7 +60,7 @@ under the License.
maven-deploy-plugin
- 2.5
+ 3.1.0
@@ -68,7 +69,7 @@ under the License.
maven-site-plugin
@project.version@
- en,sv
+ default,en,sv
@@ -87,7 +88,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-attach-descriptor/src/site/site.xml b/src/it/projects/site-attach-descriptor/src/site/site.xml
index 2cfb4865..9885790c 100644
--- a/src/it/projects/site-attach-descriptor/src/site/site.xml
+++ b/src/it/projects/site-attach-descriptor/src/site/site.xml
@@ -19,15 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
org.apache.maven.skins
- maven-stylus-skin
- 1.5
+ maven-fluido-skin
+ ${fluidoSkinVersion}
@@ -41,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-attach-descriptor/src/site/site_sv.xml b/src/it/projects/site-attach-descriptor/src/site/site_sv.xml
index ceb8269e..a76f6846 100644
--- a/src/it/projects/site-attach-descriptor/src/site/site_sv.xml
+++ b/src/it/projects/site-attach-descriptor/src/site/site_sv.xml
@@ -19,15 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
org.apache.maven.skins
- maven-stylus-skin
- 1.5
+ maven-fluido-skin
+ ${fluidoSkinVersion}
@@ -41,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-deploy/pom.xml b/src/it/projects/site-deploy/pom.xml
index 163090d5..6beb9ec1 100644
--- a/src/it/projects/site-deploy/pom.xml
+++ b/src/it/projects/site-deploy/pom.xml
@@ -32,8 +32,9 @@ under the License.
site-deploy IT
- 3.0.5
+ @mavenVersion@
UTF-8
+ @fluidoSkinVersion@
@@ -58,7 +59,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-deploy/src/site/site.xml b/src/it/projects/site-deploy/src/site/site.xml
index 2cfb4865..9885790c 100644
--- a/src/it/projects/site-deploy/src/site/site.xml
+++ b/src/it/projects/site-deploy/src/site/site.xml
@@ -19,15 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
org.apache.maven.skins
- maven-stylus-skin
- 1.5
+ maven-fluido-skin
+ ${fluidoSkinVersion}
@@ -41,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-deploy/verify.bsh b/src/it/projects/site-deploy/verify.bsh
index 0b822a86..5fdf251a 100644
--- a/src/it/projects/site-deploy/verify.bsh
+++ b/src/it/projects/site-deploy/verify.bsh
@@ -65,10 +65,10 @@ try
return false;
}
String downloadContent = FileUtils.fileRead( download, "UTF-8" );
- int indexOf = downloadContent.indexOf( "Download Maven 3.0.5" );
+ int indexOf = downloadContent.indexOf( "Download Maven 3.2.5" );
if ( indexOf < 0 )
{
- System.err.println( "download.html doesn't contain Download Maven 3.0.5" );
+ System.err.println( "download.html doesn't contain Download Maven 3.2.5" );
return false;
}
}
diff --git a/src/it/projects/site-inheritance/aggregator/pom.xml b/src/it/projects/site-inheritance/aggregator/pom.xml
index 8f88c3ce..88fa2587 100644
--- a/src/it/projects/site-inheritance/aggregator/pom.xml
+++ b/src/it/projects/site-inheritance/aggregator/pom.xml
@@ -56,7 +56,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-inheritance/child_and_module/src/site/site.xml b/src/it/projects/site-inheritance/child_and_module/src/site/site.xml
index f0862cce..55aebeda 100644
--- a/src/it/projects/site-inheritance/child_and_module/src/site/site.xml
+++ b/src/it/projects/site-inheritance/child_and_module/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
@@ -41,4 +48,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-inheritance/inheriting_child/src/site/site.xml b/src/it/projects/site-inheritance/inheriting_child/src/site/site.xml
index f0862cce..55aebeda 100644
--- a/src/it/projects/site-inheritance/inheriting_child/src/site/site.xml
+++ b/src/it/projects/site-inheritance/inheriting_child/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
@@ -41,4 +48,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-inheritance/module/pom.xml b/src/it/projects/site-inheritance/module/pom.xml
index 431ea1da..8e7370f7 100644
--- a/src/it/projects/site-inheritance/module/pom.xml
+++ b/src/it/projects/site-inheritance/module/pom.xml
@@ -30,6 +30,11 @@ under the License.
Module
http://webhost.company.com/www/website/module
+
+ UTF-8
+ @fluidoSkinVersion@
+
+
website
@@ -54,7 +59,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
@@ -70,7 +75,4 @@ under the License.
../sub_module
-
- UTF-8
-
diff --git a/src/it/projects/site-inheritance/module/src/site/site.xml b/src/it/projects/site-inheritance/module/src/site/site.xml
index d0986336..181146b5 100644
--- a/src/it/projects/site-inheritance/module/src/site/site.xml
+++ b/src/it/projects/site-inheritance/module/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
@@ -42,4 +49,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-inheritance/parent/pom.xml b/src/it/projects/site-inheritance/parent/pom.xml
index f62ccdab..78f89916 100644
--- a/src/it/projects/site-inheritance/parent/pom.xml
+++ b/src/it/projects/site-inheritance/parent/pom.xml
@@ -30,6 +30,10 @@ under the License.
Parent
http://webhost.company.com/
+
+ @fluidoSkinVersion@
+
+
website
@@ -56,7 +60,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-inheritance/parent/src/site/site.xml b/src/it/projects/site-inheritance/parent/src/site/site.xml
index 35c2e891..3db4d936 100644
--- a/src/it/projects/site-inheritance/parent/src/site/site.xml
+++ b/src/it/projects/site-inheritance/parent/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
@@ -41,4 +48,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-inheritance/pom.xml b/src/it/projects/site-inheritance/pom.xml
index c06ed59a..f01b8c67 100644
--- a/src/it/projects/site-inheritance/pom.xml
+++ b/src/it/projects/site-inheritance/pom.xml
@@ -30,6 +30,10 @@ under the License.
Top
http://webhost.company.com/junk/
+
+ @fluidoSkinVersion@
+
+
website
@@ -56,7 +60,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-inheritance/sub_module/src/site/site.xml b/src/it/projects/site-inheritance/sub_module/src/site/site.xml
index 31b3d42e..2dd1812e 100644
--- a/src/it/projects/site-inheritance/sub_module/src/site/site.xml
+++ b/src/it/projects/site-inheritance/sub_module/src/site/site.xml
@@ -19,8 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
@@ -41,4 +48,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-inheritance/verify.bsh b/src/it/projects/site-inheritance/verify.bsh
index 34ddd995..2381bfec 100644
--- a/src/it/projects/site-inheritance/verify.bsh
+++ b/src/it/projects/site-inheritance/verify.bsh
@@ -59,7 +59,7 @@ try
}
String content = FileUtils.fileRead( index, "UTF-8" );
- int indexOf = content.indexOf( "Aggregator " );
+ int indexOf = content.indexOf( "Aggregator " );
if ( indexOf < 0 )
{
System.err.println( "deployed junk index.html is missing module link!" );
@@ -75,10 +75,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- int index1 = content.indexOf( "Child and Module " );
- int index2 = content.indexOf( "Inheriting Child " );
- int index3 = content.indexOf( "Module " );
- int index4 = content.indexOf( "Aggregator " );
+ int index1 = content.indexOf( "Child and Module " );
+ int index2 = content.indexOf( "Inheriting Child " );
+ int index3 = content.indexOf( "Module " );
+ int index4 = content.indexOf( "Aggregator " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
System.err.println( "deploy index.html is missing module link!" );
@@ -116,10 +116,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs Parent " );
- index2 = content.indexOf( "breadcrumbs /Child " );
- index3 = content.indexOf( "links ./Parent " );
- index4 = content.indexOf( "Parent " );
+ index1 = content.indexOf( "breadcrumbs Parent " );
+ index2 = content.indexOf( "breadcrumbs /Child " );
+ index3 = content.indexOf( "links ./Parent " );
+ index4 = content.indexOf( "Parent " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
System.err.println( "deployed deepDownBelow index.html is missing links!" );
@@ -142,10 +142,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs /Parent " );
- index2 = content.indexOf( "breadcrumbs ./Child " );
- index3 = content.indexOf( "links Parent " );
- index4 = content.indexOf( "Parent " );
+ index1 = content.indexOf( "breadcrumbs /Parent " );
+ index2 = content.indexOf( "breadcrumbs ./Child " );
+ index3 = content.indexOf( "links Parent " );
+ index4 = content.indexOf( "Parent " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
System.err.println( "deployed inheritingChild index.html is missing links!" );
@@ -168,9 +168,9 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs Module " );
- index2 = content.indexOf( "links ./Module " );
- index3 = content.indexOf( "Sub-Module " );
+ index1 = content.indexOf( "breadcrumbs Module " );
+ index2 = content.indexOf( "links ./Module " );
+ index3 = content.indexOf( "Sub-Module " );
if ( index1 < 0 || index2 < 0 || index3 < 0 )
{
System.err.println( "deployed moduleDirectory index.html has wrong links!" );
@@ -194,10 +194,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs /Module " );
- index2 = content.indexOf( "breadcrumbs ./SubModule " );
- index3 = content.indexOf( "links Module " );
- index4 = content.indexOf( "Module " );
+ index1 = content.indexOf( "breadcrumbs /Module " );
+ index2 = content.indexOf( "breadcrumbs ./SubModule " );
+ index3 = content.indexOf( "links Module " );
+ index4 = content.indexOf( "Module " );
if ( index1 < 0 || index2 < 0 || index3 < 0 )
{
System.err.println( "deployed subModuleDirectory index.html has wrong links!" );
@@ -237,7 +237,7 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- int indexOf = content.indexOf( "Aggregator " );
+ int indexOf = content.indexOf( "Aggregator " );
if ( indexOf < 0 )
{
System.err.println( "staged junk index.html is missing module link!" );
@@ -253,10 +253,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- int index1 = content.indexOf( "Child and Module " );
- int index2 = content.indexOf( "Inheriting Child " );
- int index3 = content.indexOf( "Module " );
- int index4 = content.indexOf( "Aggregator " );
+ int index1 = content.indexOf( "Child and Module " );
+ int index2 = content.indexOf( "Inheriting Child " );
+ int index3 = content.indexOf( "Module " );
+ int index4 = content.indexOf( "Aggregator " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
System.err.println( "staged index.html is missing module link!" );
@@ -294,10 +294,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs Parent " );
- index2 = content.indexOf( "breadcrumbs /Child " );
- index3 = content.indexOf( "links ./Parent " );
- index4 = content.indexOf( "Parent " );
+ index1 = content.indexOf( "breadcrumbs Parent " );
+ index2 = content.indexOf( "breadcrumbs /Child " );
+ index3 = content.indexOf( "links ./Parent " );
+ index4 = content.indexOf( "Parent " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
System.err.println( "staged deepDownBelow index.html is missing links!" );
@@ -320,10 +320,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs /Parent " );
- index2 = content.indexOf( "breadcrumbs ./Child " );
- index3 = content.indexOf( "links Parent " );
- index4 = content.indexOf( "Parent " );
+ index1 = content.indexOf( "breadcrumbs /Parent " );
+ index2 = content.indexOf( "breadcrumbs ./Child " );
+ index3 = content.indexOf( "links Parent " );
+ index4 = content.indexOf( "Parent " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
System.err.println( "staged inheritingChild index.html is missing links!" );
@@ -346,9 +346,9 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs Module " );
- index2 = content.indexOf( "links ./Module " );
- index3 = content.indexOf( "Sub-Module " );
+ index1 = content.indexOf( "breadcrumbs Module " );
+ index2 = content.indexOf( "links ./Module " );
+ index3 = content.indexOf( "Sub-Module " );
if ( index1 < 0 || index2 < 0 || index3 < 0 )
{
System.err.println( "staged moduleDirectory index.html has wrong links!" );
@@ -372,10 +372,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs /Module " );
- index2 = content.indexOf( "breadcrumbs ./SubModule " );
- index3 = content.indexOf( "links Module " );
- index4 = content.indexOf( "Module " );
+ index1 = content.indexOf( "breadcrumbs /Module " );
+ index2 = content.indexOf( "breadcrumbs ./SubModule " );
+ index3 = content.indexOf( "links Module " );
+ index4 = content.indexOf( "Module " );
if ( index1 < 0 || index2 < 0 || index3 < 0 )
{
System.err.println( "staged subModuleDirectory index.html has wrong links!" );
@@ -414,7 +414,7 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- int indexOf = content.indexOf( "Aggregator " );
+ int indexOf = content.indexOf( "Aggregator " );
if ( indexOf < 0 )
{
System.err.println( "stage-deployed junk index.html is missing module link!" );
@@ -430,10 +430,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- int index1 = content.indexOf( "Child and Module " );
- int index2 = content.indexOf( "Inheriting Child " );
- int index3 = content.indexOf( "Module " );
- int index4 = content.indexOf( "Aggregator " );
+ int index1 = content.indexOf( "Child and Module " );
+ int index2 = content.indexOf( "Inheriting Child " );
+ int index3 = content.indexOf( "Module " );
+ int index4 = content.indexOf( "Aggregator " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
System.err.println( "stage-deployed index.html is missing module link!" );
@@ -471,10 +471,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs Parent " );
- index2 = content.indexOf( "breadcrumbs /Child " );
- index3 = content.indexOf( "links ./Parent " );
- index4 = content.indexOf( "Parent " );
+ index1 = content.indexOf( "breadcrumbs Parent " );
+ index2 = content.indexOf( "breadcrumbs /Child " );
+ index3 = content.indexOf( "links ./Parent " );
+ index4 = content.indexOf( "Parent " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
System.err.println( "stage-deployed deepDownBelow index.html is missing links!" );
@@ -497,10 +497,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs /Parent " );
- index2 = content.indexOf( "breadcrumbs ./Child " );
- index3 = content.indexOf( "links Parent " );
- index4 = content.indexOf( "Parent " );
+ index1 = content.indexOf( "breadcrumbs /Parent " );
+ index2 = content.indexOf( "breadcrumbs ./Child " );
+ index3 = content.indexOf( "links Parent " );
+ index4 = content.indexOf( "Parent " );
if ( index1 < 0 || index2 < 0 || index3 < 0 || index4 < 0 )
{
System.err.println( "stage-deployed inheritingChild index.html is missing links!" );
@@ -523,9 +523,9 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs Module " );
- index2 = content.indexOf( "links ./Module " );
- index3 = content.indexOf( "Sub-Module " );
+ index1 = content.indexOf( "breadcrumbs Module " );
+ index2 = content.indexOf( "links ./Module " );
+ index3 = content.indexOf( "Sub-Module " );
if ( index1 < 0 || index2 < 0 || index3 < 0 )
{
System.err.println( "stage-deployed moduleDirectory index.html has wrong links!" );
@@ -549,10 +549,10 @@ try
}
content = FileUtils.fileRead( index, "UTF-8" );
- index1 = content.indexOf( "breadcrumbs /Module " );
- index2 = content.indexOf( "breadcrumbs ./SubModule " );
- index3 = content.indexOf( "links Module " );
- index4 = content.indexOf( "Module " );
+ index1 = content.indexOf( "breadcrumbs /Module " );
+ index2 = content.indexOf( "breadcrumbs ./SubModule " );
+ index3 = content.indexOf( "links Module " );
+ index4 = content.indexOf( "Module " );
if ( index1 < 0 || index2 < 0 || index3 < 0 )
{
System.err.println( "stage-deployed subModuleDirectory index.html has wrong links!" );
diff --git a/src/it/projects/site-jar/pom.xml b/src/it/projects/site-jar/pom.xml
index 0bf8b832..8e7b2845 100644
--- a/src/it/projects/site-jar/pom.xml
+++ b/src/it/projects/site-jar/pom.xml
@@ -32,9 +32,10 @@ under the License.
site-jar IT
- 3.0.5
+ @mavenVersion@
UTF-8
2019-11-02T17:48:12Z
+ @fluidoSkinVersion@
@@ -66,7 +67,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-jar/src/site/site.xml b/src/it/projects/site-jar/src/site/site.xml
index 2cfb4865..9885790c 100644
--- a/src/it/projects/site-jar/src/site/site.xml
+++ b/src/it/projects/site-jar/src/site/site.xml
@@ -19,15 +19,15 @@ specific language governing permissions and limitations
under the License.
-->
-
+
org.apache.maven.skins
- maven-stylus-skin
- 1.5
+ maven-fluido-skin
+ ${fluidoSkinVersion}
@@ -41,4 +41,4 @@ under the License.
-
+
diff --git a/src/it/projects/site-jar/verify.bsh b/src/it/projects/site-jar/verify.groovy
similarity index 95%
rename from src/it/projects/site-jar/verify.bsh
rename to src/it/projects/site-jar/verify.groovy
index 4e5a08b4..8a39c1f9 100644
--- a/src/it/projects/site-jar/verify.bsh
+++ b/src/it/projects/site-jar/verify.groovy
@@ -41,7 +41,7 @@ try
return false;
}
- String[] fileNames = new String[] { "images/h3.jpg", "download.html", "index.html", "releases/release1.6.html" };
+ String[] fileNames = new String[] { "download.html", "index.html", "releases/release1.6.html" };
Set contents = new HashSet();
diff --git a/src/it/projects/site-sd-2/pom.xml b/src/it/projects/site-sd-2/pom.xml
index c436e997..9e3d6f3e 100644
--- a/src/it/projects/site-sd-2/pom.xml
+++ b/src/it/projects/site-sd-2/pom.xml
@@ -53,7 +53,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-sd-lang/mymodule/src/site/site.xml b/src/it/projects/site-sd-lang/mymodule/src/site/site.xml
index 620dadda..7d5bfcd9 100644
--- a/src/it/projects/site-sd-lang/mymodule/src/site/site.xml
+++ b/src/it/projects/site-sd-lang/mymodule/src/site/site.xml
@@ -19,16 +19,23 @@ specific language governing permissions and limitations
under the License.
-->
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/site-sd-lang/mymodule/src/site/site_fr.xml b/src/it/projects/site-sd-lang/mymodule/src/site/site_fr.xml
index b266c141..59fda3cb 100644
--- a/src/it/projects/site-sd-lang/mymodule/src/site/site_fr.xml
+++ b/src/it/projects/site-sd-lang/mymodule/src/site/site_fr.xml
@@ -19,16 +19,23 @@ specific language governing permissions and limitations
under the License.
-->
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/site-sd-lang/pom.xml b/src/it/projects/site-sd-lang/pom.xml
old mode 100755
new mode 100644
index 63fde74c..fa7a1b2d
--- a/src/it/projects/site-sd-lang/pom.xml
+++ b/src/it/projects/site-sd-lang/pom.xml
@@ -31,6 +31,10 @@ under the License.
http://my.url.com/
+
+ @fluidoSkinVersion@
+
+
website
@@ -46,7 +50,8 @@ under the License.
maven-site-plugin
@project.version@
- en,fr
+ default,en,fr,de,de_DE,de_AT,zh_TW,eo_EU
+ true
@@ -57,7 +62,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
@@ -66,6 +71,43 @@ under the License.
+
+ maven-pmd-plugin
+ @pmdPluginVersion@
+
+
+
+ pmd
+ cpd
+
+
+
+
+ true
+
+
+
+ maven-jxr-plugin
+ @jxrPluginVersion@
+
+
+
+ jxr-no-fork
+
+
+
+
+
+ maven-javadoc-plugin
+ @javadocPluginVersion@
+
+
+
+ javadoc-no-fork
+
+
+
+
diff --git a/src/it/projects/doxia-formats/src/site/twiki/twiki.twiki b/src/it/projects/site-sd-lang/src/site/de_AT/xdoc/index.xml
similarity index 71%
rename from src/it/projects/doxia-formats/src/site/twiki/twiki.twiki
rename to src/it/projects/site-sd-lang/src/site/de_AT/xdoc/index.xml
index 1c9876d3..8d272b77 100644
--- a/src/it/projects/doxia-formats/src/site/twiki/twiki.twiki
+++ b/src/it/projects/site-sd-lang/src/site/de_AT/xdoc/index.xml
@@ -1,3 +1,6 @@
+
+
+
----++ Example
+
+
+ Hans Müller
+ Servus zum Index
+
+
- * level 1
- * level 2
- * back on 1
- * last bullet
+
+
+ Diese Seite ist für de_AT
+
+
-Content for verify.groovy
+
+
diff --git a/src/it/projects/doxia-formats/src/site/confluence/confluence.confluence b/src/it/projects/site-sd-lang/src/site/de_DE/xdoc/index.xml
similarity index 56%
rename from src/it/projects/doxia-formats/src/site/confluence/confluence.confluence
rename to src/it/projects/site-sd-lang/src/site/de_DE/xdoc/index.xml
index 89c3f06c..5844bdc7 100644
--- a/src/it/projects/doxia-formats/src/site/confluence/confluence.confluence
+++ b/src/it/projects/site-sd-lang/src/site/de_DE/xdoc/index.xml
@@ -1,3 +1,6 @@
+
+
+
+
+
+
+ Hans Müller
+ Guten Tag zum Index
+
+
+
+
+
+ Diese Seite ist für de_DE
+
+
+
+
+
diff --git a/src/it/projects/site-sd-lang/src/site/site.xml b/src/it/projects/site-sd-lang/src/site/site.xml
index 64c3a025..3f640525 100644
--- a/src/it/projects/site-sd-lang/src/site/site.xml
+++ b/src/it/projects/site-sd-lang/src/site/site.xml
@@ -19,20 +19,28 @@ specific language governing permissions and limitations
under the License.
-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/site-sd-lang/src/site/site_de_AT.xml b/src/it/projects/site-sd-lang/src/site/site_de_AT.xml
new file mode 100644
index 00000000..5f0995f5
--- /dev/null
+++ b/src/it/projects/site-sd-lang/src/site/site_de_AT.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/site-sd-lang/src/site/site_de_DE.xml b/src/it/projects/site-sd-lang/src/site/site_de_DE.xml
new file mode 100644
index 00000000..32c4bca2
--- /dev/null
+++ b/src/it/projects/site-sd-lang/src/site/site_de_DE.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/site-sd-lang/src/site/site_fr.xml b/src/it/projects/site-sd-lang/src/site/site_fr.xml
index 64c3a025..7b8cd9d7 100644
--- a/src/it/projects/site-sd-lang/src/site/site_fr.xml
+++ b/src/it/projects/site-sd-lang/src/site/site_fr.xml
@@ -19,20 +19,29 @@ specific language governing permissions and limitations
under the License.
-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/it/projects/site-sd-lang/src/site/xdoc/index.xml b/src/it/projects/site-sd-lang/src/site/xdoc/index.xml.vm
similarity index 90%
rename from src/it/projects/site-sd-lang/src/site/xdoc/index.xml
rename to src/it/projects/site-sd-lang/src/site/xdoc/index.xml.vm
index 5a8d21eb..b7e22572 100644
--- a/src/it/projects/site-sd-lang/src/site/xdoc/index.xml
+++ b/src/it/projects/site-sd-lang/src/site/xdoc/index.xml.vm
@@ -28,7 +28,7 @@ under the License.
- this is the multimodule page in english
+ This is the multimodule page in English and the following locales are supported: $supportedLocales.
diff --git a/src/it/projects/site-sd-lang/verify.bsh b/src/it/projects/site-sd-lang/verify.bsh
index 0d1f6f56..bbebeb89 100644
--- a/src/it/projects/site-sd-lang/verify.bsh
+++ b/src/it/projects/site-sd-lang/verify.bsh
@@ -19,6 +19,7 @@
*/
import java.io.*;
+import org.codehaus.plexus.util.*;
boolean result = true;
@@ -26,6 +27,77 @@ boolean result = true;
try
{
+ // SITE
+
+ File topLevelDirectory = new File( basedir, "target/site" );
+ if ( !topLevelDirectory.exists() || !topLevelDirectory.isDirectory() )
+ {
+ System.err.println( "Site directory '" + topLevelDirectory + "' is missing or not a directory." );
+ return false;
+ }
+
+ File moduleDirectory = new File( basedir, "mymodule/target/site" );
+ if ( !moduleDirectory.exists() || !moduleDirectory.isDirectory() )
+ {
+ System.err.println( "Site module directory '" + moduleDirectory + "' is missing or not a directory." );
+ return false;
+ }
+
+ File indexFile = new File( topLevelDirectory, "index.html" );
+ if ( !indexFile.exists() || !indexFile.isFile() )
+ {
+ System.err.println( "Site index.html '" + indexFile + "' is missing or not a file." );
+ return false;
+ }
+ String content = FileUtils.fileRead( indexFile, "UTF-8" );
+ if ( !content.contains( "the following locales are supported: [, en, fr, de, de_DE, de_AT, zh_TW]" ) )
+ {
+ System.err.println( "index.html does not contain supported locales" );
+ return false;
+ }
+
+ File projectInfoFile = new File( topLevelDirectory, "project-info.html" );
+ if ( !projectInfoFile.exists() || !projectInfoFile.isFile() )
+ {
+ System.err.println( "Site project-info.html '" + projectInfoFile + "' is missing or not a file." );
+ return false;
+ }
+
+ File frDirectory = new File( topLevelDirectory, "fr" );
+ if ( !frDirectory.exists() || !frDirectory.isDirectory() )
+ {
+ System.err.println( "Site fr directory '" + frDirectory + "' is missing or not a directory." );
+ return false;
+ }
+
+ File frProjectInfoFile = new File( frDirectory, "project-info.html" );
+ if ( !frProjectInfoFile.exists() || !frProjectInfoFile.isFile() )
+ {
+ System.err.println( "Site fr project-info.html '" + frProjectInfoFile + "' is missing or not a file." );
+ return false;
+ }
+
+ File frModuleDirectory = new File( moduleDirectory, "fr" );
+ if ( !frModuleDirectory.exists() || !frModuleDirectory.isDirectory() )
+ {
+ System.err.println( "Site fr module directory '" + frModuleDirectory + "' is missing or not a directory." );
+ return false;
+ }
+
+ File moduleProjectInfoFile = new File( moduleDirectory, "project-info.html" );
+ if ( !moduleProjectInfoFile.exists() || !moduleProjectInfoFile.isFile() )
+ {
+ System.err.println( "Site module project-info.html '" + moduleProjectInfoFile + "' is missing or not a file." );
+ return false;
+ }
+
+ File frModuleProjectInfoFile = new File( frModuleDirectory, "project-info.html" );
+ if ( !frModuleProjectInfoFile.exists() || !frModuleProjectInfoFile.isFile() )
+ {
+ System.err.println( "Site fr module project-info.html '" + frModuleProjectInfoFile + "' is missing or not a file." );
+ return false;
+ }
+
// STAGING
File topLevelDirectory = new File( basedir, "target/staging" );
diff --git a/src/it/projects/site-sd-submodule/parent/pom.xml b/src/it/projects/site-sd-submodule/parent/pom.xml
index f46c1cb1..987c7cd7 100644
--- a/src/it/projects/site-sd-submodule/parent/pom.xml
+++ b/src/it/projects/site-sd-submodule/parent/pom.xml
@@ -51,7 +51,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-sd-top-parent-no-site/root/pom.xml b/src/it/projects/site-sd-top-parent-no-site/root/pom.xml
index 25228582..8281b1be 100644
--- a/src/it/projects/site-sd-top-parent-no-site/root/pom.xml
+++ b/src/it/projects/site-sd-top-parent-no-site/root/pom.xml
@@ -31,11 +31,11 @@ under the License.
-
- org.apache.maven.plugins
- maven-site-plugin
- @project.version@
-
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ @project.version@
+
@@ -44,7 +44,7 @@ under the License.
maven-project-info-reports-plugin
- 2.3.1
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-sd/pom.xml b/src/it/projects/site-sd/pom.xml
index aae7c5c5..dfc17da2 100644
--- a/src/it/projects/site-sd/pom.xml
+++ b/src/it/projects/site-sd/pom.xml
@@ -31,6 +31,10 @@ under the License.
Basic stage-deploy test
http://www.example.com/parent/
+
+ @fluidoSkinVersion@
+
+
msite-304
@@ -59,7 +63,7 @@ under the License.
org.apache.maven.plugins
maven-project-info-reports-plugin
- 2.1.2
+ @projectInfoReportsPluginVersion@
diff --git a/src/it/projects/site-sd/src/site/site.xml b/src/it/projects/site-sd/src/site/site.xml
index a881cc2b..f0dc85fd 100644
--- a/src/it/projects/site-sd/src/site/site.xml
+++ b/src/it/projects/site-sd/src/site/site.xml
@@ -19,12 +19,18 @@ specific language governing permissions and limitations
under the License.
-->
-
+
+
+ org.apache.maven.skins
+ maven-fluido-skin
+ ${fluidoSkinVersion}
+
+
-
+
diff --git a/src/it/projects/surefire-report/pom.xml b/src/it/projects/surefire-report/pom.xml
index 0012801c..9818efc0 100644
--- a/src/it/projects/surefire-report/pom.xml
+++ b/src/it/projects/surefire-report/pom.xml
@@ -35,7 +35,7 @@ under the License.
junit
junit
- 3.8.2
+ 4.13.2
test
@@ -56,7 +56,7 @@ under the License.
org.apache.maven.plugins
maven-surefire-report-plugin
- 2.5
+ @surefirePluginVersion@
diff --git a/src/it/projects/template-skin/invoker.properties b/src/it/projects/template-skin/invoker.properties
index 245bb47c..d76b4eaa 100644
--- a/src/it/projects/template-skin/invoker.properties
+++ b/src/it/projects/template-skin/invoker.properties
@@ -15,5 +15,5 @@
# specific language governing permissions and limitations
# under the License.
-invoker.goals=site:site install
-invoker.goals.2=-Puse-skin site:site
+invoker.goals=install
+invoker.goals.2=site:site
diff --git a/src/it/projects/template-skin/pom.xml b/src/it/projects/template-skin/pom.xml
index bde0432c..25ed717c 100644
--- a/src/it/projects/template-skin/pom.xml
+++ b/src/it/projects/template-skin/pom.xml
@@ -54,28 +54,10 @@ under the License.
- use-template
+ use-skin
true
-
-
-
-
- maven-site-plugin
-
- ${basedir}/src/main/resources/META-INF/maven/site.vm
-
-
-
-
-
-
-
- use-skin
-
- ${project.build.directory}/site-skin
-
diff --git a/src/it/projects/template-skin/src/main/resources/META-INF/maven/site.vm b/src/it/projects/template-skin/src/main/resources/META-INF/maven/site.vm
index 4c1e8133..b61e6d0e 100644
--- a/src/it/projects/template-skin/src/main/resources/META-INF/maven/site.vm
+++ b/src/it/projects/template-skin/src/main/resources/META-INF/maven/site.vm
@@ -36,7 +36,7 @@ locale=$locale
publishDate=$publishDate
relativePath=$relativePath
supportedLocales=$supportedLocales
-decoration=$decoration
+site=$site
tools
@@ -88,4 +88,4 @@ project=$project
-