How to specify a maven repository
Posted
by swingfuture
on Stack Overflow
See other posts from Stack Overflow
or by swingfuture
Published on 2010-04-06T15:38:39Z
Indexed on
2010/04/06
15:43 UTC
Read the original article
Hit count: 248
maven-2
I am taking over a project left by previous colleague. The project is mavenized and I'm having a hard time building it. There is a inside block, which generates error when I ran mvn install. The error shows that plugin cannot be found in maven central repo. I checked and it's not there. I happened to find another internal repository that has the plugin jar file. So outside the block, I specified a to point at that internal repo. However, when I ran mvn install again, it still goes to maven central repo to look for the plugin. How do I make it look for the jar file at the right repo? I thought by specifying the list, it would automatically check that list? Other than the repo I added, there was no repository list set up previously.
© Stack Overflow or respective owner