<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
Ales,<BR>
<BR>
There is an issue with the enforcer plugin when running from within intellij. Have you tried to import the project directly from idea? This is what I do, and while I still get the error, somehow it does not seem to affect my ability to work properly (deps are solved correctly, project builds, etc).<BR>
<BR>
Marius<BR>
<BR>
On Wed, 2009-10-14 at 21:11 +0200, Ales Justin wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Any idea what to fix here:
C:\projects\weld\extensions>mvn idea:idea
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Weld Extensions BOM
[INFO] Weld Extensions parent
[INFO] Weld Servlet support build aggregator
[INFO] Weld Servlet Integration
[INFO] Weld Servlet module
[INFO] Weld Servlet Integration: Tomcat Support
[INFO] Weld Servlet Integration Tests
[INFO] Weld SE Support
[INFO] Weld Injectable Logger
[INFO] Weld Wicket support
[INFO] Weld Extensions Build Aggregator
[INFO] Searching repository for plugin with prefix: 'idea'.
[INFO]
------------------------------------------------------------------------
[INFO] Building Weld Extensions BOM
[INFO] task-segment: [idea:idea]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing idea:idea
[INFO] [enforcer:enforce {execution: enforce}]
[WARNING] Rule 1:
org.apache.maven.plugins.enforcer.RequirePluginVersions failed with message:
Some plugins are missing valid versions:(LATEST RELEASE SNAPSHOT are not
allowed )
org.apache.maven.plugins:maven-idea-plugin. The version currently in
use is 2.2
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Some Enforcer rules have failed. Look above for specific messages
explaining why the rule failed.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Wed Oct 14 21:01:34 CEST 2009
[INFO] Final Memory: 10M/18M
[INFO]
------------------------------------------------------------------------
_______________________________________________
weld-dev mailing list
<A HREF="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</A>
<A HREF="https://lists.jboss.org/mailman/listinfo/weld-dev">https://lists.jboss.org/mailman/listinfo/weld-dev</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>