<p>Whilst no expert in either the REST side of Guvnor or Maven or our builds, I would elect having the integration test remove the section and have the pom&#39;s include.</p>
<p>As a developer I would find it easier to follow the code rather than what can appear as abstract maven configurations. But this could well be my lack if clarity of some maven setups.</p>
<p>I also lean towards having the default (i.e. maven config) as full and whittle it down elsewhere than having the default as minimal and add later.</p>
<p>I am sure others (Geoffrey) will have stronger opinions.</p>
<p>Appreciating your contributions.</p>
<p>Cheers,</p>
<p>Mike</p>
<p>sent on the move</p>
<p>On 20 Jun 2012 23:05, &quot;Mikael Lönneberg&quot; &lt;<a href="mailto:emil@snickeboa.com">emil@snickeboa.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<div><br></div><div>Thought I would get your input before I go any further on the task of creating the separate builds for the different target platforms.</div><div>In switching to RESTeasy as the jax-rs framework this causes an issue <a href="https://issues.jboss.org/browse/RESTEASY-586" style="color:rgb(51,102,153);font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:13px;line-height:17px;white-space:nowrap;background-color:rgb(240,240,240)" target="_blank">RESTEASY-586</a> when we deploy to AS7 as RESTeasy is already bundled/provided in AS7. So for all other platforms we need to include the resteasy-*.jar and for as7 they need to be removed. This is pretty straight forward.</div>

<div>However we also need to add or remove this section</div><div><br></div><div><div>&lt;context-param&gt;</div><div>    &lt;param-name&gt;resteasy.injector.factory&lt;/param-name&gt;</div><div>    &lt;param-value&gt;org.jboss.resteasy.cdi.CdiInjectorFactory&lt;/param-value&gt;</div>

<div>  &lt;/context-param&gt;</div></div><div><br></div><div> to guvnor-webapp-drools web.xml depending on the target platform, this is were it becomes a little tricky.</div><div>What version should be checked in? Running in hosted mode requires the section to exist, running Arquillian integration-tests requires it to be removed, since integration-tests are run on as7.</div>

<div><br></div><div>I&#39;m leaning towards having the section included by default and remove it in GuvnorIntegrationTest or having the build process filter and create a new version per platform which can then be copied into the WebArchive in GuvnorIntegrationTest.</div>

<div><br></div><div>What are your thoughts?</div><div><br></div><div>Kind Regards</div><div><br></div><div>Mikael Lönneberg (gwendo)</div>
<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></p>