On 21 February 2010 06:22, Angelo Chen <angelochen...@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-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org