Skip to content

Maven plugin (spring-boot:run) produces NPE when empty argument is passed in plugin config #9713

Closed
@alan-czajkowski

Description

@alan-czajkowski

The Maven plugin needs to have much more robust/defensive code. It is way too easy to produce a NPE with mvn spring-boot:run by just doing this:

<plugin>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-maven-plugin</artifactId>
  <configuration>
    <arguments>
      <argument></argument>
    </arguments>
  </configuration>
</plugin>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions