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

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


The following commit(s) were added to refs/heads/master by this push:
     new 197ca84  Bump org.apache.maven.plugins:maven-plugins from 43 to 44 
(#117)
197ca84 is described below

commit 197ca84243cf9fc37e79479cc5f43b963b40fc42
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 2 17:49:04 2025 +0200

    Bump org.apache.maven.plugins:maven-plugins from 43 to 44 (#117)
    
    * Bump org.apache.maven.plugins:maven-plugins from 43 to 44
    
    Bumps 
[org.apache.maven.plugins:maven-plugins](https://github.com/apache/maven-parent)
 from 43 to 44.
    - [Release notes](https://github.com/apache/maven-parent/releases)
    - [Commits](https://github.com/apache/maven-parent/commits/v44)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-plugins
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <supp...@github.com>
    
    * fix
    
    ---------
    
    Signed-off-by: dependabot[bot] <supp...@github.com>
    Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Sylwester Lachiewicz <slachiew...@apache.org>
---
 pom.xml                                                   |  2 +-
 .../maven/plugins/deploy/DeployFileMojoUnitTest.java      | 15 ++++++---------
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/pom.xml b/pom.xml
index 6e2e986..b500d17 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@ under the License.
   <parent>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-plugins</artifactId>
-    <version>43</version>
+    <version>44</version>
     <relativePath />
   </parent>
 
diff --git 
a/src/test/java/org/apache/maven/plugins/deploy/DeployFileMojoUnitTest.java 
b/src/test/java/org/apache/maven/plugins/deploy/DeployFileMojoUnitTest.java
index d04ef9a..f1d5a29 100644
--- a/src/test/java/org/apache/maven/plugins/deploy/DeployFileMojoUnitTest.java
+++ b/src/test/java/org/apache/maven/plugins/deploy/DeployFileMojoUnitTest.java
@@ -38,22 +38,19 @@ public class DeployFileMojoUnitTest {
 
     @BeforeEach
     public void setUp() {
-        Model pomModel = Model.newBuilder()
-                .packaging(null)
-                .parent(
-                        parent = Parent.newBuilder()
-                                .groupId("parentGroup")
-                                .artifactId("parentArtifact")
-                                .version("parentVersion")
-                                .build())
+        parent = Parent.newBuilder()
+                .groupId("parentGroup")
+                .artifactId("parentArtifact")
+                .version("parentVersion")
                 .build();
+        Model pomModel = 
Model.newBuilder().packaging(null).parent(parent).build();
         mojo = new MockDeployFileMojo(pomModel);
     }
 
     static class MockDeployFileMojo extends DeployFileMojo {
         private Model model;
 
-        public MockDeployFileMojo(Model model) {
+        MockDeployFileMojo(Model model) {
             this.model = model;
         }
 

Reply via email to