Skip to content

maven-deploy-plugin is included as a transitive dependency in 1.7.1 #170

Closed

Description

@myuwono

Hi All,

I wonder if the inclusion of maven-deploy-plugin in the 1.7.1 release intended?

https://github.com/splunk/splunk-sdk-java/blob/master/pom.xml#L34-L39

We realized this because our security scanner picked that up in the deployment bundle. Right now we needed to explicitly exclude this in our pom, to prevent this from being included. i.e.

        <!-- Splunk -->
        <dependency>
            <groupId>com.splunk</groupId>
            <artifactId>splunk</artifactId>
            <version>1.7.1</version>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

Thanks!

Activity

  1. bparmar-splunk commented on Sep 2, 2021

    @bparmar-splunk
    Contributor

    Hi @myuwono,
    Thanks for posting this.

    Yes, it was intentionally kept earlier with regards to SDK v1.7.0, because we have skipped parent pom deployment and only deployment of splunk (child module) was targeted.
    But in recent version (i.e. v1.7.1), we had deployed parent module, due to missing dependencies in child.

    So as a part of next release, we are planning to add deploy plugin in parent and remove it from splunk module.

  2. bparmar-splunk commented on Dec 10, 2021

    @bparmar-splunk
    Contributor

    We have successfully released Java SDK new version 1.8.0.
    This issue is already been part of this release.
    Hence, closing this ticket.

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