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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-changes-plugin.git

commit b5b62df1c752952074666e3200b9b953ac2a2cb3
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 25 22:11:43 2026 +0000

    Format Groovy IT scripts
    
    Formatting only: the CONVERSION-phase AST of every file is unchanged. See 
https://github.com/apache/maven-invoker-plugin/issues/811.
---
 src/it/announce-generate-jira/setup.groovy         |  8 +++----
 .../announce-generate-project-values/verify.groovy | 28 +++++++++++-----------
 src/it/announce-generate/verify.groovy             | 28 +++++++++++-----------
 src/it/announce-mail-sender-parameter/setup.groovy |  4 +++-
 .../announce-mail-sender-parameter/verify.groovy   | 10 ++++----
 src/it/announce-mail/setup.groovy                  |  4 +++-
 src/it/announce-mail/verify.groovy                 | 20 ++++++++--------
 .../verify.groovy                                  |  4 ++--
 .../setup.groovy                                   |  8 +++----
 src/it/changes-check-invalid-date/verify.groovy    |  4 ++--
 .../verify.groovy                                  |  4 ++--
 .../changes-check-relative-xmlpath/verify.groovy   |  6 ++---
 src/it/changes-check-skip-snapshots/verify.groovy  |  2 +-
 src/it/changes-check-valid/verify.groovy           |  6 ++---
 .../changes-validate-invalid-fails/verify.groovy   |  2 +-
 .../changes-validate-invalid-warns/verify.groovy   |  6 ++---
 .../verify.groovy                                  | 22 ++++++++---------
 src/it/report-changes-interpolation/verify.groovy  | 12 +++++-----
 src/it/report-changes-skip-snapshots/verify.groovy |  6 ++---
 .../verify.groovy                                  |  4 ++--
 src/it/report-changes-system/verify.groovy         |  4 ++--
 src/it/report-github/verify.groovy                 | 22 ++++++++---------
 .../verify.groovy                                  |  4 ++--
 src/it/report-jira/setup.groovy                    |  8 +++----
 src/it/report-jira/verify.groovy                   | 12 +++++-----
 25 files changed, 121 insertions(+), 117 deletions(-)

diff --git a/src/it/announce-generate-jira/setup.groovy 
b/src/it/announce-generate-jira/setup.groovy
index 762c3ad..1d381ed 100644
--- a/src/it/announce-generate-jira/setup.groovy
+++ b/src/it/announce-generate-jira/setup.groovy
@@ -48,20 +48,20 @@ stubFor(post('/rest/auth/1/session')
         .withHeader('content-type', equalTo('application/json'))
         .withRequestBody(equalToJson('{"username" : "jira-test",  "password" : 
"jira-password"}'))
         .willReturn(aResponse()
-                .withStatus(200)
+        .withStatus(200)
         .withHeader('Set-Cookie', 
'JSESSIONID=D6961281D4A029FFA4E6BC8A526CF5CC; Path=/; HttpOnly')))
 
 stubFor(get('/rest/api/2/status')
         .withHeader('accept', equalTo('application/json'))
         .withCookie('JSESSIONID', equalTo('D6961281D4A029FFA4E6BC8A526CF5CC'))
         .willReturn(aResponse().withStatus(200)
-                .withBody('[{"name": "Closed","id": "6"}]')))
+        .withBody('[{"name": "Closed","id": "6"}]')))
 
 stubFor(get('/rest/api/2/resolution')
         .withHeader('accept', equalTo('application/json'))
         .withCookie('JSESSIONID', equalTo('D6961281D4A029FFA4E6BC8A526CF5CC'))
         .willReturn(aResponse().withStatus(200)
-                .withBody('[{"name": "Fixed","id": "1"}]')))
+        .withBody('[{"name": "Fixed","id": "1"}]')))
 
 stubFor(post('/rest/api/2/search')
         .withHeader('accept', equalTo('application/json'))
@@ -72,7 +72,7 @@ stubFor(post('/rest/api/2/search')
             "maxResults":25, "fields":["*all"]}
 '''))
         .willReturn(aResponse().withStatus(200)
-                .withBody('''
+        .withBody('''
 {
     "issues": [
     {
diff --git a/src/it/announce-generate-project-values/verify.groovy 
b/src/it/announce-generate-project-values/verify.groovy
index beb6491..1b6ff0e 100644
--- a/src/it/announce-generate-project-values/verify.groovy
+++ b/src/it/announce-generate-project-values/verify.groovy
@@ -17,17 +17,17 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-String text = new File( basedir, "target/announcement/values.vm" ).text
-assert text.contains( "groupId=org.apache.maven.plugins.changes.it" )
-assert text.contains( "artifactId=announce-generate-project-values" )
-assert text.contains( "version=1.1" )
-assert text.contains( "packaging=pom" )
-assert text.contains( "url=https://example.org/values"; )
-assert text.contains( "introduction=Project description." )
-assert text.contains( "team=Values Project team" )
-assert text.contains( "finalName=announce-generate-project-values-1.1" )
-assert text.contains( "download=https://example.org/download"; )
-assert text.contains( "projectName=Values Project" )
-assert text.contains( "projectArtifactId=announce-generate-project-values" )
-assert text.contains( "param=hello" )
-assert text.contains( "release=1.1" )
+String text = new File(basedir, "target/announcement/values.vm").text
+assert text.contains("groupId=org.apache.maven.plugins.changes.it")
+assert text.contains("artifactId=announce-generate-project-values")
+assert text.contains("version=1.1")
+assert text.contains("packaging=pom")
+assert text.contains("url=https://example.org/values";)
+assert text.contains("introduction=Project description.")
+assert text.contains("team=Values Project team")
+assert text.contains("finalName=announce-generate-project-values-1.1")
+assert text.contains("download=https://example.org/download";)
+assert text.contains("projectName=Values Project")
+assert text.contains("projectArtifactId=announce-generate-project-values")
+assert text.contains("param=hello")
+assert text.contains("release=1.1")
diff --git a/src/it/announce-generate/verify.groovy 
b/src/it/announce-generate/verify.groovy
index 4fb189c..3fd56cb 100644
--- a/src/it/announce-generate/verify.groovy
+++ b/src/it/announce-generate/verify.groovy
@@ -17,29 +17,29 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File(basedir, 'target/announcement/announcement.vm').exists();
-content = new File(basedir, 'target/announcement/announcement.vm').text;
+assert new File(basedir, 'target/announcement/announcement.vm').exists()
+content = new File(basedir, 'target/announcement/announcement.vm').text
 
-assert content.contains( 'Test report.' );
+assert content.contains('Test report.')
 
-assert content.contains( 'Changes in this version include:' );
+assert content.contains('Changes in this version include:')
 
-assert content.contains( 'New features:' );
+assert content.contains('New features:')
 
-assert content.contains( 'o Added additional documentation on how to configure 
the plugin.' );
+assert content.contains('o Added additional documentation on how to configure 
the plugin.')
 
-assert content.contains( 'Fixed Bugs:' );
+assert content.contains('Fixed Bugs:')
 
-assert content.contains( 'o Enable retrieving component-specific issues.  
Issue: MCHANGES-88.' );
+assert content.contains('o Enable retrieving component-specific issues.  
Issue: MCHANGES-88.')
 
-assert content.contains( 'Changes:' );
+assert content.contains('Changes:')
 
-assert content.contains( 'o Handle different issue systems.  Issue: 
MCHANGES-999.' );
+assert content.contains('o Handle different issue systems.  Issue: 
MCHANGES-999.')
 
-assert content.contains( 'o Updated dependencies.' );
+assert content.contains('o Updated dependencies.')
 
-assert content.contains( 'Removed:' );
+assert content.contains('Removed:')
 
-assert content.contains( 'o The element type \" link \" must be terminated by 
the matching end-tag.' );
+assert content.contains('o The element type \" link \" must be terminated by 
the matching end-tag.')
 
-assert content.contains( 'Deleted the erroneous code.  Issue: MCHANGES-899.' );
+assert content.contains('Deleted the erroneous code.  Issue: MCHANGES-899.')
diff --git a/src/it/announce-mail-sender-parameter/setup.groovy 
b/src/it/announce-mail-sender-parameter/setup.groovy
index e100098..a4a8a60 100644
--- a/src/it/announce-mail-sender-parameter/setup.groovy
+++ b/src/it/announce-mail-sender-parameter/setup.groovy
@@ -31,7 +31,9 @@ Thread thread = new Thread({
             socket.withCloseable {
                 def reader = new BufferedReader(new 
InputStreamReader(socket.inputStream, 'ISO-8859-1'))
                 def writer = new PrintWriter(new 
OutputStreamWriter(socket.outputStream, 'ISO-8859-1'), true)
-                def send = { String line -> writer.print(line + '\r\n'); 
writer.flush() }
+                def send = { String line ->
+                    writer.print(line + '\r\n'); writer.flush()
+                }
                 StringBuilder envelope = new StringBuilder()
                 send('220 localhost fake SMTP')
                 String line
diff --git a/src/it/announce-mail-sender-parameter/verify.groovy 
b/src/it/announce-mail-sender-parameter/verify.groovy
index 0115a5e..5681143 100644
--- a/src/it/announce-mail-sender-parameter/verify.groovy
+++ b/src/it/announce-mail-sender-parameter/verify.groovy
@@ -24,8 +24,8 @@ List messages = context.get("smtpMessages")
 server.close()
 
 assert messages.size() == 2
-String mail = messages.join( "\n" )
-assert mail.contains( "MAIL FROM: <[email protected]>" )
-assert mail.contains( "Release Manager" )
-assert !mail.contains( "[email protected]" )
-assert mail.contains( "Subject: Custom subject for 1.1" )
+String mail = messages.join("\n")
+assert mail.contains("MAIL FROM: <[email protected]>")
+assert mail.contains("Release Manager")
+assert !mail.contains("[email protected]")
+assert mail.contains("Subject: Custom subject for 1.1")
diff --git a/src/it/announce-mail/setup.groovy 
b/src/it/announce-mail/setup.groovy
index e100098..a4a8a60 100644
--- a/src/it/announce-mail/setup.groovy
+++ b/src/it/announce-mail/setup.groovy
@@ -31,7 +31,9 @@ Thread thread = new Thread({
             socket.withCloseable {
                 def reader = new BufferedReader(new 
InputStreamReader(socket.inputStream, 'ISO-8859-1'))
                 def writer = new PrintWriter(new 
OutputStreamWriter(socket.outputStream, 'ISO-8859-1'), true)
-                def send = { String line -> writer.print(line + '\r\n'); 
writer.flush() }
+                def send = { String line ->
+                    writer.print(line + '\r\n'); writer.flush()
+                }
                 StringBuilder envelope = new StringBuilder()
                 send('220 localhost fake SMTP')
                 String line
diff --git a/src/it/announce-mail/verify.groovy 
b/src/it/announce-mail/verify.groovy
index 62875fb..12c2c78 100644
--- a/src/it/announce-mail/verify.groovy
+++ b/src/it/announce-mail/verify.groovy
@@ -25,14 +25,14 @@ server.close()
 
 // the SMTP transport sends one message per recipient
 assert messages.size() == 3
-String mail = messages.join( "\n" )
-assert mail.contains( "MAIL FROM: <[email protected]>" )
-assert mail.contains( "RCPT TO: <[email protected]>" )
-assert mail.contains( "RCPT TO: <[email protected]>" )
-assert mail.contains( "RCPT TO: <[email protected]>" )
-assert mail.contains( "Subject: [ANNOUNCEMENT] - Mail Project 1.1 released" )
-assert mail.contains( "Second Developer" )
+String mail = messages.join("\n")
+assert mail.contains("MAIL FROM: <[email protected]>")
+assert mail.contains("RCPT TO: <[email protected]>")
+assert mail.contains("RCPT TO: <[email protected]>")
+assert mail.contains("RCPT TO: <[email protected]>")
+assert mail.contains("Subject: [ANNOUNCEMENT] - Mail Project 1.1 released")
+assert mail.contains("Second Developer")
 // the forked announcement-generate goal produced the body
-assert mail.contains( "Changes in this version include:" )
-assert mail.contains( "o Added additional documentation on how to configure 
the plugin." )
-assert new File( basedir, "target/announcement/announcement.vm" ).exists()
+assert mail.contains("Changes in this version include:")
+assert mail.contains("o Added additional documentation on how to configure the 
plugin.")
+assert new File(basedir, "target/announcement/announcement.vm").exists()
diff --git a/src/it/announcement-generate-custom-template/verify.groovy 
b/src/it/announcement-generate-custom-template/verify.groovy
index 265a434..dfd8828 100644
--- a/src/it/announcement-generate-custom-template/verify.groovy
+++ b/src/it/announcement-generate-custom-template/verify.groovy
@@ -18,9 +18,9 @@
  * under the License.
  */
 
-import java.nio.file.*;
+import java.nio.file.*
 
-File report = new File( basedir, "target/announcement/test-announce.vm" )
+File report = new File(basedir, "target/announcement/test-announce.vm")
 assert report.exists() : "report file is missing."
 assert !report.isDirectory() : "report file is a directory."
 String reportContent = new String(Files.readAllBytes( report.toPath() ), 
"UTF-8")
diff --git a/src/it/announcement-generate-jira-release-description/setup.groovy 
b/src/it/announcement-generate-jira-release-description/setup.groovy
index 37496a4..89bce0d 100644
--- a/src/it/announcement-generate-jira-release-description/setup.groovy
+++ b/src/it/announcement-generate-jira-release-description/setup.groovy
@@ -48,27 +48,27 @@ stubFor(post('/rest/auth/1/session')
         .withHeader('content-type', equalTo('application/json'))
         .withRequestBody(equalToJson('{"username" : "jira-test",  "password" : 
"jira-password"}'))
         .willReturn(aResponse()
-                .withStatus(200)
+        .withStatus(200)
         .withHeader('Set-Cookie', 
'JSESSIONID=D6961281D4A029FFA4E6BC8A526CF5CC; Path=/; HttpOnly')))
 
 stubFor(get('/rest/api/2/status')
         .withHeader('accept', equalTo('application/json'))
         .withCookie('JSESSIONID', equalTo('D6961281D4A029FFA4E6BC8A526CF5CC'))
         .willReturn(aResponse().withStatus(200)
-                .withBody('[{"name": "Closed","id": "6"}]')))
+        .withBody('[{"name": "Closed","id": "6"}]')))
 
 stubFor(get('/rest/api/2/resolution')
         .withHeader('accept', equalTo('application/json'))
         .withCookie('JSESSIONID', equalTo('D6961281D4A029FFA4E6BC8A526CF5CC'))
         .willReturn(aResponse().withStatus(200)
-                .withBody('[{"name": "Fixed","id": "1"}]')))
+        .withBody('[{"name": "Fixed","id": "1"}]')))
 
 stubFor(post('/rest/api/2/search')
         .withHeader('accept', equalTo('application/json'))
         .withHeader('content-type', equalTo('application/json'))
         .withCookie('JSESSIONID', equalTo('D6961281D4A029FFA4E6BC8A526CF5CC'))
         .willReturn(aResponse().withStatus(200)
-                .withBody('''
+        .withBody('''
 {
     "issues": [
     {
diff --git a/src/it/changes-check-invalid-date/verify.groovy 
b/src/it/changes-check-invalid-date/verify.groovy
index ebed8f7..ebd9c16 100644
--- a/src/it/changes-check-invalid-date/verify.groovy
+++ b/src/it/changes-check-invalid-date/verify.groovy
@@ -17,6 +17,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-String log = new File( basedir, "build.log" ).text
-assert log.contains( "has an invalid release date." )
+String log = new File(basedir, "build.log").text
+assert log.contains("has an invalid release date.")
 assert log =~ /changes.xml has an invalid release date/
diff --git a/src/it/changes-check-relative-xmlpath-invalid/verify.groovy 
b/src/it/changes-check-relative-xmlpath-invalid/verify.groovy
index abd19f8..924d3c7 100644
--- a/src/it/changes-check-relative-xmlpath-invalid/verify.groovy
+++ b/src/it/changes-check-relative-xmlpath-invalid/verify.groovy
@@ -17,5 +17,5 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-String log = new File( basedir, "build.log" ).text
-assert log.contains( "my-changes.xml has an invalid release date." )
+String log = new File(basedir, "build.log").text
+assert log.contains("my-changes.xml has an invalid release date.")
diff --git a/src/it/changes-check-relative-xmlpath/verify.groovy 
b/src/it/changes-check-relative-xmlpath/verify.groovy
index c3eac16..7db3881 100644
--- a/src/it/changes-check-relative-xmlpath/verify.groovy
+++ b/src/it/changes-check-relative-xmlpath/verify.groovy
@@ -17,6 +17,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-String log = new File( basedir, "build.log" ).text
-assert !log.contains( "does not exist" )
-assert !log.contains( "invalid release date" )
+String log = new File(basedir, "build.log").text
+assert !log.contains("does not exist")
+assert !log.contains("invalid release date")
diff --git a/src/it/changes-check-skip-snapshots/verify.groovy 
b/src/it/changes-check-skip-snapshots/verify.groovy
index 67535cc..fb316ee 100644
--- a/src/it/changes-check-skip-snapshots/verify.groovy
+++ b/src/it/changes-check-skip-snapshots/verify.groovy
@@ -17,4 +17,4 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File( basedir, "build.log" ).text.contains( "Skipping snapshot 
version '1.0-SNAPSHOT'." )
+assert new File(basedir, "build.log").text.contains("Skipping snapshot version 
'1.0-SNAPSHOT'.")
diff --git a/src/it/changes-check-valid/verify.groovy 
b/src/it/changes-check-valid/verify.groovy
index cb6e2f3..26ce058 100644
--- a/src/it/changes-check-valid/verify.groovy
+++ b/src/it/changes-check-valid/verify.groovy
@@ -17,6 +17,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-String log = new File( basedir, "build.log" ).text
-assert !log.contains( "invalid release date" )
-assert !log.contains( "does not exist" )
+String log = new File(basedir, "build.log").text
+assert !log.contains("invalid release date")
+assert !log.contains("does not exist")
diff --git a/src/it/changes-validate-invalid-fails/verify.groovy 
b/src/it/changes-validate-invalid-fails/verify.groovy
index 2c79c03..edd4448 100644
--- a/src/it/changes-validate-invalid-fails/verify.groovy
+++ b/src/it/changes-validate-invalid-fails/verify.groovy
@@ -17,5 +17,5 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-String log = new File( basedir, "build.log" ).text
+String log = new File(basedir, "build.log").text
 assert log =~ /changes.xml file is not valid: .*changes.xml: SAXException/
diff --git a/src/it/changes-validate-invalid-warns/verify.groovy 
b/src/it/changes-validate-invalid-warns/verify.groovy
index c642446..2b4e247 100644
--- a/src/it/changes-validate-invalid-warns/verify.groovy
+++ b/src/it/changes-validate-invalid-warns/verify.groovy
@@ -17,6 +17,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-String log = new File( basedir, "build.log" ).text
-assert log.contains( "validation errors:" )
-assert log.contains( "skip previous validation errors due to 
failOnError=false." )
+String log = new File(basedir, "build.log").text
+assert log.contains("validation errors:")
+assert log.contains("skip previous validation errors due to 
failOnError=false.")
diff --git a/src/it/report-aggregated-changes-generation/verify.groovy 
b/src/it/report-aggregated-changes-generation/verify.groovy
index 02565b1..7688508 100644
--- a/src/it/report-aggregated-changes-generation/verify.groovy
+++ b/src/it/report-aggregated-changes-generation/verify.groovy
@@ -16,18 +16,18 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File(basedir, 'target/site/changes.html').exists();
-content = new File(basedir, 'target/site/changes.html').text;
+assert new File(basedir, 'target/site/changes.html').exists()
+content = new File(basedir, 'target/site/changes.html').text
 
-assert content.contains( 'Changes' );
+assert content.contains('Changes')
 
-assert content.contains( '<th>Module1</th>' );
-assert !content.contains( '<th>Module2</th>' );
-assert content.contains( '<th>Module3</th>' );
-assert !content.contains( '<th>Module4</th>' );
+assert content.contains('<th>Module1</th>')
+assert !content.contains('<th>Module2</th>')
+assert content.contains('<th>Module3</th>')
+assert !content.contains('<th>Module4</th>')
 
-assert content.contains( 'MCHANGES-88' );
-assert content.contains( 'MCHANGES-1' );
-assert content.contains( 'bug-12345' );
+assert content.contains('MCHANGES-88')
+assert content.contains('MCHANGES-1')
+assert content.contains('bug-12345')
 
-assert content.contains( 'No changes in this release.' );
+assert content.contains('No changes in this release.')
diff --git a/src/it/report-changes-interpolation/verify.groovy 
b/src/it/report-changes-interpolation/verify.groovy
index b18b4bf..b1d99f8 100644
--- a/src/it/report-changes-interpolation/verify.groovy
+++ b/src/it/report-changes-interpolation/verify.groovy
@@ -18,10 +18,10 @@
  * under the License.
  */
 
-import java.nio.file.*;
-import java.text.*;
+import java.nio.file.*
+import java.text.*
 
-File report = new File( basedir, "target/site/changes.html" )
+File report = new File(basedir, "target/site/changes.html")
 assert report.exists() : "report file is missing."
 assert !report.isDirectory() : "report file is a directory."
 String reportContent = new String(Files.readAllBytes( report.toPath() ), 
"UTF-8")
@@ -39,8 +39,8 @@ assert !reportContent.contains( "Fixes ." ) : "changes.html 
doesn't handle empty
 
 assert reportContent.contains( "<a href=\"#a99.0\">" ) : "changes.html doesn't 
contain version from pom"
 
-Date now = new Date();
-SimpleDateFormat simpleDateFormat = new SimpleDateFormat( "yyyy-MM-dd", new 
Locale( "en" ) );
-String formattedDate = simpleDateFormat.format( now );
+Date now = new Date()
+SimpleDateFormat simpleDateFormat = new SimpleDateFormat( "yyyy-MM-dd", new 
Locale( "en" ) )
+String formattedDate = simpleDateFormat.format( now )
 
 assert reportContent.contains( formattedDate ) : "changes.html doesn't contain 
publishDate"
diff --git a/src/it/report-changes-skip-snapshots/verify.groovy 
b/src/it/report-changes-skip-snapshots/verify.groovy
index 98e7812..ccb274c 100644
--- a/src/it/report-changes-skip-snapshots/verify.groovy
+++ b/src/it/report-changes-skip-snapshots/verify.groovy
@@ -17,7 +17,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File(basedir, 'build.log').exists();
-content = new File(basedir, 'build.log').text;
+assert new File(basedir, 'build.log').exists()
+content = new File(basedir, 'build.log').text
 
-assert content.contains( "Skipping snapshot version '1.0-SNAPSHOT'." );
+assert content.contains("Skipping snapshot version '1.0-SNAPSHOT'.")
diff --git a/src/it/report-changes-system-noissuemanagement/verify.groovy 
b/src/it/report-changes-system-noissuemanagement/verify.groovy
index 72b005f..9788784 100644
--- a/src/it/report-changes-system-noissuemanagement/verify.groovy
+++ b/src/it/report-changes-system-noissuemanagement/verify.groovy
@@ -18,9 +18,9 @@
  * under the License.
  */
 
-import java.nio.file.*;
+import java.nio.file.*
 
-File report = new File( basedir, "target/site/changes.html" )
+File report = new File(basedir, "target/site/changes.html")
 assert report.exists() : "report file is missing."
 assert !report.isDirectory() : "report file is a directory."
 String reportContent = new String(Files.readAllBytes( report.toPath() ), 
"UTF-8")
diff --git a/src/it/report-changes-system/verify.groovy 
b/src/it/report-changes-system/verify.groovy
index 7fa3873..d73d58b 100644
--- a/src/it/report-changes-system/verify.groovy
+++ b/src/it/report-changes-system/verify.groovy
@@ -18,9 +18,9 @@
  * under the License.
  */
 
-import java.nio.file.*;
+import java.nio.file.*
 
-File report = new File( basedir, "target/site/en/changes.html" )
+File report = new File(basedir, "target/site/en/changes.html")
 assert report.exists() : "report file is missing."
 assert !report.isDirectory() : "report file is a directory."
 String reportContent = new String(Files.readAllBytes( report.toPath() ), 
"UTF-8")
diff --git a/src/it/report-github/verify.groovy 
b/src/it/report-github/verify.groovy
index 9cc644c..0823922 100644
--- a/src/it/report-github/verify.groovy
+++ b/src/it/report-github/verify.groovy
@@ -22,18 +22,18 @@ import com.github.tomakehurst.wiremock.WireMockServer
 WireMockServer wireMockServer = context.get("wireMockServer")
 wireMockServer.stop()
 
-content = new File(basedir, 'target/site/github-changes.html').text;
+content = new File(basedir, 'target/site/github-changes.html').text
 
-assert content.contains('/owner-name/repo-name/issues/1234">1234</a>');
-assert content.contains('<td>Authentication does not work after Upgrade</td>');
-assert content.contains('<td>OPEN</td>');
+assert content.contains('/owner-name/repo-name/issues/1234">1234</a>')
+assert content.contains('<td>Authentication does not work after Upgrade</td>')
+assert content.contains('<td>OPEN</td>')
 assert content.contains('<td>assigned-user1</td>')
-assert content.contains('<td>reporter-user1</td>');
-assert content.contains('<td>2.12.1</td>');
+assert content.contains('<td>reporter-user1</td>')
+assert content.contains('<td>2.12.1</td>')
 
-assert content.contains('/owner-name/repo-name/issues/1235">1235</a>');
-assert content.contains('<td>Next issue for testing</td>');
-assert content.contains('<td>CLOSED</td>');
+assert content.contains('/owner-name/repo-name/issues/1235">1235</a>')
+assert content.contains('<td>Next issue for testing</td>')
+assert content.contains('<td>CLOSED</td>')
 assert content.contains('<td>assigned-user2</td>')
-assert content.contains('<td>reporter-user2</td>');
-assert content.contains('<td>2.12.2</td>');
+assert content.contains('<td>reporter-user2</td>')
+assert content.contains('<td>2.12.2</td>')
diff --git a/src/it/report-jira-invalid-issuemanagement/verify.groovy 
b/src/it/report-jira-invalid-issuemanagement/verify.groovy
index 844e463..0a26d2e 100644
--- a/src/it/report-jira-invalid-issuemanagement/verify.groovy
+++ b/src/it/report-jira-invalid-issuemanagement/verify.groovy
@@ -19,6 +19,6 @@
  */
 
 
-content = new File( basedir, 'build.log' ).text;
+content = new File(basedir, 'build.log').text
 
-assert !content.contains( '[ERROR]' );
\ No newline at end of file
+assert !content.contains('[ERROR]')
\ No newline at end of file
diff --git a/src/it/report-jira/setup.groovy b/src/it/report-jira/setup.groovy
index e58c32c..ac74d52 100644
--- a/src/it/report-jira/setup.groovy
+++ b/src/it/report-jira/setup.groovy
@@ -48,20 +48,20 @@ stubFor(post('/rest/auth/1/session')
         .withHeader('content-type', equalTo('application/json'))
         .withRequestBody(equalToJson('{"username" : "jira-test",  "password" : 
"jira-password"}'))
         .willReturn(aResponse()
-                .withStatus(200)
+        .withStatus(200)
         .withHeader('Set-Cookie', 
'JSESSIONID=D6961281D4A029FFA4E6BC8A526CF5CC; Path=/; HttpOnly')))
 
 stubFor(get('/rest/api/2/status')
         .withHeader('accept', equalTo('application/json'))
         .withCookie('JSESSIONID', equalTo('D6961281D4A029FFA4E6BC8A526CF5CC'))
         .willReturn(aResponse().withStatus(200)
-                .withBody('[{"name": "Closed","id": "6"}]')))
+        .withBody('[{"name": "Closed","id": "6"}]')))
 
 stubFor(get('/rest/api/2/resolution')
         .withHeader('accept', equalTo('application/json'))
         .withCookie('JSESSIONID', equalTo('D6961281D4A029FFA4E6BC8A526CF5CC'))
         .willReturn(aResponse().withStatus(200)
-                .withBody('[{"name": "Fixed","id": "1"}]')))
+        .withBody('[{"name": "Fixed","id": "1"}]')))
 
 stubFor(post('/rest/api/2/search')
         .withHeader('accept', equalTo('application/json'))
@@ -72,7 +72,7 @@ stubFor(post('/rest/api/2/search')
             "maxResults":100, "fields":["*all"]}
 '''))
         .willReturn(aResponse().withStatus(200)
-                .withBody('''
+        .withBody('''
 {
     "issues": [
     {
diff --git a/src/it/report-jira/verify.groovy b/src/it/report-jira/verify.groovy
index dcd81ec..f98d4eb 100644
--- a/src/it/report-jira/verify.groovy
+++ b/src/it/report-jira/verify.groovy
@@ -22,10 +22,10 @@ import com.github.tomakehurst.wiremock.WireMockServer
 WireMockServer wireMockServer = context.get("wireMockServer")
 wireMockServer.stop()
 
-content = new File(basedir, 'target/site/jira-changes.html').text;
+content = new File(basedir, 'target/site/jira-changes.html').text
 
-assert content.contains('/browse/TEST_PROJECT-1">TEST_PROJECT-1</a>');
-assert content.contains('<td>Authentication does not work after Upgrade</td>');
-assert content.contains('<td>Closed</td>');
-assert content.contains('<td>Fixed</td>');
-assert content.contains('<td>Assigned User</td>');
+assert content.contains('/browse/TEST_PROJECT-1">TEST_PROJECT-1</a>')
+assert content.contains('<td>Authentication does not work after Upgrade</td>')
+assert content.contains('<td>Closed</td>')
+assert content.contains('<td>Fixed</td>')
+assert content.contains('<td>Assigned User</td>')

Reply via email to