This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Cannot locate the artifact jbossws-native-jaxrpc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Cannot locate the artifact jbossws-native-jaxrpc" Watch "Cannot locate the artifact jbossws-native-jaxrpc" New topic
Author

Cannot locate the artifact jbossws-native-jaxrpc

Arka Sharma
Ranch Hand

Joined: Jun 15, 2011
Posts: 103

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
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

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.


JBoss In Action
Arka Sharma
Ranch Hand

Joined: Jun 15, 2011
Posts: 103
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

https://repository.jboss.org/nexus/content/repositories/releases/org/jboss/ws/native/jbossws-native-jaxrpc/3.0.4.GA/jbossws-native-jaxrpc-3.0.4.GA.jar.

And installed it.
Arka Sharma
Ranch Hand

Joined: Jun 15, 2011
Posts: 103
This the content of pom.xml



Arka Sharma
Ranch Hand

Joined: Jun 15, 2011
Posts: 103

Now it is solved.I had to give "-Dversion=3.0.4.GA" instead of "-Dversion=3.0.4".Thanks Peter for your reply.

Thanks,
Arka
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot locate the artifact jbossws-native-jaxrpc
 
Similar Threads
Transitive Dependency Problem
Maven settings: Need an explaination for Beginer MVN User.
Maven Repo Location
new to maven, error in mvn war:war
Maven newbie - installing jars