<!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="https://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;">
    How to change console version for jbpm recompile
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/ocramot">Marco Burrafato</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/833506#833506">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 wanted to make some specific changes in the jbpm console, relative to a project I'm working on, so I followed the guide here: </p><p><a class="" href="https://community.jboss.org/docs/DOC-18178">https://community.jboss.org/wiki/HowToBuildmodifyJbpm-consoleAndDeployItOnServer</a></p><p>Anyway I downloaded the jbpm 5.4 version (last stable nowadays). This version uses the console version 2.3.8.Final by default, so I downloaded the 2.3.9-SNAPSHOT version, to avoid conflicts.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Following the wiki, I compile the bpm-console code and then the jbpm code, taking care to follow the point 10 (search for "&lt;version&gt;2.3.8.Final&lt;/version&gt;" and replace with "&lt;version&gt;2.3.9-SNAPSHOT&lt;/version&gt;") in all the pom.xml files that I can find within the jbpm source directory. I find also some dependencies without the version specified; I suppose there is some "default version" defined somewhere, but I am unable to find it, so I add explicitly the version tag in those files.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Still, when I try to compile, I get the following:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>[...]</p><p>[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources' with basic configurator --&gt;</p><p>[DEBUG]&#160;&#160; (f) buildFilters = []</p><p>[DEBUG]&#160;&#160; (f) encoding = UTF-8</p><p>[DEBUG]&#160;&#160; (f) escapeWindowsPaths = true</p><p>[DEBUG]&#160;&#160; (s) includeEmptyDirs = false</p><p>[DEBUG]&#160;&#160; (s) outputDirectory = C:\Users\ocramot\repository\edit_console\jbpm\jbpm-flow\target\classes</p><p>[DEBUG]&#160;&#160; (s) overwrite = false</p><p>[DEBUG]&#160;&#160; (f) project = MavenProject: org.jbpm:jbpm-flow:5.4.1-SNAPSHOT @ C:\Users\ocramot\repository\edit_console\jbpm\jbpm-flow\pom.xml</p><p>[DEBUG]&#160;&#160; (s) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: C:\Users\ocramot\repository\edit_console\jbpm\jbpm-flow\src\main\resources, PatternSet [includes: {}, excludes: {}]}}]</p><p>[DEBUG]&#160;&#160; (f) session = org.apache.maven.execution.MavenSession@10ebe2f8</p><p>[DEBUG]&#160;&#160; (f) useBuildFilters = true</p><p>[DEBUG]&#160;&#160; (s) useDefaultDelimiters = true</p><p>[DEBUG] -- end configuration --</p><p>[DEBUG] properties used { [ ... ],&#160; bpm.console.version=2.3.8.Final, [ ... ]}</p><p>[INFO] Using 'UTF-8' encoding to copy filtered resources.</p><p>[DEBUG] resource with targetPath null</p><p>[ ... ]</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>and so on for every sub-project (jbpm-flow-builder, jbpm-persistence-jpa, etc.)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>and in fact, maven takes care to dowload and install in my local repository the 2.3.8.Final version, ignoring the 2.3.9.SNAPSHOT version already present there.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>How can I resolve this? What pom files do I have to modify? What could I have missed? Is there a default version defined somewhere?</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/833506#833506">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://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>