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

Returning issue with 404 to dependency "Could not find sisu-guice-3.1.0-noaop.jar" #37

Open
j-blandford opened this issue Sep 20, 2023 · 1 comment

Comments

@j-blandford
Copy link

Trying to run a build.gradle now gives me this error:

> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find sisu-guice-3.1.0-noaop.jar (org.sonatype.sisu:sisu-guice:3.1.0).
     Searched in the following locations:
         https://repo.maven.apache.org/maven2/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-noaop.jar

if you go to the folder https://repo.maven.apache.org/maven2/org/sonatype/sisu/sisu-guice/3.1.0/ you can see the actual filename should be https://repo.maven.apache.org/maven2/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar (with an underscore)

I have run gradle dependencies and this is the output in particular.

+--- com.hcl.security:appscan-maven-plugin:1.0.7
|    +--- org.apache.maven:maven-plugin-api:3.1.1
|    |    +--- org.apache.maven:maven-model:3.1.1
|    |    |    \--- org.codehaus.plexus:plexus-utils:3.0.15
|    |    +--- org.apache.maven:maven-artifact:3.1.1
|    |    |    \--- org.codehaus.plexus:plexus-utils:3.0.15
|    |    \--- org.eclipse.sisu:org.eclipse.sisu.plexus:0.0.0.M5
|    |         +--- javax.enterprise:cdi-api:1.0
|    |         |    +--- javax.annotation:jsr250-api:1.0
|    |         |    \--- javax.inject:javax.inject:1
|    |         +--- com.google.guava:guava:10.0.1
|    |         |    \--- com.google.code.findbugs:jsr305:1.3.9
|    |         +--- org.sonatype.sisu:sisu-guice:3.1.0

how do we disable "noaop" flag for sisu? just the base jar will work (avoiding "noaop")

As you can see, the root is "maven-plugin" which is this repo (closed the one in the gradle repo)

@mattmurp
Copy link
Contributor

Hi,

The dependency on org.sonatype.sisu:sisu-guice:3.1.0 is a transitive dependency. It's not a direct dependency of the appscan-maven-plugin.
Also, what's the purpose of adding a Maven plugin as a dependency to a gradle build? If you're trying to run a scan of your Gradle project, I suggest using the AppScan Gradle plugin.

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

2 participants