Here are all the steps I had to take to build completely with a fresh .m2.  It wasn&#39;t this hard a few weeks ago; I think some of the upstream repositories have been changing.<div><br></div><div>(using maven 2.0.11)<br>
<div><br></div><div>1)</div><div>Problem:  jms.jar (version 1.1) missing from maven upstream.</div><div>Cause:  Maven central is missing the JMS jar from the current POM group and artifact id. I&#39;m not sure if this is related to current cleanup efforts by central, (<a href="http://www.sonatype.com/people/2010/03/why-external-repos-are-being-phased-out-of-central/">http://www.sonatype.com/people/2010/03/why-external-repos-are-being-phased-out-of-central/</a>) but it could be.</div>
<div>Solution:  Open up drools/trunk/pom.xml and add &#39;<a href="https://repository.jboss.org/maven2">https://repository.jboss.org/maven2</a>&#39; repository (non nexus version).</div><div>Comments:  jboss is switching to nexus repos, i&#39;d advocate moving the jms.jar to the nexus url to prevent a one off repo add.</div>
<div><br></div><div>2)</div><div>Problem:  missing errai-common and errai-bus jars (version 1.1-M1) from repo.</div><div>Cause:  errai has not posted 1.1-M1 to maven artifact server.</div><div>Solution:  check out errai source, build from tag, install into .m2.</div>
<div><br></div><div>3)</div><div>Problem:  errai won&#39;t build due to missing grizzly jars.</div><div>Cause:  missing repo definition in errai pom files.</div><div>Solution:  Open up tags/errai-1.1-M1/pom.xml and add repo &#39;<a href="http://download.java.net/maven/2/">http://download.java.net/maven/2/</a>&#39;.</div>
<div><br></div><div>4)</div><div>Problem:  guice jar not found during errai build.</div><div>Cause:  google code repo missing from errai pom.xml</div><div>Solution:  open up tags/errai-1.1-M1/pom.xml and add repo &#39;<a href="http://guice-maven.googlecode.com/svn/trunk/">http://guice-maven.googlecode.com/svn/trunk/</a>&#39;.</div>
<div><br></div><div>With these changes, trunk will build from a clean .m2.  (just confirmed).</div><div><br></div><div>-- Randy</div><div><br></div><div><br><div class="gmail_quote">On Mon, May 17, 2010 at 3:08 PM, Mauricio Salatino <span dir="ltr">&lt;<a href="mailto:salaboy@gmail.com">salaboy@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">No I think, it doesn&#39;t clean the m2 repo.<br>Here I&#39;m also having problems with guice.<br><br><br><div class="gmail_quote">
<div><div></div><div class="h5">On Sat, May 15, 2010 at 11:11 AM, Randy Secrist <span dir="ltr">&lt;<a href="mailto:randy.secrist@gmail.com" target="_blank">randy.secrist@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5">And yet, hudson shows it is passing.  Anyone know if hudson cleans the .m2 each time it builds?<div>

<br></div><div>anyway ..</div><div><br></div><div>Drools GWT Console won&#39;t build w/o 1.1-M1 of errai-common and errai bus.  1.1-M1 is not yet in any of the repos.</div>
<div><br></div><div>-- Randy</div><div><br></div><div><br></div><div><div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] Building Drools :: GWT Console</div><div>[INFO]    task-segment: [clean, install]</div>


<div>[INFO] ------------------------------------------------------------------------</div><div>[INFO] [clean:clean]</div><div>[INFO] Deleting directory /Users/randy/Documents/dev/views/drools/trunk/drools-process/drools-gwt-console/target</div>


<div>[INFO] [resources:resources]</div><div>[INFO] Using &#39;UTF-8&#39; encoding to copy filtered resources.</div><div>[INFO] Copying 2 resources</div></div><div><br></div><div><div>Missing:</div><div>----------</div><div>


1) org.jboss.errai:errai-common:jar:1.1-M1</div><div><br></div><div>  Try downloading the file manually from the project website.</div><div><br></div><div>  Then, install it using the command: </div><div>      mvn install:install-file -DgroupId=org.jboss.errai -DartifactId=errai-common -Dversion=1.1-M1 -Dpackaging=jar -Dfile=/path/to/file</div>


<div><br></div><div>  Alternatively, if you host your own repository you can deploy the file there: </div><div>      mvn deploy:deploy-file -DgroupId=org.jboss.errai -DartifactId=errai-common -Dversion=1.1-M1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]</div>


<div><br></div><div>  Path to dependency: </div><div>  <span style="white-space:pre">        </span>1) org.drools:drools-gwt-console:jar:5.1.0.SNAPSHOT</div><div>  <span style="white-space:pre">        </span>2) org.jboss.bpm:gwt-console-server-integration:jar:2.1-SNAPSHOT</div>


<div>  <span style="white-space:pre">        </span>3) org.jboss.bpm:gwt-console-rpc:jar:2.1-SNAPSHOT</div><div>  <span style="white-space:pre">        </span>4) org.jboss.errai:errai-common:jar:1.1-M1</div>
<div><br></div><div>2) org.jboss.errai:errai-bus:jar:1.1-M1</div><div><br></div><div>  Try downloading the file manually from the project website.</div><div><br></div><div>  Then, install it using the command: </div><div>


      mvn install:install-file -DgroupId=org.jboss.errai -DartifactId=errai-bus -Dversion=1.1-M1 -Dpackaging=jar -Dfile=/path/to/file</div><div><br></div><div>  Alternatively, if you host your own repository you can deploy the file there: </div>


<div>      mvn deploy:deploy-file -DgroupId=org.jboss.errai -DartifactId=errai-bus -Dversion=1.1-M1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]</div><div><br></div><div>  Path to dependency: </div>


<div>  <span style="white-space:pre">        </span>1) org.drools:drools-gwt-console:jar:5.1.0.SNAPSHOT</div><div>  <span style="white-space:pre">        </span>2) org.jboss.bpm:gwt-console-server-integration:jar:2.1-SNAPSHOT</div>

<div>  <span style="white-space:pre">        </span>3) org.jboss.bpm:gwt-console-rpc:jar:2.1-SNAPSHOT</div><div>  <span style="white-space:pre">        </span>4) org.jboss.errai:errai-bus:jar:1.1-M1</div>
<div><br></div><div>----------</div><div>2 required artifacts are missing.</div></div><div><br></div>
<br></div></div>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br>
 - Salatino &quot;Salaboy&quot; Mauricio -<br>

</font><br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br></div></div>