I tried to use
mvn findbugs:findbugs findbugs:gui
and got the errors below. Has anyone else been able to use this lately?
- Tim
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.glassfish:findbugs:jar:4.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.glassfish -
DartifactId=findbugs -Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=/
path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.glassfish -
DartifactId=findbugs -Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=/
path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.codehaus.mojo:findbugs-maven-plugin:maven-plugin:2.3.2
2) org.glassfish:findbugs:jar:4.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.codehaus.mojo:findbugs-maven-plugin:maven-plugin:2.3.2
from the specified remote repositories:
glassfish-repo-archive (
http://maven.glassfish.org/content/groups/glassfish
),
central (
http://repo1.maven.org/maven2),
codehaus-snapshots (
http://nexus.codehaus.org/snapshots/),
codehaus.org (
http://snapshots.repository.codehaus.org)