Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I am not able to download a jar dependency from the central maven repository.

[ERROR] Plugin com.fmr.ctg.hr.hrdh.bro:hrdh-h2-maven-plugin:1.0-SNAPSHOT or one
of its dependencies could not be resolved: Failed to read artifact descriptor fo
r com.fmr.ctg.hr.hrdh.bro:hrdh-h2-maven-plugin:jar:1.0-SNAPSHOT: Could not find
artifact com.fmr.ctg.hr.hrdh.bro:hrdh-h2-maven-plugin:pom:1.0-SNAPSHOT -> [Help
1]

The jar has a dependency
pom.xml

<plugin>
<groupid>com.fmr.ctg.hr.hrdh.bro
<artifactid>hrdh-h2-maven-plugin
<version>1.0-SNAPSHOT
<dependencies>
<dependency>
<groupid>com.h2database
<artifactid>h2
<scope>runtime
<version>${h2.version}




The local repository has the h2.database jar. But somehow the local repository has the hrdh-h2-maven-plugin deleted.

I tried mvn clean install -U but it does not download the jar into local repository.

we use a Nexus repository which has this jar. How do I get Maven to download this jar.

Kindly help.
Posted
Comments
Richard MacCutchan 15-Aug-13 3:37am    
You are much more likely to get an answer to this question at the Maven website.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900