Chris Maness
Chris Maness

Reputation: 1678

Maven not looking for plugin in repository

I have a small problem in which I'm looking to use both the default Maven repository and another repository for my organization. When I go to compile it throws a whole list of warnings that packages aren't available. Then at the very end of the error it list places that it looked. It checks my local repository (.m2/) and my organization repository but it won't check the original default repository. Has anyone run into this issue before?

Upvotes: 0

Views: 233

Answers (1)

Robin
Robin

Reputation: 24262

Have you checked the repositories that are configured in your MAVEN_HOME/conf/settings.xml file. All the repos you are using should be listed in there.

You will need this config file to include your organizations repo, but you will have to add the apache one as well when you override the default.

Upvotes: 1

Related Questions