> particular jar. So I found the jar in the onlilne maven repository and found
> the project coordinates of that jar from that repo and then I tried to run
> mvn package, so that it will pick the jar from that online repo. But it gave
> the same error.I also added the repository tag.

Look at the error again. It is not complaining about the jar file. It
cannot find the pom file.

> Also, my doubt, when the jar is present in my local repository why is maven
> not picking it up from the local repo, why does it look into the online
> repo?Whaat is the reason for that?

Most likely you only have the jar in your local repo -- you need the pom too.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to