Does your project have your company repository listed as a
pluginRepository? (not just a normal repository)

On 11/9/05, KC Baltz <[EMAIL PROTECTED]> wrote:
> I've pulled the Tomcat plugin from codehaus via svn and had good success 
> installing and using it.  Now I'd like to deploy it to our internal remote 
> repository.  I can run the deploy (not tomcat:deploy) goal and everything 
> appears to work.  however, when I delete the maven-tomcat-plugin directory 
> from my ~/.m2/repository tree, to force a new download, it doesn't work.  I 
> get the following:
>
> [INFO] A required plugin was not found: Plugin could not be found - check 
> that the goal name is correct: Unable to download the artifact from any 
> repository
>   org.codehaus.mojo:tomcat-maven-plugin:1.0-SNAPSHOT:maven-plugin
>
> from the specified remote repositories:
>   central ( http://repo1.maven.org/maven2)
>
>   org.codehaus.mojo:tomcat-maven-plugin:1.0-SNAPSHOT:maven-plugin
>
> from the specified remote repositories:
>   central ( http://repo1.maven.org/maven2)
>
> If I do a 'find tomcat-maven-plugin' in ~/.m2/repository/org/codehaus/mojo, I 
> get the following:
>
> tomcat-maven-plugin
> tomcat-maven-plugin/1.0-SNAPSHOT
> tomcat-maven-plugin/1.0-SNAPSHOT/maven-metadata-CopartRelease.xml
> tomcat-maven-plugin/1.0-SNAPSHOT/tomcat-maven-plugin-1.0-20051108.212942-4.pom
> tomcat-maven-plugin/1.0-SNAPSHOT/tomcat-maven-plugin-1.0-SNAPSHOT.pom
>
> In my pom.xml that's trying to use the plugin, I have the following:
>
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>tomcat-maven-plugin</artifactId>
>                 <version>1.0-SNAPSHOT</version>
>                 <configuration>
>                     <server>tomcatLocal</server>
>                     <path>/cpf</path>
>                     <url>${tomcat.manager.url}</url>
>                 </configuration>
>             </plugin>
>
> Can anyone help?
>
> K.C.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to