<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Maven build failed for jBPM 5.1 source
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/jdh">Jim Hill</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/601871#601871">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>I downloaded the jBPM 5.1 source (jbpm-5.1.0.M1-src.zip) and tried to run a build with Maven and it failed in the jbpm-persistence-jpa.  Here is my stack:</p><p style="padding-left: 30px;">Apache Maven 3.0.1 (r1038046; 2010-11-23 05:58:32-0500)</p><p style="padding-left: 30px;">Java version: 1.6.0_23</p><p style="padding-left: 30px;">OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Attached is the build output along with the unit tests that failed.  Seems the unit tests can communicate with the database and they are getting back the wrong number of results.  Is there some platform dependent cleanup that is not happening between tests or something?  I'm rather new to Maven and was really hoping this would work right out of the box.  I kicked off the build with mvn clean install -X > build.log.  I would appreciate the help if anyone has any suggestions on what might be wrong and what I might do to fix it.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Jim</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Failed tests:</p><p>  testUserTransactions(org.jbpm.persistence.session.PersistentStatefulSessionTest)</p><p>  testPersistenceWorkItems(org.jbpm.persistence.session.PersistentStatefulSessionTest)</p><p>  testPersistenceRuleSet(org.jbpm.persistence.session.PersistentStatefulSessionTest)</p><p>  testPersistenceVariables(org.jbpm.persistence.session.VariablePersistenceStrategyTest)</p><p>  testPersistenceVariablesWithTypeChange(org.jbpm.persistence.session.VariablePersistenceStrategyTest)</p><p>  testWorkItemWithVariablePersistence(org.jbpm.persistence.session.VariablePersistenceStrategyTest)</p><p>  testPersistenceWorkItems(org.jbpm.persistence.session.SingleSessionCommandServiceTest)</p><p>  testPersistenceWorkItemsUserTransaction(org.jbpm.persistence.session.SingleSessionCommandServiceTest)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Tests run: 42, Failures: 8, Errors: 0, Skipped: 0</p><p>[INFO] ------------------------------------------------------------------------<br/>[INFO] Reactor Summary:<br/>[INFO]<br/>[INFO] jBPM .............................................. SUCCESS [1.828s]<br/>[INFO] jBPM :: Flow ...................................... SUCCESS [59.952s]<br/>[INFO] jBPM :: Flow Builder .............................. SUCCESS [52.311s]<br/>[INFO] jBPM :: JPA Persistence ........................... FAILURE [54.155s]<br/>[INFO] jBPM :: BAM ....................................... SKIPPED<br/>[INFO] jBPM :: BPMN2 ..................................... SKIPPED<br/>[INFO] jBPM :: WorkItems ................................. SKIPPED<br/>[INFO] jBPM :: Human Task ................................ SKIPPED<br/>[INFO] jBPM :: GWT ....................................... SKIPPED<br/>[INFO] jBPM :: GWT Console ............................... SKIPPED<br/>[INFO] jBPM :: GWT Console Forms ......................... SKIPPED<br/>[INFO] jBPM :: GWT Console Graph Viewer .................. SKIPPED<br/>[INFO] jBPM :: GWT Console WAR ........................... SKIPPED<br/>[INFO] jBPM :: GWT console server WAR .................... SKIPPED<br/>[INFO] ------------------------------------------------------------------------<br/>[INFO] BUILD FAILURE<br/>[INFO] ------------------------------------------------------------------------</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/601871#601871">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>