You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2010/02/21 15:22:51 UTC
t5: maven problem
Hi,
suddenly I can not build my t5 app, got following error:
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
mvn install:install-file -DgroupId=org.apache.maven.plugins
-DartifactId=maven-resources-plugin -Dversion=2.4.2
I do see 2.4.1 in my repository, don't know why it is looking for 2.4.2
today, and can't find 2.4.2 reference in the pom file, is there a way to
force it to use 2.4.1? thanks,
Angelo
--
View this message in context: http://old.nabble.com/t5%3A-maven-problem-tp27675977p27675977.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: t5: maven problem
Posted by Hilco Wijbenga <hi...@gmail.com>.
On 21 February 2010 06:22, Angelo Chen <an...@yahoo.com.hk> wrote:
> suddenly I can not build my t5 app, got following error:
>
> 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
>
> mvn install:install-file -DgroupId=org.apache.maven.plugins
> -DartifactId=maven-resources-plugin -Dversion=2.4.2
>
> I do see 2.4.1 in my repository, don't know why it is looking for 2.4.2
> today, and can't find 2.4.2 reference in the pom file, is there a way to
> force it to use 2.4.1? thanks,
Presumably you didn't set the version so do that:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.1</version>
</plugin>
</plugins>
Or better yet, start using the Enforcer plugin
(http://maven.apache.org/plugins/maven-enforcer-plugin/, specifically
http://maven.apache.org/enforcer/enforcer-rules/requirePluginVersions.html).
Cheers,
Hilco
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org