Drew
Drew

Reputation: 4691

The plugin 'org.apache.maven.plugins:maven-tomcat-plugin' does not exist or no valid version could be found

I keep getting this error when I call 'tomcat:run'.

The plugin 'org.apache.maven.plugins:maven-tomcat-plugin' does not exist or no valid version could be found

My company hosts mvn repositories locally via 'activeprofile'. Is this preventing mvn from acquiring the plugin from the WWW location? If so, how can I activate that too...

Upvotes: 1

Views: 1648

Answers (3)

Drew
Drew

Reputation: 4691

Cleared up after I deleted the repository in ~\.m2 (%userprofile%\.m2). Maybe poor interaction b/t various maven/tomcat eclipse plugin

Upvotes: 1

Pascal Thivent
Pascal Thivent

Reputation: 570285

My company hosts mvn repositories locally via 'activeprofile'. Is this preventing mvn from acquiring the plugin from the WWW location?

It's impossible to answer this question, it all depends of the configuration of your maven client and/or the corporate repository.

If so, how can I activate that too...

Assuming your company does not allow accessing the central repository, bypassing this policy is not a good idea. You should discuss your requirement with the people administering the repository.

Upvotes: 0

khmarbaise
khmarbaise

Reputation: 97348

The company repos (assuming they are using a repo manager) controlles what is in it ...so this has to be changed.

Upvotes: 0

Related Questions