File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes maven artifact Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "maven artifact" Watch "maven artifact" New topic

maven artifact

abani patra
Ranch Hand

Joined: Oct 11, 2011
Posts: 70
How to resolve artifact missing issue ?
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Moved to the Maven forum.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

What artifact?

Here are some of the common solutions:

a) You used the wrong coordinates, so correct them
b) The artifact is not in Maven Central (or maybe it is, but not the version you want). Often the artifact is in another repository so you have to figure out which one and ad that to your pom.xml of settings.xml (or if you are using a repository manager such a Nexus, add that repository to Nexus)
c) The artifact is not in any repository. In this case you will need to manually add it to your repository using install:install-file (or deploy:deploy-file if you have Nexus)

JBoss In Action
I agree. Here's the link:
subject: maven artifact
It's not a secret anymore!