Hi,
I am having a project where in the pom.xml there is no dependency as "groupId=org.jboss.ws.native" and "artifactId=jbossws-native-jaxrpc".But it is showing build failure because of "Could not find artifact org.jboss.ws.native:jbossws-native-jaxrpc:jar:3.0.4.GA in central (http://repo1.maven.org/maven2".So I already have a jar named "jbossws-native-jaxrpc.jar" in my JBoss client folder.So I installed it by giving this command
"E:\Maven\sdp>mvn install:install-file -DgroupId=org.jboss.ws.native -DartifactId=jbossws-native-jaxrpc -Dpackaging=jar -
Dfile="C:\Documents and Settings\gur27275\Desktop\Jars\MDBLIBS\jbossws-native-jaxrpc.jar" -Dversion=3.0.4"
It shows Build Success.But when I again did "mvn clean cobertura:cobertura" it is again shownig the following error
"Could not find artifact org.jboss.ws.native:jbossws-native-jaxrpc:jar:3.0.4.GA in central (http://repo1.maven.org/maven2".So I already have a jar named "jbossws-native-jaxrpc.jar"
Previously also I was trying to execute the same goal.
Please post the full mvn output and the pom.xml. It might be that this is just an informational message, Maven at times attempts to locate the artifact in a remote repository to determine if a newer version is available. But without seeing your pom.xml or seeing the full mvn output, it is hard to tell.
This is the maven output for "mvn clean cobertura:cobertura"
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sdp: Could not resolve dependencies for project com.sdp:sdp:jar:1.0-SNAPSHOT:
Could not find artifact org.jboss.ws.native:jbossws-native-jaxrpc:jar:3.0.4.GA in central (http://repo1.maven.org/maven2 ) -> [Help 1]
I have downloaded "jbossws-native-jaxrpc-3.0.4.GA.jar" from the link below