yeah I am using package to build the war (so its standard war packaging) and then the BRMS assembly grabs that war, as a file, and assembles it seperately - seems to work fine (also means I could have war exploded for deployment - which I may yet to as it means people can configure bits they need to tweak).
<br><br><div><span class="gmail_quote">On 4/24/07, <b class="gmail_sendername">Geoffrey De Smet</b> &lt;<a href="mailto:ge0ffrey.spam@gmail.com">ge0ffrey.spam@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I &#39;ll take a look, hopefully friday afternoon :)<br><br>But I did notice you using assembly 2.1 instead 2.2-beta-1 (in parent pom).<br><br>With kind regards,<br>Geoffrey De Smet<br><br><br>Mark Proctor wrote:<br>&gt; geoffrey,
<br>&gt;<br>&gt; I believe you have commit rights ;)<br>&gt;<br>&gt; Mark<br>&gt; Geoffrey De Smet wrote:<br>&gt;&gt;<br>&gt;&gt; With kind regards,<br>&gt;&gt; Geoffrey De Smet<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Mark Proctor wrote:
<br>&gt;&gt;&gt; At the moment we have 3 assemblies, bin, src, brms. I couldn&#39;t get<br>&gt;&gt;&gt; the drools-*.jar libs to go i na different direction to the<br>&gt;&gt;&gt; dependencies, so now all jars are in the same directory.
<br>&gt;&gt;<br>&gt;&gt; In maven-assembly-plugin 2.2-beta1 you can use &lt;excludes&gt; and<br>&gt;&gt; &lt;includes&gt; in dependency sets, so you can define 2 &lt;dependencySet&gt;,<br>&gt;&gt; each to a different dir.
<br>&gt;&gt; <a href="http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html">http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html</a><br>&gt;&gt;<br>&gt;&gt;&gt; Also for ease of distribution I don&#39;t think I&#39;m going to have a bin
<br>&gt;&gt;&gt; (without deps) and bin-withdeps, I&#39;ll just package the deps in as<br>&gt;&gt;&gt; default now.<br>&gt;&gt;&gt; <a href="http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/src/main/assembly/">http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/src/main/assembly/
</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt; build.xml and ant are now deprecated and most likely don&#39;t work, we<br>&gt;&gt;&gt; will remove soon.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; The documentation and the eclipse plugin are now profiles
<br>&gt;&gt;&gt; -Ddocumentation=true and -Declipse=true. However it seems that<br>&gt;&gt;&gt; somehow the docbook pathing has got screwed and isn&#39;t outputting<br>&gt;&gt;&gt; properly, edson?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Mark
<br>&gt;&gt;&gt; Geoffrey De Smet wrote:<br>&gt;&gt;&gt;&gt; &gt; PS I was trying to make a way to put dependencies in a seperate &quot;lib&quot;<br>&gt;&gt;&gt;&gt; &gt; folder, but maven didn&#39;t recognise the &lt;dependencySets&gt; tag - just
<br>&gt;&gt;&gt;&gt; &gt; thought it would make for a neater distro for those not using maven.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Are you using the war or the assembly plugin to create the war?<br>&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Both versions are locked down in the parent pom (which will be<br>&gt;&gt;&gt;&gt; enforced from maven 2.1 btw)?<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; They released maven-assembly-plugin 2.2-beta1, and I used
<br>&gt;&gt;&gt;&gt; dependencySet successfully in there. What exactly do you want to<br>&gt;&gt;&gt;&gt; assemble?<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; PS: to keep the &quot;mvn install&quot; on the parent pom with all modules
<br>&gt;&gt;&gt;&gt; fast, I can really recommend to do assembly&#39;s in a seperate profile.<br>&gt;&gt;&gt;&gt; I usually call this profile &quot;production&quot;, but &quot;complete&quot; would be a<br>&gt;&gt;&gt;&gt; good name too.
<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &lt;profiles&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp; &lt;profile&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;id&gt;production&lt;/id&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;build/plugins/plugin&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;artifactId&gt;maven-assembly-plugin&lt;/&gt;
<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;execution&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;phase&gt;package&lt;/&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;goals/goal&gt;assembly:attached&lt;/&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;configuration&gt;...
<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; So normal builds do:<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp; mvn install<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Complete builds do:<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp; mvn -Pproduction install<br>&gt;&gt;&gt;&gt;
<br>&gt;&gt;&gt;&gt; Other examples of goals that take to long are jar signing etc for<br>&gt;&gt;&gt;&gt; webstart, that really needs to be in the &quot;production&quot; profile.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; With kind regards,
<br>&gt;&gt;&gt;&gt; Geoffrey De Smet<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Michael Neale wrote:<br>&gt;&gt;&gt;&gt;&gt; BRMS is now added as a seperate file (just the war).<br>&gt;&gt;&gt;&gt;&gt; Its a largish file (~20 meg it will be, all told) - so one other
<br>&gt;&gt;&gt;&gt;&gt; idea is a seperate download.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Thoughts?<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Michael.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;
<br>&gt;&gt;&gt;&gt;&gt; Michael.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;
<br>&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt;&gt; rules-dev mailing list<br>&gt;&gt;&gt;&gt;&gt; <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>&gt;&gt;&gt;&gt;&gt; 
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt; rules-dev mailing list
<br>&gt;&gt;&gt;&gt; <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev
</a><br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; rules-dev mailing list<br>&gt;&gt;&gt; <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org
</a><br>&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________
<br>&gt;&gt; rules-dev mailing list<br>&gt;&gt; <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev
</a><br>&gt;&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; rules-dev mailing list<br>&gt; <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev">
https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>&gt;<br><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">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></blockquote></div><br>