Hi!
I would like to install Codehaus tomcat-maven-plugin into my local repository.
One way is to download the sources from subversion repository, compile them
and install with the 'mvn install:install', which works like a charm (but it's
not automatic, though).
AFAIK the other way is to use Codehaus snapshots repository
(http://snapshots.maven.codehaus.org/maven2/).
So how to force maven to download the tomcat-maven-plugin from the Codehaus
repository?
Do I have to add it as a dependency?
I've added <mirrors> section to my settings.xml, but it doesn't work for me.
Here are excerpts from my settings.xml and pom.xml:
settings.xml:
<settings>
...
<mirrors>
<mirror>
<id>codehaus</id>
<mirrorOf>central</mirrorOf>
<url>http://snapshots.maven.codehaus.org/maven2/</url>
</mirror>
</mirrors>
...
</settings>
pom.xml:
<build>
<plugins>
...
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
</plugin>
...
</plugins>
</build>
Regards,
Jakub
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]