Skip to content

[Bug]: driver-bundle sources JAR contains unnecessary binaries #1913

@adam-enko

Description

@adam-enko

Version

1.59.0

Steps to reproduce

  1. I add a dependency on com.microsoft.playwright:playwright:1.59.0 in my Maven or Gradle project.
  2. My IDE (IntelliJ) automatically downloads source files for the dependencies.
  3. This causes a download of not only driver-bundle-1.59.0.jar (which is expected), but also driver-bundle-1.59.0-sources.jar, which is 214MB. This is slow, and wastes disk space.

The files can be viewed directly on Maven Central:
https://repo1.maven.org/maven2/com/microsoft/playwright/driver-bundle/1.59.0/

Expected behavior

driver-bundle-1.59.0-sources.jar contains the source files (i.e. DriverJar.java), and does not contain binaries.

Actual behavior

driver-bundle-sources.jar contains NodeJS binaries, which are unrelated to the Java sources.

Additional context

Related: #1196

Environment

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions