Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banned dependencies in release 6.0.2 #118

Open
Bigtuna00 opened this issue Dec 2, 2019 · 1 comment
Open

Banned dependencies in release 6.0.2 #118

Bigtuna00 opened this issue Dec 2, 2019 · 1 comment

Comments

@Bigtuna00
Copy link
Contributor

Bigtuna00 commented Dec 2, 2019

I'm trying to use release 6.0.2 as a dependency in another project. Maven complains about two banned dependencies:

[WARNING] Rule 6: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
asm:asm must not be used, use org.ow2.asm:asm instead
Found Banned Dependency: asm:asm:jar:3.3.1
Use 'mvn dependency:tree' to locate the source of the banned dependencies.
[WARNING] Rule 7: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
cglib:cglib must not be used, use cglib:cglib-nodep instead
Found Banned Dependency: cglib:cglib:jar:3.2.12
Use 'mvn dependency:tree' to locate the source of the banned dependencies.

These aren't dependencies in my project, they appear to come from

<version>3.3.1</version>
and
<version>3.2.12</version>

@Bigtuna00
Copy link
Contributor Author

Added enforcer exclusions for these two and now I get:

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
javax.ws.rs:jsr311-api must not be used, use com.sun.jersey:jersey-core instead

For some reason excluding this one doesn't work...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant