Skip to content

Save and restore existing system properties in maven plugin #2232

@markcuk

Description

@markcuk

Currently the maven plugin sets system properties when environmentVariables are specified in the pom. These system properties are never reset however and therefore in a multi-module maven build or in an IDE such as Eclipse those system properties will interfere with other modules that are also using the swagger-codegen maven plugin.

For example if I have module a that generates model objects and module b that generates apis if I run a multi-module build (with a running then b) module b will generate both model objects and apis.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions