Skip to content

[java] arrow should not have a dependency on slf4j bridges in compile #16339

Closed

Description

@asfimport

See:

<dependency>

as a library, arrow should not pick the direction of the bridges.

We should move those to test scope

Reporter: Julien Le Dem / @julienledem
Assignee: Julien Le Dem / @julienledem

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-720. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Apr 8, 2017

    @asfimport
    Author

    Wes McKinney / @wesm:
    I'm getting the following build errors in IntelliJ, but not when running mvn test on the command line. is this related?

    SLF4J: The requested version 1.5.6 by your slf4j binding is not compatible with [1.6, 1.7]
    SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO] 
    [INFO] Apache Arrow Java Root POM ........................ FAILURE [0.586s]
    [INFO] Arrow Format ...................................... SKIPPED
    [INFO] Arrow Memory ...................................... SKIPPED
    [INFO] Arrow Vectors ..................................... SKIPPED
    [INFO] Arrow Tools ....................................... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 0.742s
    [INFO] Finished at: Sat Apr 08 17:11:40 EDT 2017
    [INFO] Final Memory: 20M/633M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (validate) on project arrow-java-root: Execution validate of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check: java.lang.AbstractMethodError: org.slf4j.impl.JDK14LoggerAdapter.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
    [ERROR] -----------------------------------------------------
    [ERROR] realm =    plugin>org.apache.maven.plugins:maven-checkstyle-plugin:2.17
  2. asfimport commented on Apr 11, 2017

    @asfimport
    Author

    Julien Le Dem / @julienledem:
    possibly. Although it's more related to this:
    55d8f99
    I think it is an interaction between the version of maven and maven plugins who use incompatible versions of slf4j...
    you can add the parameter -Dcheckstyle.skip as a workaround

  3. asfimport commented on Apr 14, 2017

    @asfimport
    Author
  4. asfimport commented on Apr 15, 2017

    @asfimport
    Author

    Wes McKinney / @wesm:
    Issue resolved by pull request 541
    #541

  5. added this to the 0.3.0 milestone on Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions