Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Cannot locate the artifact jbossws-native-jaxrpc

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Arka Sharma
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This the content of pom.xml



 
Arka Sharma
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
    Bookmark Topic Watch Topic
  • New Topic