On Thu, Oct 11, 2012 at 6:57 PM, Wang, Simon <yunfeng.w...@ebay.com> wrote:
> Hi, Barrie,
>    Ask a stupid question about enforcer plugin.
> I added enforcer plugin into project pom like this:
>                         <plugin>
>                                         
> <groupId>org.apache.maven.plugins</groupId>
>                                         
> <artifactId>maven-enforcer-plugin</artifactId>
>                                         <version>1.1.1</version>
>                                         <executions>
>                                           <execution>
>                                                 <id>enforce</id>
>                                                 <configuration>
>                                                         <rules>
>                                                                 
> <DependencyConvergence/>
>                                                         </rules>
>                                                 </configuration>
>                                                 <goals>
>                                                   <goal>enforce</goal>
>                                                 </goals>
>                                           </execution>
>                                         </executions>
>                         </plugin>

I'm not sure, your example is a copy-and-paste of
http://maven.apache.org/enforcer/enforcer-rules/dependencyConvergence.html

However I would normally expect things to be case sensitive and the
rule index (http://maven.apache.org/enforcer/enforcer-rules/index.html)
uses "dependencyConvergence"

You could try that instead.
If it does work, I'd file a bug against the enforcer documentation.

Also, I dont expect dependencyConvergence to actually help you with performance.
Try running maven with -X and then scouring the copious amount of
output to see what it is doing and where it is spending its time.
Always measure before you optimize.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to