Hi, 

I´m using the "maven-depgraph-plugin" to generate dependency-visualization 
graphics, which I want to include in the generated website.
This plugin has 2 goals and I need a different configuration for each goal

1) for "depgraph" goal no groupFilter is necessary, I want to see all the 
dependencies
2) for "fullgraph" goal a groupFilter "com.mycompany" is necessary,  I 
want to see only the "com.mycompany" module dependencies.

I tried to configure it like below, but it doesn´t work.

<build>
<plugins>
        <plugin>
                <groupId>ch.elca.el4j.maven.plugins</groupId>
                <artifactId>maven-depgraph-plugin</artifactId>
 
                <goals>
                        <goal>
                                <id>depgraph</id>
                                <configuration>
 <outDir>target/site/images</outDir>
 <outFile>${pom.artifactId}.png</outFile>
                                </configuration>
                        </goal> 
                        <goal>
                                <id>fullgraph</id>
                                <configuration>
 <outDir>target/site/images</outDir>
 <outFile>${pom.artifactId}.png</outFile>
 <groupFilter>com.gide</groupFilter>
                                </configuration>
                        </goal>
                </goals>
        </plugin> 
</plugins>
</build>

How can I specify different configurations for one plugin wiht multiple 
goals, if the goals are not bound to a standard Maven lifecycle phase ?
If they were, I would use the "<executions>" mechanism.....


Thanx, Torsten

Reply via email to