GithubHelp home page GithubHelp logo

Comments (5)

dialex avatar dialex commented on June 6, 2024 1

Ups, I assumed it would still be compatible with Java 8. Pushed a fix on v5.5.1.

from jcolor.

federicotg avatar federicotg commented on June 6, 2024

Hi @dialex , as it stands the only workaround is adding an exclusion

    <dependency>
        <groupId>com.diogonunes</groupId>
        <artifactId>JColor</artifactId>
        <version>5.4.1</version>
        <exclusions>
            <exclusion>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

from jcolor.

dialex avatar dialex commented on June 6, 2024

Oh no, thanks for letting me know! That was introduced by #61

@robertcsakany the dependency you added is causing this issue.
Do you know if there's a way to tell Maven that is a "build" or "dev" only dependency, like the <scope>test</scope>? The goal is that people you use JColor don't have to download maven-bundle-plugin and its dependencies?

After reading that link, feels like scope test is the way to go, as this is not needed during runtime.

from jcolor.

dialex avatar dialex commented on June 6, 2024

I released the fix in v5.5.0, can you please confirm that it works (ie. the other dependencies are gone)?

from jcolor.

federicotg avatar federicotg commented on June 6, 2024

I released the fix in v5.5.0, can you please confirm that it works (ie. the other dependencies are gone)?

v5.5.0 only runs in java 18+

maven.compiler.target should be 1.8.

@dialex

 bad class file: /home/user/.m2/repository/com/diogonunes/JColor/5.5.0/JColor-5.5.0.jar(/com/diogonunes/jcolor/Ansi.class)
    class file has wrong version 62.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.

from jcolor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.