The configuration looks correct. If you use mvn -X install > out.txt,
you can then look through the output and see for sure what values are
being passed to the plugin. It seems most likely that the propery isn't
being defined.

As far as the codehaus/apache versions, they are the same plugin but the
apache one hasn't been released yet:
http://maven.apache.org/plugins/maven-dependency-plugin/faq.html

-----Original Message-----
From: Gustav [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 26, 2006 4:23 PM
To: users@maven.apache.org
Subject: dependencies plugin maven 2


Hi

 ... i'm using maven 2 and i want to copy a file to a specified
directory ...

I found the dependencies plugin, with the following example

                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
        
<artifactId>dependency-maven-plugin</artifactId>
                                <executions>
                                        <execution>
        
<id>copy-dependencies</id>
                                                <phase>package</phase>
                                                <goals>
        
<goal>copy-dependencies</goal>
                                                </goals>
                                                <configuration>
        
<outputDirectory>${tomcat.jahia.dir}</outputDirectory>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>

this works ok, except that it dont take in account outputParameter
property (it was defined in project.properties) ...

I saw another examples that use a dependencies plugin from apache
instead of codehaus, but I can't find this plugin 

Any ideas ??
Another way to solve that ??

thanks in advance
--
View this message in context:
http://www.nabble.com/dependencies-plugin-maven-2-tf2883751s177.html#a80
57039
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to