Skip to content

[BUG] Compile only Auto value processor library is included as a dependency #313

Description

@josalmi-sc

Describe the bug

Cel includes Auto value processor as a dependency in the pom.xml:

<dependency>
  <groupId>com.google.auto.value</groupId>
  <artifactId>auto-value</artifactId>
  <version>1.10.4</version>
</dependency>

This would be some big of a problem but Auto Value Processor itself is a shaded JAR and includes Kotlin Runtime among other things.

To Reproduce
Check which components this affects:

  • parser
  • checker
  • runtime

Expected behavior
Compile time only dependencies should not be part of the pom.xml.

Additional context

It will take some time to figure out CLAs etc with my company but I found out that removing this line: https://github.com/google/cel-java/blob/1cd3ab1c2cce72182ebd1b41e96c0c947fe3e1ef/BUILD.bazel#L62 solves the issue at least for locally built pom.xml using the publish.sh script

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions