Skip to content

Allow exclude at root level #267

@castortech

Description

@castortech

We create a number of p2 sites for different jars and use transitive resolution to resolve all dependencies. But we often end up with dependencies that are already part of another site. For example we have an apache commons p2 site with a number of apache projects. Then we have a keycloak one that pulls in a lot of apache jars that we want to exclude since they are already part of the apache p2 site.

Right now we are left with add exclude for each artifact that we find is pulling those dependencies which is very time consuming and error prone. It would be much simpler to add a top level excludes that specifies all global excludes and that get added to specific artifact exclude if any.

I looked at the code and think it would be quite easy to implement, but would first like to get some feedback before moving forward and creating a pull request for this.

Thanks
Alain

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    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