You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/04/17 10:48:29 UTC
[maven-site-plugin] 07/08: Bump
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch doxia-2.0.0
in repository https://gitbox.apache.org/repos/asf/maven-site-plugin.git
commit f7eede58eb6c6152a106517959989006add33fdd
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sun Apr 17 12:20:59 2022 +0200
Bump
---
src/it/projects/MSITE-484/verify.groovy | 6 +++---
src/it/projects/MSITE-609/verify.bsh | 4 ++--
src/it/projects/MSITE-658/pom.xml | 8 ++++++++
src/it/projects/MSITE-658/verify.bsh | 20 ++++++++++----------
src/it/projects/site-deploy/verify.bsh | 4 ++--
5 files changed, 25 insertions(+), 17 deletions(-)
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-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-658/pom.xml b/src/it/projects/MSITE-658/pom.xml
index d35cadc0..cab60004 100644
--- a/src/it/projects/MSITE-658/pom.xml
+++ b/src/it/projects/MSITE-658/pom.xml
@@ -31,6 +31,14 @@ under the License.
<name>MSITE-658</name>
<url>http://maven.apache.org/sub-directory</url>
+ <licenses>
+ <license>
+ <name>Apache License, Version 2.0</name>
+ <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
diff --git a/src/it/projects/MSITE-658/verify.bsh b/src/it/projects/MSITE-658/verify.bsh
index 1aafec0d..2d423a31 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" );
+ String content = FileUtils.fileRead( licenses, "UTF-8" );
int index = content.indexOf( "<a href=\"index.html\" title=\"Home\">Home</a>" );
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" );
+ content = FileUtils.fileRead( licenses, "UTF-8" );
int index = content.indexOf( "<a href=\"index.html\" title=\"Heim\">Heim</a>" );
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/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;
}
}