GithubHelp home page GithubHelp logo

Comments (4)

hgschmie avatar hgschmie commented on June 25, 2024

Ok, I see what you are saying. This is a weird jar.

from duplicate-finder-maven-plugin.

hgschmie avatar hgschmie commented on June 25, 2024

I am pretty sure that you can not exclude the files using class name patterns. "1.0" is not a legal package identifier and not a legal class name either. What should be possible is to exclude these as resource patterns. I will add an integration test for this.

What would be really helpful if you had a test case of what exactly you are trying to accomplish and whether this error happens all the time or only when you add a specific resource or class pattern.

from duplicate-finder-maven-plugin.

hgschmie avatar hgschmie commented on June 25, 2024

This change requires quite a bit of reworking of the logic how pathes are translated to package names. I am still pretty sure that you can not get away with 1.0. for a class exclusion but you have to do a resource exclusion.

I released 1.3.0 without my work in progress here because I will not be able to work on this for a while. I will try to get this into a 1.3.1 release.

from duplicate-finder-maven-plugin.

hgschmie avatar hgschmie commented on June 25, 2024

the fix for #33 also reworks the way package names are parsed. As a result, the elements in the 1.0 subfolder are now considered resources, not classes. There is probably some way that the OSGi classloader shims those onto the class path proper; the plugin will not accommodate for that (unless someone sends in a patch). The jar no longer causes the plugin to crash.

from duplicate-finder-maven-plugin.

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.