George and others,<div><br></div><div>It sounds like the Forge build could use some validations to ensure the person building the project has an environment that matches the minimum requirements. Obviously, you want as few validations as possible (to make it more portable) but you can work to eliminate them once you know what they are.</div>

<div><br></div><div><a href="http://maven.apache.org/plugins/maven-enforcer-plugin/">http://maven.apache.org/plugins/maven-enforcer-plugin/</a></div><div><br></div><div>Also, newer versions of Maven are suppose to be able to differentiate between origins of dependencies in the local repository, so we should probably be looking closer at the cases when we tell users to clean it out.</div>

<div><br></div><div>Just some suggestions.</div><div><br></div><div>-Dan<br><br><div class="gmail_quote">On Fri, Aug 24, 2012 at 8:58 AM, George Gastaldi <span dir="ltr">&lt;<a href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF"><div>Try upgrading your JDK 6 to the latest build<br><br>Em 24/08/2012, às 09:43, JFlower &lt;<a href="mailto:fiorenzino@gmail.com" target="_blank">fiorenzino@gmail.com</a>&gt; escreveu:<br>

<br></div><div><div class="h5"><div></div><blockquote type="cite"><div>Hi,<div><br></div><div>i have this error with mvn clean package</div><div><br></div><div><div>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project forge-shell-api: Compilation failure</div>


<div><b>[ERROR] /home/fiorenzo/git/core/shell-api/src/main/java/org/jboss/forge/shell/util/ResourceUtil.java:[111,23] invalid inferred types for R; inferred type does not conform to declared bound(s)</b></div><div><b>[ERROR] inferred: java.util.Collection&lt;E&gt;</b></div>


<div><b>[ERROR] bound(s): java.util.Collection&lt;org.jboss.forge.resources.Resource&lt;?&gt;&gt;</b></div><div><b>[ERROR] -&gt; [Help 1]</b></div><div>[ERROR] </div><div>[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.</div>


<div>[ERROR] Re-run Maven using the -X switch to enable full debug logging.</div><div>[ERROR] </div><div>[ERROR] For more information about the errors and possible solutions, please read the following articles:</div><div>


[ERROR] [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException" target="_blank">http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</a></div><div>[ERROR] </div><div>[ERROR] After correcting the problems, you can resume the build with the command</div>


<div>[ERROR]   mvn &lt;goals&gt; -rf :forge-shell-api</div></div><div><br></div><div><br></div><div>[ubuntu 12.04 - Apache Maven 3.0.4 - Java version: 1.6.0_24, vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre Default locale: it_IT, platform encoding: UTF-8 OS name: &quot;linux&quot;, version: &quot;3.2.0-29-generic&quot;, arch: &quot;amd64&quot;, family: &quot;unix&quot;]</div>


<div><br></div><div><span style="line-height:18px;color:rgb(51,51,51);font-size:13px;font-family:arial,sans-serif">Any help on this?</span></div><div><span style="line-height:18px;color:rgb(51,51,51);font-size:13px;font-family:arial,sans-serif"><br>


</span></div><div><span style="line-height:18px;color:rgb(51,51,51);font-size:13px;font-family:arial,sans-serif">Fiorenzo</span></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>forge-dev mailing list</span><br><span><a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a></span><br>

<span><a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a></span><br></div></blockquote></div><br>_______________________________________________<br>


forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><div><a href="http://google.com/profiles/dan.j.allen" target="_blank">http://google.com/profiles/dan.j.allen</a><br>

<a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br></div><br>
</div>