Hi there, You mvn install:install-file line is slightly incorrect. As you can see from the error, it is looking for version 3.0.4.GA. But when you install it, you are using -Dversion=3.0.4.
Try switching that to: -Dversion=3.0.4.GA If that fails, you might consider adding a JBOSS repository to your pom so it can find it that way. Actually, you might consider doing that anyway to save yourself future headaches. Hope that helps! -Jim -----Original Message----- From: arka.sharma [mailto:arka.sharma1...@gmail.com] Sent: Thursday, September 22, 2011 8:25 AM To: users@maven.apache.org Subject: Cannot locate the artifact jbossws-native-jaxrpc 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 help.I need it urgently. Thanks, Arka -- View this message in context: http://maven.40175.n5.nabble.com/Cannot-locate-the-artifact-jbossws-native-jaxrpc-tp4830149p4830149.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org