Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Cannot Reproduce
-
1.0-alpha-3
-
None
-
None
-
It's actuall 1.0-SNAPSHOT - maven-enforcer-plugin-1.0-20080805.234815-1.pom
Description
pom.xml Style=solid
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<executions>
<execution>
<id>check-client-es-looks-right</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireFilesSize>
<!-- the real client-es is at least 1meg -->
<minSize>1000000</minSize>
<files>
<file>${project.outputDirectory}/foo.txt</file>
<file>${project.outputDirectory}/foo2.txt</file>
</files>
</requireFilesSize>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
causes:
output Style=solid
[INFO] ------------------------------------------------------------------------ [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-enforcer-plugin:1.0-20080805.234815-1) of ype: maven-plugin; constructing POM artifact instead. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-enforcer-plugin:1.0-SNAPSHOT Cause: Class 'org.apache.maven.enforcer.rule.api.EnforcerRule' cannot be instantiated [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Mon Aug 11 20:52:33 NZST 2008 [INFO] Final Memory: 15M/27M [INFO] ------------------------------------------------------------------------
Also - if features aren't available - I would have thought a note on the website of the pages explaining how to configure them would be useful.
Cheers.