Skip to content

Fix mvn deploy #555

Closed
Closed

Description

@artursouza

Expected Behavior

mvn deploy does not show warnings:

Warning:  
Warning:  Some problems were encountered while building the effective model for io.dapr:dapr-sdk-autogen:jar:1.1.0
Warning:  'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.grpc:grpc-stub:jar -> version (?) vs 1.33.1 @ line 50, column 17
Warning:  
Warning:  Some problems were encountered while building the effective model for io.dapr:dapr-sdk-springboot:jar:1.1.0
Warning:  'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-web:jar -> duplicate declaration of version 5.2.10.RELEASE @ line 92, column 17
Warning:  
Warning:  Some problems were encountered while building the effective model for io.dapr:dapr-sdk-examples:jar:1.1.0
Warning:  'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 100, column 16
Warning:  'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 175, column 15
Warning:  'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 190, column 15
Warning:  
Warning:  It is highly recommended to fix these problems because they threaten the stability of your build.
Warning:  
Warning:  For this reason, future Maven versions might no longer support building such malformed projects.
Warning:  

Actual Behavior

Warnings are shown.

Steps to Reproduce the Problem

mvn -V -B -Dgpg.skip=false -s settings.xml deploy -pl !examples

Release Note

RELEASE NOTE:

Activity

  1. added this to the v1.2 milestone on Jun 3, 2021
  2. removed this from the v1.2 milestone on Jun 17, 2021
  3. javier-aliaga commented on Oct 15, 2026

    @javier-aliaga
    Contributor

    none left, deploy goes through Central

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions