|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Maven: Artifact not foundHi all:
I'm having difficulties integrating sonar with maven. I've just installed Sonar server (version 1.11.1) on a server, URL http://myserver:8080/sonar. I've modified my project's POM so the sonar server URL is set. But when I try to execute mvn sonar:sonar, I get the following: [INFO] [sonar:sonar] [INFO] Sonar host: http://myerver:8080/sonar [INFO] Sonar version: 1.11.1 Downloading: http://myrepository/artifactory-2.0.0/repo/org/codehaus/sonar/runtime/sonar-core-maven-plugin/20091112182227/sonar-core-maven-plugin-20091112182227.pom Downloading: http://myrepository/artifactory-2.0.0/repo/org/codehaus/sonar/runtime/sonar-core-maven-plugin/20091112182227/sonar-core-maven-plugin-20091112182227.pom Downloading: http://myrepository/artifactory-2.0.0/repo/org/codehaus/sonar/runtime/sonar-core-maven-plugin/20091112182227/sonar-core-maven-plugin-20091112182227.pom Downloading: http://myrepository/artifactory-2.0.0/repo/org/codehaus/sonar/runtime/sonar-core-maven-plugin/20091112182227/sonar-core-maven-plugin-20091112182227.pom [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GroupId: org.codehaus.sonar.runtime ArtifactId: sonar-core-maven-plugin Version: 20091112182227 Reason: Unable to download the artifact from any repository org.codehaus.sonar.runtime:sonar-core-maven-plugin:pom:20091112182227 from the specified remote repositories: appInt (http://appint.map.es/artifactory-2.0.0/repo) So, it seems that it's trying to download a repository that isn't in codehaus repository. Any idea about what am I missing? Thank you very much in advance Bones |
|
|
Re: Maven: Artifact not foundOops... I hadn't configured the internal Sonar Maven repository.
I just had to add the URL http://myserver:myport/sonar/deploy/maven as a repository on my repository manager, and then the needed artifacts are downloaded when Maven runs. My fault...
|
| Free embeddable forum powered by Nabble | Forum Help |