You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matt Raible <mr...@gmail.com> on 2006/08/24 19:20:22 UTC
The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist
I've added the maven-antrun-plugin to my pom.xml as shown below.
However, it can't seem to find the plugin.
INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does
not exist or no valid version could be found
Any ideas?
Thanks,
Matt
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>test</phase>
<configuration>
<tasks>
<echo>beotch!</echo>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
</plugin>
</plugins>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
<testResource>
<directory>src/main/webapp</directory>
<includes>
<include>**/*.xml</include>
</includes>
</testResource>
</testResources>
</build>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist
Posted by Matt Raible <mr...@gmail.com>.
Adding a <version> element fixed the problem.
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
Is this really necessary? If so, how do I say "get the latest version
of the plugin"?
Thanks,
Matt
On 8/24/06, Matt Raible <mr...@gmail.com> wrote:
> I've added the maven-antrun-plugin to my pom.xml as shown below.
> However, it can't seem to find the plugin.
>
> INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does
> not exist or no valid version could be found
>
> Any ideas?
>
> Thanks,
>
> Matt
>
> <build>
> <defaultGoal>install</defaultGoal>
> <plugins>
> <plugin>
> <artifactId>maven-antrun-plugin</artifactId>
> <executions>
> <execution>
> <phase>test</phase>
> <configuration>
> <tasks>
> <echo>beotch!</echo>
> </tasks>
> </configuration>
> <goals>
> <goal>run</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> <plugin>
> <artifactId>maven-war-plugin</artifactId>
> </plugin>
> </plugins>
> <testResources>
> <testResource>
> <directory>src/test/resources</directory>
> </testResource>
> <testResource>
> <directory>src/main/webapp</directory>
> <includes>
> <include>**/*.xml</include>
> </includes>
> </testResource>
> </testResources>
> </build>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE : The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does
not exist
Posted by Olivier Lamy <ol...@accor.com>.
Hi,
Try again with -U.
If not again : rm -rf $HOME/.m2/repository
--
Olivier
-----Message d'origine-----
De : Matt Raible [mailto:mraible@gmail.com]
Envoyé : jeudi 24 août 2006 19:20
À : Maven Users List
Objet : The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does
not exist
I've added the maven-antrun-plugin to my pom.xml as shown below.
However, it can't seem to find the plugin.
INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does
not exist or no valid version could be found
Any ideas?
Thanks,
Matt
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>test</phase>
<configuration>
<tasks>
<echo>beotch!</echo>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
</plugin>
</plugins>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
<testResource>
<directory>src/main/webapp</directory>
<includes>
<include>**/*.xml</include>
</includes>
</testResource>
</testResources>
</build>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
**********************************************************************
Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org