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-remote-resources-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new d6dd905 Format Groovy IT scripts
d6dd905 is described below
commit d6dd905911222638d1488be66e35a78c8d5d8923
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 25 20:41:16 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.
---
.../verify.groovy | 20 ++++++++++----------
src/it/process-project-file/verify.groovy | 10 +++++-----
.../verify.groovy | 2 +-
src/it/process/verify.groovy | 14 +++++++-------
4 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/src/it/MRRESOURCES-121-dependencies-ignored/verify.groovy
b/src/it/MRRESOURCES-121-dependencies-ignored/verify.groovy
index 6a542f1..a874b5b 100644
--- a/src/it/MRRESOURCES-121-dependencies-ignored/verify.groovy
+++ b/src/it/MRRESOURCES-121-dependencies-ignored/verify.groovy
@@ -17,19 +17,19 @@
* specific language governing permissions and limitations
* under the License.
*/
-def dependencies = new File( basedir,
'target/maven-shared-archive-resources/META-INF/DEPENDENCIES' )
+def dependencies = new File(basedir,
'target/maven-shared-archive-resources/META-INF/DEPENDENCIES')
assert dependencies.exists()
content = dependencies.text
-assert 2 == content.count( 'License: The Apache Software License, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)' )
-assert 1 == content.count( 'License: Apache License, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)' )
-assert 1 == content.count( 'License: Apache License, Version 2.0
(https://www.apache.org/licenses/LICENSE-2.0.txt)' )
+assert 2 == content.count('License: The Apache Software License, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)')
+assert 1 == content.count('License: Apache License, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)')
+assert 1 == content.count('License: Apache License, Version 2.0
(https://www.apache.org/licenses/LICENSE-2.0.txt)')
-assert 1 == content.count( 'From: \'Apache Software Foundation\'
(http://www.apache.org/)' )
-assert 1 == content.count( 'Maven Plugin API
(http://maven.apache.org/maven2/maven-plugin-api/)
org.apache.maven:maven-plugin-api:jar:2.0' )
+assert 1 == content.count('From: \'Apache Software Foundation\'
(http://www.apache.org/)')
+assert 1 == content.count('Maven Plugin API
(http://maven.apache.org/maven2/maven-plugin-api/)
org.apache.maven:maven-plugin-api:jar:2.0')
-assert 1 == content.count( 'From: \'Codehaus Plexus\'
(https://codehaus-plexus.github.io/)' )
-assert 1 == content.count( 'Plexus Cipher: encryption/decryption Component
(https://codehaus-plexus.github.io/plexus-cipher/)
org.codehaus.plexus:plexus-cipher:jar:2.0' )
+assert 1 == content.count('From: \'Codehaus Plexus\'
(https://codehaus-plexus.github.io/)')
+assert 1 == content.count('Plexus Cipher: encryption/decryption Component
(https://codehaus-plexus.github.io/plexus-cipher/)
org.codehaus.plexus:plexus-cipher:jar:2.0')
-assert 1 == content.count( 'From: \'The Apache Software Foundation\'
(https://www.apache.org/)' )
-assert 1 == content.count( 'Maven Artifact Resolver API
(https://maven.apache.org/resolver/maven-resolver-api/)
org.apache.maven.resolver:maven-resolver-api:jar:1.6.3' )
+assert 1 == content.count('From: \'The Apache Software Foundation\'
(https://www.apache.org/)')
+assert 1 == content.count('Maven Artifact Resolver API
(https://maven.apache.org/resolver/maven-resolver-api/)
org.apache.maven.resolver:maven-resolver-api:jar:1.6.3')
diff --git a/src/it/process-project-file/verify.groovy
b/src/it/process-project-file/verify.groovy
index baab203..84a41c8 100644
--- a/src/it/process-project-file/verify.groovy
+++ b/src/it/process-project-file/verify.groovy
@@ -17,12 +17,12 @@
* under the License.
*/
-dir = new File( basedir, 'target/maven-shared-archive-resources' )
+dir = new File(basedir, 'target/maven-shared-archive-resources')
-assert new File( dir, 'a/a.txt' ).text.contains( 'mrrp-bundle-a' )
+assert new File(dir, 'a/a.txt').text.contains('mrrp-bundle-a')
-assert new File( dir, 'common.txt' ).text.contains( 'mrrp-bundle-a' ) //
bundle a is first in classpath
-assert new File( dir, 'common-vm.txt' ).text.contains( 'mrrp-bundle-a
org.apache.maven.its:mrrp-process' )
+assert new File(dir, 'common.txt').text.contains('mrrp-bundle-a') // bundle a
is first in classpath
+assert new File(dir, 'common-vm.txt').text.contains('mrrp-bundle-a
org.apache.maven.its:mrrp-process')
// bundle content overridden by local project's workspace file
-assert new File( dir, 'common2.txt' ).text.contains( 'using project\'s
workspace file' )
+assert new File(dir, 'common2.txt').text.contains('using project\'s workspace
file')
diff --git a/src/it/process-required-project-properties-ok/verify.groovy
b/src/it/process-required-project-properties-ok/verify.groovy
index ce577bd..5a967b1 100644
--- a/src/it/process-required-project-properties-ok/verify.groovy
+++ b/src/it/process-required-project-properties-ok/verify.groovy
@@ -20,4 +20,4 @@
def dir = new File(basedir, 'target/maven-shared-archive-resources')
assert new File(dir, 'required-property.txt').text
- .contains('mrrp-bundle-c
org.apache.maven.its:mrrp-process-required-properties - test1 - test2')
+.contains('mrrp-bundle-c org.apache.maven.its:mrrp-process-required-properties
- test1 - test2')
diff --git a/src/it/process/verify.groovy b/src/it/process/verify.groovy
index 3c7ba52..a76b383 100644
--- a/src/it/process/verify.groovy
+++ b/src/it/process/verify.groovy
@@ -17,13 +17,13 @@
* under the License.
*/
-dir = new File( basedir, 'target/maven-shared-archive-resources' )
+dir = new File(basedir, 'target/maven-shared-archive-resources')
-assert new File( dir, 'a/a.txt' ).text.contains( 'mrrp-bundle-a' )
-assert new File( dir, 'b/b.txt' ).text.contains( 'mrrp-bundle-b' )
+assert new File(dir, 'a/a.txt').text.contains('mrrp-bundle-a')
+assert new File(dir, 'b/b.txt').text.contains('mrrp-bundle-b')
-assert new File( dir, 'common.txt' ).text.contains( 'mrrp-bundle-a' ) //
bundle a is first in classpath
-assert new File( dir, 'common-vm.txt' ).text.contains( 'mrrp-bundle-a
org.apache.maven.its:mrrp-process' )
-assert new File( dir, 'common2.txt' ).text.contains( 'using project\'s
resource' ) // bundle content overridden by local project's resources
+assert new File(dir, 'common.txt').text.contains('mrrp-bundle-a') // bundle a
is first in classpath
+assert new File(dir, 'common-vm.txt').text.contains('mrrp-bundle-a
org.apache.maven.its:mrrp-process')
+assert new File(dir, 'common2.txt').text.contains('using project\'s resource')
// bundle content overridden by local project's resources
-return true;
\ No newline at end of file
+return true
\ No newline at end of file