I just double checked the code and this should work. Is it displaying
the list to the output? If not, then it's going to a file somewhere. It
would be better to use ${project.build.directory}/output.txt instead so
it goes to /target/output.txt

-----Original Message-----
From: Davis Ford [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 19, 2008 4:46 PM
To: Maven Users List
Subject: maven-dependency-plugin

Hi, I'm trying to use the maven-dependency-plugin to dump a list of
the project's dependencies out to a text file, but I can not seem to
get it to do anything.

relevant configuration:

                          <plugin>
        
<groupId>org.apache.maven.plugins</groupId>
        
<artifactId>maven-dependency-plugin</artifactId>
                                <version>2.0</version>
                                <executions>
                                        <execution>
        
<id>write-dependencies</id>
                                                <phase>compile</phase>
                                                <goals>
        
<goal>list</goal>
                                                </goals>
                                                <configuration>
        
<outputFile>dependencies.txt</outputFile>
                                                </configuration>
                                        </execution>
                                </executions>                   
                        </plugin>
                </plugins>
        </build>

I would expect that if I do "mvn compile" it would create
dependencies.txt but it does not.  Anyone have an idea what I'm doing
wrong here?

Thanks in advance,
Davis

---------------------------------------------------------------------
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