Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning 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
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

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
 
You can thank my dental hygienist for my untimely aliveness. So tiny:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic