I am trying to use maven-dependency-plugin (latest snapshot version) using the following configuration:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.0-SNAPSHOT</version> <executions> <execution> <id>copy_jars_to_webinf_lib</id> <phase>initialize</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${basedir}/WebContent/WEB-INF/lib</outputDirectory> <scope>compile</scope> </configuration> </execution> </executions> </plugin> However, I get the error message: [INFO] Error configuring: org.apache.maven.plugins:maven-dependency-plugin. Reason: ERROR: Cannot override read-only parameter: scope in goal: dependency:copy-dependencies Why is "scope" read-only? (See AbstractDependencyFilterMojo.scope). Thanks, Arne -- View this message in context: http://www.nabble.com/maven-dependency-plugin---Why-is-%22scope%22-parameter-read-only--tf2182289.html#a6035345 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]