[CVS jcontainer] Renamed plugin: maven-sar -> maven-loom

mauro-yCVjj/[email protected] Wed, 24 Mar 2004 18:46:58 -0600
Newsgroups gmane.comp.java.jcontainer.cvs
Message-ID <[email protected]>
<html>
<head>
<style><!--
  body {background-color:#ffffff;}
  .file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
  .pathname {font-family:monospace; float:right;}
  .fileheader {margin-bottom:.5em;}
  .diff {margin:0;}
  .tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
  .tasklist ul {margin-top:0;margin-bottom:0;}
  tr.alt {background-color:#eeeeee}
  #added {background-color:#ddffdd;}
  #addedchars {background-color:#99ff99;font-weight:bolder;}
  tr.alt #added {background-color:#ccf7cc;}
  #removed {background-color:#ffdddd;}
  #removedchars {background-color:#ff9999;font-weight:bolder;}
  tr.alt #removed {background-color:#f7cccc;}
  #info {color:#888888;}
  #context {background-color:#eeeeee;}
  td {padding-left:.3em;padding-right:.3em;}
  tr.head {border-bottom-width:1px;border-bottom-style:solid;}
  tr.head td {padding:0;padding-top:.2em;}
  .task {background-color:#ffff00;}
  .comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
  .error {color:red;}
  hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>jcontainer/loom/plugins</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt>maven-loom/src/test/org/jcontainer/loom/info/<a href="#file1"><span id="added">PhoenixAttributeInterceptorTestCase.java</span></a></tt></td><td align="right" id="added">+572</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/test/org/jcontainer/loom/info/PhoenixAttributeInterceptorTestCase.java?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr class="alt"><td><tt>maven-sar/xdocs/<a href="#file2"><span id="removed">tips.xml</span></a></tt></td><td></td><td align="right" id="removed">-24</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs/tips.xml?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a> removed</td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file3"><span id="removed">goals.xml</span></a></tt></td><td></td><td align="right" id="removed">-48</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs/goals.xml?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a> removed</td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file4"><span id="removed">properties.xml</span></a></tt></td><td></td><td align="right" id="removed">-140</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs/properties.xml?rev=1.6&amp;content-type=text/vnd.viewcvs-markup">1.6</a> removed</td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file5"><span id="removed">index.xml</span></a></tt></td><td></td><td align="right" id="removed">-17</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs/index.xml?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a> removed</td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file6"><span id="removed">navigation.xml</span></a></tt></td><td></td><td align="right" id="removed">-16</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs/navigation.xml?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a> removed</td></tr>
<tr><td><tt>maven-loom/src/plugin-test/src/conf/<a href="#file7"><span id="added">config.xml</span></a></tt></td><td align="right" id="added">+4</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf/config.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file8"><span id="added">logging.properties</span></a></tt></td><td align="right" id="added">+22</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf/logging.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file9"><span id="added">environment.xml</span></a></tt></td><td align="right" id="added">+9</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf/environment.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file10"><span id="added">assembly.xml</span></a></tt></td><td align="right" id="added">+6</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf/assembly.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr><td><tt>maven-sar/src/test/org/jcontainer/loom/info/<a href="#file11"><span id="removed">PhoenixAttributeInterceptorTestCase.java</span></a></tt></td><td></td><td align="right" id="removed">-572</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/test/org/jcontainer/loom/info/PhoenixAttributeInterceptorTestCase.java?rev=1.4&amp;content-type=text/vnd.viewcvs-markup">1.4</a> removed</td></tr>
<tr class="alt"><td><tt>maven-loom/<a href="#file12"><span id="added">project.xml</span></a></tt></td><td align="right" id="added">+57</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/project.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file13"><span id="added">plugin.jelly</span></a></tt></td><td align="right" id="added">+161</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/plugin.jelly?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file14"><span id="added">project.properties</span></a></tt></td><td align="right" id="added">+8</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/project.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file15"><span id="added">maven.xml</span></a></tt></td><td align="right" id="added">+36</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/maven.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file16"><span id="added">.cvsignore</span></a></tt></td><td align="right" id="added">+4</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/.cvsignore?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file17"><span id="added">plugin.properties</span></a></tt></td><td align="right" id="added">+23</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/plugin.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr class="alt"><td><tt>maven-sar/<a href="#file18"><span id="removed">maven.xml</span></a></tt></td><td></td><td align="right" id="removed">-36</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/maven.xml?rev=1.4&amp;content-type=text/vnd.viewcvs-markup">1.4</a> removed</td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file19"><span id="removed">project.xml</span></a></tt></td><td></td><td align="right" id="removed">-57</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/project.xml?rev=1.12&amp;content-type=text/vnd.viewcvs-markup">1.12</a> removed</td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file20"><span id="removed">plugin.jelly</span></a></tt></td><td></td><td align="right" id="removed">-161</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/plugin.jelly?rev=1.15&amp;content-type=text/vnd.viewcvs-markup">1.15</a> removed</td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file21"><span id="removed">plugin.properties</span></a></tt></td><td></td><td align="right" id="removed">-23</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/plugin.properties?rev=1.5&amp;content-type=text/vnd.viewcvs-markup">1.5</a> removed</td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file22"><span id="removed">project.properties</span></a></tt></td><td></td><td align="right" id="removed">-8</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/project.properties?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a> removed</td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file23"><span id="removed">.cvsignore</span></a></tt></td><td></td><td align="right" id="removed">-4</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/.cvsignore?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a> removed</td></tr>
<tr class="alt"><td><tt>maven-sar/src/plugin-test/src/java/<a href="#file24"><span id="removed">Test.java</span></a></tt></td><td></td><td align="right" id="removed">-15</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/java/Test.java?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt>maven-sar/src/java/org/jcontainer/loom/info/<a href="#file25"><span id="removed">PhoenixAttributeInterceptor.java</span></a></tt></td><td></td><td align="right" id="removed">-243</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/java/org/jcontainer/loom/info/PhoenixAttributeInterceptor.java?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a> removed</td></tr>
<tr class="alt"><td><tt>maven-sar/src/plugin-test/<a href="#file26"><span id="removed">project.xml</span></a></tt></td><td></td><td align="right" id="removed">-36</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/project.xml?rev=1.6&amp;content-type=text/vnd.viewcvs-markup">1.6</a> removed</td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file27"><span id="removed">maven.xml</span></a></tt></td><td></td><td align="right" id="removed">-14</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/maven.xml?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a> removed</td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file28"><span id="removed">project.properties</span></a></tt></td><td></td><td align="right" id="removed">-1</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/project.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file29"><span id="removed">.cvsignore</span></a></tt></td><td></td><td align="right" id="removed">-2</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/.cvsignore?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt>maven-loom/src/plugin-test/src/java/<a href="#file30"><span id="added">Test.java</span></a></tt></td><td align="right" id="added">+15</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/java/Test.java?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr><td><tt>maven-loom/xdocs/<a href="#file31"><span id="added">index.xml</span></a></tt></td><td align="right" id="added">+16</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs/index.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file32"><span id="added">properties.xml</span></a></tt></td><td align="right" id="added">+140</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs/properties.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file33"><span id="added">goals.xml</span></a></tt></td><td align="right" id="added">+48</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs/goals.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file34"><span id="added">navigation.xml</span></a></tt></td><td align="right" id="added">+16</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs/navigation.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file35"><span id="added">tips.xml</span></a></tt></td><td align="right" id="added">+24</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs/tips.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr class="alt"><td><tt>maven-sar/src/plugin-test/src/conf/<a href="#file36"><span id="removed">assembly.xml</span></a></tt></td><td></td><td align="right" id="removed">-6</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf/assembly.xml?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a> removed</td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file37"><span id="removed">config.xml</span></a></tt></td><td></td><td align="right" id="removed">-4</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf/config.xml?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a> removed</td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file38"><span id="removed">logging.properties</span></a></tt></td><td></td><td align="right" id="removed">-22</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf/logging.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file39"><span id="removed">environment.xml</span></a></tt></td><td></td><td align="right" id="removed">-9</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf/environment.xml?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a> removed</td></tr>
<tr class="alt"><td><tt>maven-loom/src/plugin-test/<a href="#file40"><span id="added">maven.xml</span></a></tt></td><td align="right" id="added">+14</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/maven.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file41"><span id="added">.cvsignore</span></a></tt></td><td align="right" id="added">+2</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/.cvsignore?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr class="alt"><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file42"><span id="added">project.properties</span></a></tt></td><td align="right" id="added">+1</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/project.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/<a href="#file43"><span id="added">project.xml</span></a></tt></td><td align="right" id="added">+36</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/project.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr class="alt"><td><tt>maven-loom/src/java/org/jcontainer/loom/info/<a href="#file44"><span id="added">PhoenixAttributeInterceptor.java</span></a></tt></td><td align="right" id="added">+243</td><td></td><td nowrap="nowrap" align="right">added <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/java/org/jcontainer/loom/info/PhoenixAttributeInterceptor.java?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></td></tr>
<tr><td></td><td align="right" id="added">+1457</td><td align="right" id="removed">-1458</td><td></td></tr>
</table>
<small id="info">22 added + 22 removed, total 44 files</small><br />
<pre class="comment">
Renamed plugin: maven-sar -&gt; maven-loom
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/test">test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/test/org">org</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/test/org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/test/org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontai
 ner/loom/plugins/maven-loom/src/test/org/jcontainer/loom/info">info</a><br /></span>
<div class="fileheader" id="added"><big><b>PhoenixAttributeInterceptorTestCase.java</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/test/org/jcontainer/loom/info/PhoenixAttributeInterceptorTestCase.java?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N PhoenixAttributeInterceptorTestCase.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ PhoenixAttributeInterceptorTestCase.java	25 Mar 2004 00:46:55 -0000	1.1
@@ -0,0 +1,572 @@
</small></pre><pre class="diff" id="added">+/*
+ * Copyright (C) The JContainer Group. All rights reserved.
+ *
+ * This software is published under the terms of the JContainer
+ * Software License version 1.1, a copy of which has been included
+ * with this distribution in the LICENSE.txt file.
+ */
+package org.jcontainer.loom.info;
+
+import com.thoughtworks.qdox.model.DefaultDocletTag;
+import com.thoughtworks.qdox.model.DefaultDocletTagFactory;
+import com.thoughtworks.qdox.model.DocletTagFactory;
+import com.thoughtworks.qdox.model.JavaClass;
+import com.thoughtworks.qdox.model.JavaMethod;
+import com.thoughtworks.qdox.model.JavaSource;
+import java.util.ArrayList;
+import java.util.Properties;
+import junit.framework.TestCase;
+import org.realityforge.metaclass.model.Attribute;
+
+/**
+ * @author Peter Donald
+ * @version $Revision: 1.1 $ $Date: 2004/03/25 00:46:55 $
+ */
+public class PhoenixAttributeInterceptorTestCase
+    extends TestCase
+{
+    public void testProcessClassAttributeWithoutTransformations()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute attribute = new Attribute( "ignored" );
+        final Attribute result =
+            interceptor.processClassAttribute(
+                new JavaClass( new JavaSource() ),
+                attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "ignored", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      0,
+                      result.getParameterCount() );
+    }
+
+    public void testProcessClassAttributeWithPhoenixBlock()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute attribute = new Attribute( "phoenix:block" );
+        final Attribute result =
+            interceptor.processClassAttribute(
+                new JavaClass( new JavaSource() ),
+                attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "dna.component", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      0,
+                      result.getParameterCount() );
+    }
+
+    public void testProcessClassAttributeWithPhoenixMxTopic()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Properties parameters = new Properties();
+        parameters.setProperty( "name", "MyTopic" );
+        final Attribute attribute = new Attribute( "phoenix:mx-topic",
+                                                   parameters );
+        final Attribute result =
+            interceptor.processClassAttribute(
+                new JavaClass( new JavaSource() ),
+                attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "mx.component", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      1,
+                      result.getParameterCount() );
+        assertEquals( "attribute.parameter(description)",
+                      "MyTopic",
+                      result.getParameter( "description" ) );
+    }
+
+    public void testProcessClassAttributeWithPhoenixService()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Properties parameters = new Properties();
+        parameters.setProperty( "name", "X" );
+        final Attribute attribute = new Attribute( "phoenix:service",
+                                                   parameters );
+        final Attribute result =
+            interceptor.processClassAttribute(
+                new JavaClass( new JavaSource() ),
+                attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "dna.service", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      1,
+                      result.getParameterCount() );
+        assertEquals( "attribute.parameter(type)",
+                      "X",
+                      result.getParameter( "type" ) );
+    }
+
+    public void testProcessClassAttributeWithPhoenixMXProxy()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Properties parameters = new Properties();
+        parameters.setProperty( "class", "X" );
+        final Attribute attribute = new Attribute( "phoenix:mx-proxy",
+                                                   parameters );
+        final Attribute result =
+            interceptor.processClassAttribute(
+                new JavaClass( new JavaSource() ),
+                attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "mx.proxy", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      1,
+                      result.getParameterCount() );
+        assertEquals( "attribute.parameter(type)",
+                      "X",
+                      result.getParameter( "type" ) );
+    }
+
+    public void testProcessMethodAttributeWithoutTransformation()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute attribute = new Attribute( "ignore-me" );
+        final Attribute result =
+            interceptor.processMethodAttribute( new JavaMethod(), attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "ignore-me", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      0,
+                      result.getParameterCount() );
+    }
+
+    public void testProcessMethodAttributeWithMXDescription()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute attribute = new Attribute( "phoenix:mx-description" );
+        final Attribute result =
+            interceptor.processMethodAttribute( new JavaMethod(), attribute );
+        assertNull( "attribute", result );
+    }
+
+    public void testProcessMethodAttributeWithMXAttributeAndNoDescriptionOrComment()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute attribute = new Attribute( "phoenix:mx-attribute" );
+        final Attribute result =
+            interceptor.processMethodAttribute( new JavaMethod(), attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "mx.attribute", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      0,
+                      result.getParameterCount() );
+    }
+
+    public void testProcessMethodAttributeWithMXAttributeAndDescription()
+        throws Exception
+    {
+        final String description = "A Random Thought";
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute attribute = new Attribute( "phoenix:mx-attribute" );
+        final JavaMethod method = new JavaMethod();
+        final ArrayList tags = new ArrayList();
+        final DocletTagFactory factory = new DefaultDocletTagFactory();
+        tags.add(
+            factory.createDocletTag( "phoenix:mx-description", description ) );
+        method.setTags( tags );
+        final Attribute result =
+            interceptor.processMethodAttribute( method, attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "mx.attribute", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      1,
+                      result.getParameterCount() );
+        assertEquals( "attribute.parameter(description)",
+                      description, result.getParameter( "description" ) );
+    }
+
+    public void testProcessMethodAttributeWithMXAttributeAndComment()
+        throws Exception
+    {
+        final String description = "A Random Thought";
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute attribute = new Attribute( "phoenix:mx-attribute" );
+        final JavaMethod method = new JavaMethod();
+        method.setComment( description );
+        final Attribute result =
+            interceptor.processMethodAttribute( method, attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "mx.attribute", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      1,
+                      result.getParameterCount() );
+        assertEquals( "attribute.parameter(description)",
+                      description, result.getParameter( "description" ) );
+    }
+
+    public void testProcessMethodAttributeWithMXOperationAndNoDescriptionOrComment()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute attribute = new Attribute( "phoenix:mx-operation" );
+        final Attribute result =
+            interceptor.processMethodAttribute( new JavaMethod(), attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "mx.operation", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      0,
+                      result.getParameterCount() );
+    }
+
+    public void testProcessMethodAttributeWithMXOperationAndDescription()
+        throws Exception
+    {
+        final String description = "A Random Thought";
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute attribute = new Attribute( "phoenix:mx-operation" );
+        final JavaMethod field = new JavaMethod();
+        final ArrayList tags = new ArrayList();
+        tags.add(
+            new DefaultDocletTag( "phoenix:mx-description", description ) );
+        field.setTags( tags );
+        final Attribute result =
+            interceptor.processMethodAttribute( field, attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "mx.operation", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      1,
+                      result.getParameterCount() );
+        assertEquals( "attribute.parameter(description)",
+                      description, result.getParameter( "description" ) );
+    }
+
+    public void testProcessMethodAttributeWithMXOperationAndComment()
+        throws Exception
+    {
+        final String description = "A Random Thought";
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute attribute = new Attribute( "phoenix:mx-operation" );
+        final JavaMethod field = new JavaMethod();
+        field.setComment( description );
+        final Attribute result =
+            interceptor.processMethodAttribute( field, attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "mx.operation", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      1,
+                      result.getParameterCount() );
+        assertEquals( "attribute.parameter(description)",
+                      description, result.getParameter( "description" ) );
+    }
+
+    public void testProcessMethodAttributeWithPhoenixConfigurationSchema()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute attribute = new Attribute(
+            "phoenix:configuration-schema" );
+        final JavaClass javaClass = new JavaClass( new JavaSource() );
+        javaClass.setName( "com.biz.MyClass" );
+        final JavaMethod method = new JavaMethod();
+        method.setParentClass( javaClass );
+        final Attribute result =
+            interceptor.processMethodAttribute( method, attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name",
+                      "dna.configuration",
+                      result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      0,
+                      result.getParameterCount() );
+    }
+
+    public void testProcessMethodAttributeWithPhoenixConfigurationSchemaSpecifyingType()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Properties parameters = new Properties();
+        final String type = "BobbaFett";
+        parameters.setProperty( "type", type );
+        final Attribute attribute = new Attribute(
+            "phoenix:configuration-schema", parameters );
+        final JavaClass javaClass = new JavaClass( new JavaSource() );
+        javaClass.setName( "com.biz.MyClass" );
+        final JavaMethod method = new JavaMethod();
+        method.setParentClass( javaClass );
+        final Attribute result =
+            interceptor.processMethodAttribute( method, attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name",
+                      "dna.configuration",
+                      result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      1,
+                      result.getParameterCount() );
+        assertEquals( "attribute.parameter(type)",
+                      type, result.getParameter( "type" ) );
+    }
+
+    public void testProcessMethodAttributeWithPhoenixConfigurationSchemaSpecifyingRelaxType()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Properties parameters = new Properties();
+        parameters.setProperty( "type", "relax-ng" );
+        final Attribute attribute = new Attribute(
+            "phoenix:configuration-schema", parameters );
+        final JavaClass javaClass = new JavaClass( new JavaSource() );
+        javaClass.setName( "com.biz.MyClass" );
+        final JavaMethod method = new JavaMethod();
+        method.setParentClass( javaClass );
+        final Attribute result =
+            interceptor.processMethodAttribute( method, attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name",
+                      "dna.configuration",
+                      result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      1,
+                      result.getParameterCount() );
+        assertEquals( "attribute.parameter(type)",
+                      "http://relaxng.org/ns/structure/1.0",
+                      result.getParameter( "type" ) );
+    }
+
+    public void testProcessMethodAttributeWithPhoenixDependency()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Properties parameters = new Properties();
+        final String type = "BobbaFett";
+        parameters.setProperty( "name", type );
+        final Attribute attribute = new Attribute( "phoenix:dependency",
+                                                   parameters );
+        final Attribute result =
+            interceptor.processMethodAttribute( new JavaMethod(), attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "dna.dependency", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      1,
+                      result.getParameterCount() );
+        assertEquals( "attribute.parameter(type)",
+                      type, result.getParameter( "type" ) );
+    }
+
+    public void testProcessMethodAttributeWithPhoenixDependencyWithRoleSpecified()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Properties parameters = new Properties();
+        final String type = "BobbaFett";
+        final String key = "myKey";
+        parameters.setProperty( "name", type );
+        parameters.setProperty( "role", key );
+        final Attribute attribute = new Attribute( "phoenix:dependency",
+                                                   parameters );
+        final Attribute result =
+            interceptor.processMethodAttribute( new JavaMethod(), attribute );
+        assertNotNull( "attribute", result );
+        assertEquals( "attribute.name", "dna.dependency", result.getName() );
+        assertEquals( "attribute.value", null, result.getValue() );
+        assertEquals( "attribute.parameterCount",
+                      2,
+                      result.getParameterCount() );
+        assertEquals( "attribute.parameter(type)",
+                      type, result.getParameter( "type" ) );
+        assertEquals( "attribute.parameter(key)",
+                      key, result.getParameter( "key" ) );
+    }
+
+    public void testProcessClassAttributesWithoutMXService()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute[] input = new Attribute[]{
+            new Attribute( "RandomJAttribute" )};
+        final Attribute[] attributes =
+            interceptor.processClassAttributes(
+                new JavaClass( new JavaSource() ), input );
+        assertEquals( "attributes.length", 1, attributes.length );
+        assertEquals( "attributes[0].name",
+                      "RandomJAttribute",
+                      attributes[ 0 ].getName() );
+        assertEquals( "attributes[0].value",
+                      null,
+                      attributes[ 0 ].getValue() );
+        assertEquals( "attributes[0].parameterCount",
+                      0,
+                      attributes[ 0 ].getParameterCount() );
+    }
+
+    public void testProcessClassAttributesWithMXService()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Properties parameters = new Properties();
+        final String type = "PerformMagicService";
+        parameters.setProperty( "name", type );
+        final Attribute attribute = new Attribute( "phoenix:mx", parameters );
+        final Attribute[] input = new Attribute[]{attribute};
+        final Attribute[] attributes =
+            interceptor.processClassAttributes(
+                new JavaClass( new JavaSource() ), input );
+        assertEquals( "attributes.length", 2, attributes.length );
+        assertEquals( "attributes[0].name",
+                      "dna.service",
+                      attributes[ 0 ].getName() );
+        assertEquals( "attributes[0].value",
+                      null,
+                      attributes[ 0 ].getValue() );
+        assertEquals( "attributes[0].parameterCount",
+                      1,
+                      attributes[ 0 ].getParameterCount() );
+        assertEquals( "attributes[0].parameter(type)",
+                      type, attributes[ 0 ].getParameter( "type" ) );
+        assertEquals( "attributes[1].name",
+                      "mx.interface",
+                      attributes[ 1 ].getName() );
+        assertEquals( "attributes[1].value",
+                      null,
+                      attributes[ 1 ].getValue() );
+        assertEquals( "attributes[1].parameterCount",
+                      2,
+                      attributes[ 1 ].getParameterCount() );
+        assertEquals( "attributes[1].parameter(type)",
+                      type, attributes[ 1 ].getParameter( "type" ) );
+        assertEquals( "attributes[1].parameter(topic)",
+                      "PerformMagicService",
+                      attributes[ 1 ].getParameter( "type" ) );
+    }
+
+    public void testProcessMethodAttributesWithoutMXOperation()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute[] input = new Attribute[]{
+            new Attribute( "RandomJAttribute" )};
+        final Attribute[] attributes =
+            interceptor.processMethodAttributes( new JavaMethod(), input );
+        assertEquals( "attributes.length", 1, attributes.length );
+        assertEquals( "attributes[0].name",
+                      "RandomJAttribute",
+                      attributes[ 0 ].getName() );
+        assertEquals( "attributes[0].value",
+                      null,
+                      attributes[ 0 ].getValue() );
+        assertEquals( "attributes[0].parameterCount",
+                      0,
+                      attributes[ 0 ].getParameterCount() );
+
+    }
+
+    public void testProcessMethodAttributesWithMXOperationWithoutParameters()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute[] input = new Attribute[]{
+            new Attribute( "mx.operation" )};
+        final Attribute[] attributes =
+            interceptor.processMethodAttributes( new JavaMethod(), input );
+        assertEquals( "attributes.length", 1, attributes.length );
+        assertEquals( "attributes[0].name",
+                      "mx.operation",
+                      attributes[ 0 ].getName() );
+        assertEquals( "attributes[0].value",
+                      null,
+                      attributes[ 0 ].getValue() );
+        assertEquals( "attributes[0].parameterCount",
+                      0,
+                      attributes[ 0 ].getParameterCount() );
+    }
+
+    public void testProcessMethodAttributesWithMXOperationWithMalformedParameter()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute[] input =
+            new Attribute[]{new Attribute( "mx.operation" ),
+                            new Attribute( "param", "var" )};
+        final Attribute[] attributes =
+            interceptor.processMethodAttributes( new JavaMethod(), input );
+        assertEquals( "attributes.length", 2, attributes.length );
+        assertEquals( "attributes[0].name",
+                      "mx.operation",
+                      attributes[ 0 ].getName() );
+        assertEquals( "attributes[0].value",
+                      null,
+                      attributes[ 0 ].getValue() );
+        assertEquals( "attributes[0].parameterCount",
+                      0,
+                      attributes[ 0 ].getParameterCount() );
+        assertEquals( "attributes[1].name",
+                      "param",
+                      attributes[ 1 ].getName() );
+        assertEquals( "attributes[1].value",
+                      "var",
+                      attributes[ 1 ].getValue() );
+        assertEquals( "attributes[1].parameterCount",
+                      0,
+                      attributes[ 1 ].getParameterCount() );
+    }
+
+    public void testProcessMethodAttributesWithMXOperationWithParameter()
+        throws Exception
+    {
+        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
+        final Attribute[] input =
+            new Attribute[]{new Attribute( "mx.operation" ),
+                            new Attribute( "param",
+                                           "var This is the description" )};
+        final Attribute[] attributes =
+            interceptor.processMethodAttributes( new JavaMethod(), input );
+        assertEquals( "attributes.length", 3, attributes.length );
+        assertEquals( "attributes[0].name",
+                      "mx.operation",
+                      attributes[ 0 ].getName() );
+        assertEquals( "attributes[0].value",
+                      null,
+                      attributes[ 0 ].getValue() );
+        assertEquals( "attributes[0].parameterCount",
+                      0,
+                      attributes[ 0 ].getParameterCount() );
+        assertEquals( "attributes[1].name",
+                      "param",
+                      attributes[ 1 ].getName() );
+        assertEquals( "attributes[1].value",
+                      "var This is the description",
+                      attributes[ 1 ].getValue() );
+        assertEquals( "attributes[1].parameterCount",
+                      0,
+                      attributes[ 1 ].getParameterCount() );
+        assertEquals( "attributes[2].name",
+                      "mx.parameter",
+                      attributes[ 2 ].getName() );
+        assertEquals( "attributes[2].value",
+                      null,
+                      attributes[ 2 ].getValue() );
+        assertEquals( "attributes[2].parameterCount",
+                      2,
+                      attributes[ 2 ].getParameterCount() );
+        assertEquals( "attributes[2].parameter(name)",
+                      "var",
+                      attributes[ 2 ].getParameter( "name" ) );
+        assertEquals( "attributes[2].parameter(description)",
+                      "This is the description",
+                      attributes[ 2 ].getParameter( "description" ) );
+    }
+}
</pre></div>
<hr /><a name="file2" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs">xdocs</a><br /></span>
<div class="fileheader" id="removed"><big><b>tips.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs/tips.xml?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a></small></div>
<pre class="diff"><small id="info">diff -N tips.xml
--- tips.xml	28 Feb 2004 19:46:52 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,24 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?xml version="1.0"?&gt;
-&lt;document&gt;
-
-    &lt;properties&gt;
-        &lt;title&gt;Maven Sar Plugin Tips&lt;/title&gt;
-        &lt;author&gt;Mauro Talevi&lt;/author&gt;
-    &lt;/properties&gt;
-
-    &lt;body&gt;
-        &lt;section name="Maven Sar Plugin Tips"&gt;
-            &lt;section name="Filtering xml files"&gt;
-                &lt;p&gt;
-          If you need to copy the [assembly|config|environment].xml files in order to replace some
-          filter tokens or simply perform some custom modification to it,
-          simply write a pre-goal to the
-                    &lt;code&gt;sar:sar&lt;/code&gt; goal in which
-          you perform the manipulation. Then set the
-                    &lt;code&gt;maven.sar.[assembly|config|environment]&lt;/code&gt; property to point to your modified
-                    &lt;code&gt;[assembly|config|environment].xml&lt;/code&gt;.
-                &lt;/p&gt;
-            &lt;/section&gt;
-        &lt;/section&gt;
-    &lt;/body&gt;
-&lt;/document&gt;
</pre></div>
<hr /><a name="file3" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs">xdocs</a><br /></span>
<div class="fileheader" id="removed"><big><b>goals.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs/goals.xml?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a></small></div>
<pre class="diff"><small id="info">diff -N goals.xml
--- goals.xml	28 Feb 2004 19:46:52 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,48 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;document&gt;
-    &lt;properties&gt;
-        &lt;title&gt;Maven Sar Plug-in Goals&lt;/title&gt;
-        &lt;author&gt;Mauro Talevi&lt;/author&gt;
-    &lt;/properties&gt;
-    &lt;body&gt;
-        &lt;goals&gt;
-            &lt;goal&gt;
-                &lt;name&gt;sar&lt;/name&gt;
-                &lt;description&gt;Build a sar file&lt;/description&gt;
-            &lt;/goal&gt;
-            &lt;goal&gt;
-                &lt;name&gt;sar:init&lt;/name&gt;
-                &lt;description&gt;Initialize the file system and define tasks&lt;/description&gt;
-            &lt;/goal&gt;
-            &lt;goal&gt;
-                &lt;name&gt;sar:install&lt;/name&gt;
-                &lt;description&gt;Install the sar in the local repository&lt;/description&gt;
-            &lt;/goal&gt;
-            &lt;goal&gt;
-                &lt;name&gt;sar:metagenerate&lt;/name&gt;
-                &lt;description&gt;Metagenerate xinfo files&lt;/description&gt;
-            &lt;/goal&gt;
-            &lt;goal&gt;
-                &lt;name&gt;sar:sar&lt;/name&gt;
-                &lt;description&gt;Build a sar file&lt;/description&gt;
-            &lt;/goal&gt;
-            &lt;goal&gt;
-                &lt;name&gt;sar:install&lt;/name&gt;
-                &lt;description&gt;Install the sar in the local repository&lt;/description&gt;
-            &lt;/goal&gt;
-            &lt;goal&gt;
-                &lt;name&gt;sar:install-snapshot&lt;/name&gt;
-                &lt;description&gt;Install snapshot of the sar in the local repository&lt;/description&gt;
-            &lt;/goal&gt;
-            &lt;goal&gt;
-                &lt;name&gt;sar:deploy&lt;/name&gt;
-                &lt;description&gt;Deploy the sar to the remote repository&lt;/description&gt;
-            &lt;/goal&gt;
-            &lt;goal&gt;
-                &lt;name&gt;sar:deploy-snapshot&lt;/name&gt;
-                &lt;description&gt;Deploy snapshot of the sar to the remote repository&lt;/description&gt;
-            &lt;/goal&gt;
-        &lt;/goals&gt;
-    &lt;/body&gt;
-&lt;/document&gt;
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file4" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs">xdocs</a><br /></span>
<div class="fileheader" id="removed"><big><b>properties.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs/properties.xml?rev=1.6&amp;content-type=text/vnd.viewcvs-markup">1.6</a></small></div>
<pre class="diff"><small id="info">diff -N properties.xml
--- properties.xml	28 Feb 2004 19:46:52 -0000	1.6
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,140 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
-&lt;document&gt;
-
-    &lt;properties&gt;
-        &lt;title&gt;Sar Properties&lt;/title&gt;
-        &lt;author&gt;Mauro Talevi&lt;/author&gt;
-    &lt;/properties&gt;
-
-    &lt;body&gt;
-        &lt;section name="Sar Settings"&gt;
-            &lt;table&gt;
-                &lt;tr&gt;
-                    &lt;th&gt;Property&lt;/th&gt;
-                    &lt;th&gt;Optional?&lt;/th&gt;
-                    &lt;th&gt;Description&lt;/th&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                    &lt;td&gt;maven.sar.src&lt;/td&gt;
-                    &lt;td&gt;Yes&lt;/td&gt;
-                    &lt;td&gt;Location of sar source in source tree.
-              Defaults to
-                        &lt;code&gt;${maven.src.dir}&lt;/code&gt;.
-                    &lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                    &lt;td&gt;maven.sar.assembly&lt;/td&gt;
-                    &lt;td&gt;Yes&lt;/td&gt;
-                    &lt;td&gt;Location of the
-                        &lt;code&gt;assembly.xml&lt;/code&gt; file.
-              Defaults to
-                        &lt;code&gt;${maven.sar.src}/conf/assembly.xml&lt;/code&gt;.
-                    &lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                    &lt;td&gt;maven.sar.config&lt;/td&gt;
-                    &lt;td&gt;Yes&lt;/td&gt;
-                    &lt;td&gt;Location of the
-                        &lt;code&gt;config.xml&lt;/code&gt; file.
-              Defaults to
-                        &lt;code&gt;${maven.sar.src}/conf/config.xml&lt;/code&gt;.
-                    &lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                    &lt;td&gt;maven.sar.environment&lt;/td&gt;
-                    &lt;td&gt;Yes&lt;/td&gt;
-                    &lt;td&gt;Location of the
-                        &lt;code&gt;environment.xml&lt;/code&gt; file.
-              Defaults to
-                        &lt;code&gt;${maven.sar.src}/conf/environment.xml&lt;/code&gt;.
-                    &lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                    &lt;td&gt;maven.sar.logging&lt;/td&gt;
-                    &lt;td&gt;Yes&lt;/td&gt;
-                    &lt;td&gt;Location of the logging configuration file which can be specified
-          	  in alternative to the
-                        &lt;code&gt;logs&lt;/code&gt; element in
-                        &lt;code&gt;environment.xml&lt;/code&gt;
-          	  (which takes precedence over the logging configuration).
-          	  The recognised valid logging file names are:
-                        &lt;code&gt;log4j.properties&lt;/code&gt;,
-                        &lt;code&gt;log4j.xml&lt;/code&gt;,
-                        &lt;code&gt;logging.properties&lt;/code&gt;,
-                        &lt;code&gt;excalibur-logger.xml&lt;/code&gt;.
-              Has no default.
-                    &lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                    &lt;td&gt;maven.sar.build.dir&lt;/td&gt;
-                    &lt;td&gt;Yes&lt;/td&gt;
-                    &lt;td&gt;Directory where the sar will be generated.
-              Defaults to
-                        &lt;code&gt;${maven.build.dir}&lt;/code&gt;.
-                    &lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                    &lt;td&gt;maven.sar.lib.include&lt;/td&gt;
-                    &lt;td&gt;Yes&lt;/td&gt;
-                    &lt;td&gt;Build artifacts to include in sar.
-              Defaults to
-                        &lt;code&gt;${pom.artifactId}*.jar&lt;/code&gt;. Files are relative to
-                        &lt;code&gt;${maven.sar.build.dir}&lt;/code&gt;.
-                    &lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                    &lt;td&gt;maven.sar.lib.exclude&lt;/td&gt;
-                    &lt;td&gt;Yes&lt;/td&gt;
-                    &lt;td&gt;Build artifacts to exclude in sar.
-              Defaults to none. Files are relative to
-                        &lt;code&gt;${maven.sar.build.dir}&lt;/code&gt;.
-                    &lt;/td&gt;
-                &lt;/tr&gt;
-            &lt;/table&gt;
-        &lt;/section&gt;
-        &lt;section name="Including jars in the sar"&gt;
-            &lt;p&gt;
-	    To include a dependency in the sar you need to set the
-                &lt;code&gt;sar.bundle&lt;/code&gt; property to
-                &lt;code&gt;true&lt;/code&gt;:
-            &lt;/p&gt;
-
-            &lt;source&gt;&lt;![CDATA[
-  &lt;dependency&gt;
-    &lt;id&gt;jarid&lt;/id&gt;
-    &lt;version&gt;jarversion&lt;/version&gt;
-    &lt;properties&gt;
-      &lt;sar.bundle&gt;true&lt;/sar.bundle&gt;
-    &lt;/properties&gt;
-  &lt;/dependency&gt;
-            ]]&gt;&lt;/source&gt;
-
-        &lt;/section&gt;
-        &lt;section name="Including resources in the app"&gt;
-            &lt;p&gt;
-	    To include a resource in the app you need to set the corresponding
-                &lt;code&gt;targetPath&lt;/code&gt;
-	    to
-                &lt;code&gt;SAR-INF&lt;/code&gt;:
-            &lt;/p&gt;
-
-            &lt;source&gt;&lt;![CDATA[
-    &lt;build&gt;
-        &lt;resources&gt;
-            &lt;resource&gt;
-                &lt;directory&gt;${basedir}/src/conf&lt;/directory&gt;
-                &lt;targetPath&gt;SAR-INF&lt;/targetPath&gt;
-                &lt;includes&gt;
-                    &lt;include&gt;**/somedescriptor.xml&lt;/include&gt;
-                &lt;/includes&gt;
-                &lt;excludes&gt;
-                    &lt;exclude&gt;**/*.java&lt;/exclude&gt;
-                &lt;/excludes&gt;
-            &lt;/resource&gt;
-        &lt;/resources&gt;
-    &lt;/build&gt;
-            ]]&gt;&lt;/source&gt;
-
-        &lt;/section&gt;
-    &lt;/body&gt;
-&lt;/document&gt;
</pre></div>
<hr /><a name="file5" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs">xdocs</a><br /></span>
<div class="fileheader" id="removed"><big><b>index.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs/index.xml?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a></small></div>
<pre class="diff"><small id="info">diff -N index.xml
--- index.xml	28 Feb 2004 19:46:52 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?xml version="1.0"?&gt;
-&lt;document&gt;
-
-    &lt;properties&gt;
-        &lt;title&gt;Maven Sar Plugin&lt;/title&gt;
-        &lt;author&gt;Mauro Talevi&lt;/author&gt;
-    &lt;/properties&gt;
-
-    &lt;body&gt;
-        &lt;section name="Maven Sar Plugin"&gt;
-            &lt;p&gt;
-        This plug-in provides the ability to generate either a deployed app
-        or an app packaged as a Sar file.
-            &lt;/p&gt;
-        &lt;/section&gt;
-    &lt;/body&gt;
-&lt;/document&gt;
</pre></div>
<hr /><a name="file6" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs">xdocs</a><br /></span>
<div class="fileheader" id="removed"><big><b>navigation.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/xdocs/navigation.xml?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></small></div>
<pre class="diff"><small id="info">diff -N navigation.xml
--- navigation.xml	3 Dec 2003 10:44:48 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
-&lt;project name="Maven Sar Plugin"&gt;
-
-    &lt;title&gt;Maven Sar Plugin&lt;/title&gt;
-
-    &lt;body&gt;
-        &lt;links&gt;
-            &lt;item name="Maven" href="http://maven.apache.org/"/&gt;
-        &lt;/links&gt;
-        &lt;menu name="Overview"&gt;
-            &lt;item name="Goals" href="/goals.html"/&gt;
-            &lt;item name="Properties" href="/properties.html"/&gt;
-            &lt;item name="Tips" href="/tips.html"/&gt;
-        &lt;/menu&gt;
-    &lt;/body&gt;
-&lt;/project&gt;
</pre></div>
<hr /><a name="file7" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test">plugin-test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf">conf</a><br /></span>
<div class="fileheader" id="added"><big><b>config.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf/config.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N config.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ config.xml	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,4 @@
</small></pre><pre class="diff" id="added">+&lt;?xml version="1.0"?&gt;
+&lt;config&gt;
+    &lt;block-name/&gt;
+&lt;/config&gt;
</pre></div>
<hr /><a name="file8" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test">plugin-test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf">conf</a><br /></span>
<div class="fileheader" id="added"><big><b>logging.properties</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf/logging.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N logging.properties
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ logging.properties	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,22 @@
</small></pre><pre class="diff" id="added">+# comma separated list of log Handler
+handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
+
+# Default global logging level.
+.level= INFO
+
+# file handler
+java.util.logging.FileHandler.pattern = logs/jdk14.log
+java.util.logging.FileHandler.limit = 50000
+java.util.logging.FileHandler.count = 1
+
+# console handler
+java.util.logging.ConsoleHandler.level = INFO
+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+
+############################################################
+# Facility specific properties.
+# Provides extra control for each logger.
+############################################################
+
+# Set the logger to only log SEVERE
+nejney.level = FINEST
</pre></div>
<hr /><a name="file9" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test">plugin-test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf">conf</a><br /></span>
<div class="fileheader" id="added"><big><b>environment.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf/environment.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N environment.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ environment.xml	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,9 @@
</small></pre><pre class="diff" id="added">+&lt;?xml version="1.0"?&gt;
+&lt;environment&gt;
+
+    &lt;logs&gt;
+        &lt;category name="" target="default" priority="DEBUG"/&gt;
+        &lt;log-target name="default" location="/logs/demo.log"/&gt;
+    &lt;/logs&gt;
+
+&lt;/environment&gt;
</pre></div>
<hr /><a name="file10" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test">plugin-test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf">conf</a><br /></span>
<div class="fileheader" id="added"><big><b>assembly.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/conf/assembly.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N assembly.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ assembly.xml	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,6 @@
</small></pre><pre class="diff" id="added">+&lt;?xml version="1.0"?&gt;
+&lt;!DOCTYPE assembly PUBLIC "-//LOOM/Assembly DTD Version 1.0//EN"
+                  "http://loom.jcontainer.org/dtds/assembly_1_0.dtd"&gt;
+&lt;assembly&gt;
+    &lt;block class="block.class" name="block-name"/&gt;
+&lt;/assembly&gt;
</pre></div>
<hr /><a name="file11" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/test">test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/test/org">org</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/test/org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/test/org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/l
 oom/plugins/maven-sar/src/test/org/jcontainer/loom/info">info</a><br /></span>
<div class="fileheader" id="removed"><big><b>PhoenixAttributeInterceptorTestCase.java</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/test/org/jcontainer/loom/info/PhoenixAttributeInterceptorTestCase.java?rev=1.4&amp;content-type=text/vnd.viewcvs-markup">1.4</a></small></div>
<pre class="diff"><small id="info">diff -N PhoenixAttributeInterceptorTestCase.java
--- PhoenixAttributeInterceptorTestCase.java	29 Nov 2003 13:44:31 -0000	1.4
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,572 +0,0 @@
</small></pre><pre class="diff" id="removed">-/*
- * Copyright (C) The JContainer Group. All rights reserved.
- *
- * This software is published under the terms of the JContainer
- * Software License version 1.1, a copy of which has been included
- * with this distribution in the LICENSE.txt file.
- */
-package org.jcontainer.loom.info;
-
-import com.thoughtworks.qdox.model.DefaultDocletTag;
-import com.thoughtworks.qdox.model.DefaultDocletTagFactory;
-import com.thoughtworks.qdox.model.DocletTagFactory;
-import com.thoughtworks.qdox.model.JavaClass;
-import com.thoughtworks.qdox.model.JavaMethod;
-import com.thoughtworks.qdox.model.JavaSource;
-import java.util.ArrayList;
-import java.util.Properties;
-import junit.framework.TestCase;
-import org.realityforge.metaclass.model.Attribute;
-
-/**
- * @author Peter Donald
- * @version $Revision: 1.4 $ $Date: 2003/11/29 13:44:31 $
- */
-public class PhoenixAttributeInterceptorTestCase
-    extends TestCase
-{
-    public void testProcessClassAttributeWithoutTransformations()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute attribute = new Attribute( "ignored" );
-        final Attribute result =
-            interceptor.processClassAttribute(
-                new JavaClass( new JavaSource() ),
-                attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "ignored", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      0,
-                      result.getParameterCount() );
-    }
-
-    public void testProcessClassAttributeWithPhoenixBlock()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute attribute = new Attribute( "phoenix:block" );
-        final Attribute result =
-            interceptor.processClassAttribute(
-                new JavaClass( new JavaSource() ),
-                attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "dna.component", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      0,
-                      result.getParameterCount() );
-    }
-
-    public void testProcessClassAttributeWithPhoenixMxTopic()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Properties parameters = new Properties();
-        parameters.setProperty( "name", "MyTopic" );
-        final Attribute attribute = new Attribute( "phoenix:mx-topic",
-                                                   parameters );
-        final Attribute result =
-            interceptor.processClassAttribute(
-                new JavaClass( new JavaSource() ),
-                attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "mx.component", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      1,
-                      result.getParameterCount() );
-        assertEquals( "attribute.parameter(description)",
-                      "MyTopic",
-                      result.getParameter( "description" ) );
-    }
-
-    public void testProcessClassAttributeWithPhoenixService()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Properties parameters = new Properties();
-        parameters.setProperty( "name", "X" );
-        final Attribute attribute = new Attribute( "phoenix:service",
-                                                   parameters );
-        final Attribute result =
-            interceptor.processClassAttribute(
-                new JavaClass( new JavaSource() ),
-                attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "dna.service", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      1,
-                      result.getParameterCount() );
-        assertEquals( "attribute.parameter(type)",
-                      "X",
-                      result.getParameter( "type" ) );
-    }
-
-    public void testProcessClassAttributeWithPhoenixMXProxy()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Properties parameters = new Properties();
-        parameters.setProperty( "class", "X" );
-        final Attribute attribute = new Attribute( "phoenix:mx-proxy",
-                                                   parameters );
-        final Attribute result =
-            interceptor.processClassAttribute(
-                new JavaClass( new JavaSource() ),
-                attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "mx.proxy", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      1,
-                      result.getParameterCount() );
-        assertEquals( "attribute.parameter(type)",
-                      "X",
-                      result.getParameter( "type" ) );
-    }
-
-    public void testProcessMethodAttributeWithoutTransformation()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute attribute = new Attribute( "ignore-me" );
-        final Attribute result =
-            interceptor.processMethodAttribute( new JavaMethod(), attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "ignore-me", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      0,
-                      result.getParameterCount() );
-    }
-
-    public void testProcessMethodAttributeWithMXDescription()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute attribute = new Attribute( "phoenix:mx-description" );
-        final Attribute result =
-            interceptor.processMethodAttribute( new JavaMethod(), attribute );
-        assertNull( "attribute", result );
-    }
-
-    public void testProcessMethodAttributeWithMXAttributeAndNoDescriptionOrComment()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute attribute = new Attribute( "phoenix:mx-attribute" );
-        final Attribute result =
-            interceptor.processMethodAttribute( new JavaMethod(), attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "mx.attribute", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      0,
-                      result.getParameterCount() );
-    }
-
-    public void testProcessMethodAttributeWithMXAttributeAndDescription()
-        throws Exception
-    {
-        final String description = "A Random Thought";
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute attribute = new Attribute( "phoenix:mx-attribute" );
-        final JavaMethod method = new JavaMethod();
-        final ArrayList tags = new ArrayList();
-        final DocletTagFactory factory = new DefaultDocletTagFactory();
-        tags.add(
-            factory.createDocletTag( "phoenix:mx-description", description ) );
-        method.setTags( tags );
-        final Attribute result =
-            interceptor.processMethodAttribute( method, attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "mx.attribute", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      1,
-                      result.getParameterCount() );
-        assertEquals( "attribute.parameter(description)",
-                      description, result.getParameter( "description" ) );
-    }
-
-    public void testProcessMethodAttributeWithMXAttributeAndComment()
-        throws Exception
-    {
-        final String description = "A Random Thought";
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute attribute = new Attribute( "phoenix:mx-attribute" );
-        final JavaMethod method = new JavaMethod();
-        method.setComment( description );
-        final Attribute result =
-            interceptor.processMethodAttribute( method, attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "mx.attribute", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      1,
-                      result.getParameterCount() );
-        assertEquals( "attribute.parameter(description)",
-                      description, result.getParameter( "description" ) );
-    }
-
-    public void testProcessMethodAttributeWithMXOperationAndNoDescriptionOrComment()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute attribute = new Attribute( "phoenix:mx-operation" );
-        final Attribute result =
-            interceptor.processMethodAttribute( new JavaMethod(), attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "mx.operation", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      0,
-                      result.getParameterCount() );
-    }
-
-    public void testProcessMethodAttributeWithMXOperationAndDescription()
-        throws Exception
-    {
-        final String description = "A Random Thought";
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute attribute = new Attribute( "phoenix:mx-operation" );
-        final JavaMethod field = new JavaMethod();
-        final ArrayList tags = new ArrayList();
-        tags.add(
-            new DefaultDocletTag( "phoenix:mx-description", description ) );
-        field.setTags( tags );
-        final Attribute result =
-            interceptor.processMethodAttribute( field, attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "mx.operation", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      1,
-                      result.getParameterCount() );
-        assertEquals( "attribute.parameter(description)",
-                      description, result.getParameter( "description" ) );
-    }
-
-    public void testProcessMethodAttributeWithMXOperationAndComment()
-        throws Exception
-    {
-        final String description = "A Random Thought";
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute attribute = new Attribute( "phoenix:mx-operation" );
-        final JavaMethod field = new JavaMethod();
-        field.setComment( description );
-        final Attribute result =
-            interceptor.processMethodAttribute( field, attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "mx.operation", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      1,
-                      result.getParameterCount() );
-        assertEquals( "attribute.parameter(description)",
-                      description, result.getParameter( "description" ) );
-    }
-
-    public void testProcessMethodAttributeWithPhoenixConfigurationSchema()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute attribute = new Attribute(
-            "phoenix:configuration-schema" );
-        final JavaClass javaClass = new JavaClass( new JavaSource() );
-        javaClass.setName( "com.biz.MyClass" );
-        final JavaMethod method = new JavaMethod();
-        method.setParentClass( javaClass );
-        final Attribute result =
-            interceptor.processMethodAttribute( method, attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name",
-                      "dna.configuration",
-                      result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      0,
-                      result.getParameterCount() );
-    }
-
-    public void testProcessMethodAttributeWithPhoenixConfigurationSchemaSpecifyingType()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Properties parameters = new Properties();
-        final String type = "BobbaFett";
-        parameters.setProperty( "type", type );
-        final Attribute attribute = new Attribute(
-            "phoenix:configuration-schema", parameters );
-        final JavaClass javaClass = new JavaClass( new JavaSource() );
-        javaClass.setName( "com.biz.MyClass" );
-        final JavaMethod method = new JavaMethod();
-        method.setParentClass( javaClass );
-        final Attribute result =
-            interceptor.processMethodAttribute( method, attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name",
-                      "dna.configuration",
-                      result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      1,
-                      result.getParameterCount() );
-        assertEquals( "attribute.parameter(type)",
-                      type, result.getParameter( "type" ) );
-    }
-
-    public void testProcessMethodAttributeWithPhoenixConfigurationSchemaSpecifyingRelaxType()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Properties parameters = new Properties();
-        parameters.setProperty( "type", "relax-ng" );
-        final Attribute attribute = new Attribute(
-            "phoenix:configuration-schema", parameters );
-        final JavaClass javaClass = new JavaClass( new JavaSource() );
-        javaClass.setName( "com.biz.MyClass" );
-        final JavaMethod method = new JavaMethod();
-        method.setParentClass( javaClass );
-        final Attribute result =
-            interceptor.processMethodAttribute( method, attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name",
-                      "dna.configuration",
-                      result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      1,
-                      result.getParameterCount() );
-        assertEquals( "attribute.parameter(type)",
-                      "http://relaxng.org/ns/structure/1.0",
-                      result.getParameter( "type" ) );
-    }
-
-    public void testProcessMethodAttributeWithPhoenixDependency()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Properties parameters = new Properties();
-        final String type = "BobbaFett";
-        parameters.setProperty( "name", type );
-        final Attribute attribute = new Attribute( "phoenix:dependency",
-                                                   parameters );
-        final Attribute result =
-            interceptor.processMethodAttribute( new JavaMethod(), attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "dna.dependency", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      1,
-                      result.getParameterCount() );
-        assertEquals( "attribute.parameter(type)",
-                      type, result.getParameter( "type" ) );
-    }
-
-    public void testProcessMethodAttributeWithPhoenixDependencyWithRoleSpecified()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Properties parameters = new Properties();
-        final String type = "BobbaFett";
-        final String key = "myKey";
-        parameters.setProperty( "name", type );
-        parameters.setProperty( "role", key );
-        final Attribute attribute = new Attribute( "phoenix:dependency",
-                                                   parameters );
-        final Attribute result =
-            interceptor.processMethodAttribute( new JavaMethod(), attribute );
-        assertNotNull( "attribute", result );
-        assertEquals( "attribute.name", "dna.dependency", result.getName() );
-        assertEquals( "attribute.value", null, result.getValue() );
-        assertEquals( "attribute.parameterCount",
-                      2,
-                      result.getParameterCount() );
-        assertEquals( "attribute.parameter(type)",
-                      type, result.getParameter( "type" ) );
-        assertEquals( "attribute.parameter(key)",
-                      key, result.getParameter( "key" ) );
-    }
-
-    public void testProcessClassAttributesWithoutMXService()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute[] input = new Attribute[]{
-            new Attribute( "RandomJAttribute" )};
-        final Attribute[] attributes =
-            interceptor.processClassAttributes(
-                new JavaClass( new JavaSource() ), input );
-        assertEquals( "attributes.length", 1, attributes.length );
-        assertEquals( "attributes[0].name",
-                      "RandomJAttribute",
-                      attributes[ 0 ].getName() );
-        assertEquals( "attributes[0].value",
-                      null,
-                      attributes[ 0 ].getValue() );
-        assertEquals( "attributes[0].parameterCount",
-                      0,
-                      attributes[ 0 ].getParameterCount() );
-    }
-
-    public void testProcessClassAttributesWithMXService()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Properties parameters = new Properties();
-        final String type = "PerformMagicService";
-        parameters.setProperty( "name", type );
-        final Attribute attribute = new Attribute( "phoenix:mx", parameters );
-        final Attribute[] input = new Attribute[]{attribute};
-        final Attribute[] attributes =
-            interceptor.processClassAttributes(
-                new JavaClass( new JavaSource() ), input );
-        assertEquals( "attributes.length", 2, attributes.length );
-        assertEquals( "attributes[0].name",
-                      "dna.service",
-                      attributes[ 0 ].getName() );
-        assertEquals( "attributes[0].value",
-                      null,
-                      attributes[ 0 ].getValue() );
-        assertEquals( "attributes[0].parameterCount",
-                      1,
-                      attributes[ 0 ].getParameterCount() );
-        assertEquals( "attributes[0].parameter(type)",
-                      type, attributes[ 0 ].getParameter( "type" ) );
-        assertEquals( "attributes[1].name",
-                      "mx.interface",
-                      attributes[ 1 ].getName() );
-        assertEquals( "attributes[1].value",
-                      null,
-                      attributes[ 1 ].getValue() );
-        assertEquals( "attributes[1].parameterCount",
-                      2,
-                      attributes[ 1 ].getParameterCount() );
-        assertEquals( "attributes[1].parameter(type)",
-                      type, attributes[ 1 ].getParameter( "type" ) );
-        assertEquals( "attributes[1].parameter(topic)",
-                      "PerformMagicService",
-                      attributes[ 1 ].getParameter( "type" ) );
-    }
-
-    public void testProcessMethodAttributesWithoutMXOperation()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute[] input = new Attribute[]{
-            new Attribute( "RandomJAttribute" )};
-        final Attribute[] attributes =
-            interceptor.processMethodAttributes( new JavaMethod(), input );
-        assertEquals( "attributes.length", 1, attributes.length );
-        assertEquals( "attributes[0].name",
-                      "RandomJAttribute",
-                      attributes[ 0 ].getName() );
-        assertEquals( "attributes[0].value",
-                      null,
-                      attributes[ 0 ].getValue() );
-        assertEquals( "attributes[0].parameterCount",
-                      0,
-                      attributes[ 0 ].getParameterCount() );
-
-    }
-
-    public void testProcessMethodAttributesWithMXOperationWithoutParameters()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute[] input = new Attribute[]{
-            new Attribute( "mx.operation" )};
-        final Attribute[] attributes =
-            interceptor.processMethodAttributes( new JavaMethod(), input );
-        assertEquals( "attributes.length", 1, attributes.length );
-        assertEquals( "attributes[0].name",
-                      "mx.operation",
-                      attributes[ 0 ].getName() );
-        assertEquals( "attributes[0].value",
-                      null,
-                      attributes[ 0 ].getValue() );
-        assertEquals( "attributes[0].parameterCount",
-                      0,
-                      attributes[ 0 ].getParameterCount() );
-    }
-
-    public void testProcessMethodAttributesWithMXOperationWithMalformedParameter()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute[] input =
-            new Attribute[]{new Attribute( "mx.operation" ),
-                            new Attribute( "param", "var" )};
-        final Attribute[] attributes =
-            interceptor.processMethodAttributes( new JavaMethod(), input );
-        assertEquals( "attributes.length", 2, attributes.length );
-        assertEquals( "attributes[0].name",
-                      "mx.operation",
-                      attributes[ 0 ].getName() );
-        assertEquals( "attributes[0].value",
-                      null,
-                      attributes[ 0 ].getValue() );
-        assertEquals( "attributes[0].parameterCount",
-                      0,
-                      attributes[ 0 ].getParameterCount() );
-        assertEquals( "attributes[1].name",
-                      "param",
-                      attributes[ 1 ].getName() );
-        assertEquals( "attributes[1].value",
-                      "var",
-                      attributes[ 1 ].getValue() );
-        assertEquals( "attributes[1].parameterCount",
-                      0,
-                      attributes[ 1 ].getParameterCount() );
-    }
-
-    public void testProcessMethodAttributesWithMXOperationWithParameter()
-        throws Exception
-    {
-        final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
-        final Attribute[] input =
-            new Attribute[]{new Attribute( "mx.operation" ),
-                            new Attribute( "param",
-                                           "var This is the description" )};
-        final Attribute[] attributes =
-            interceptor.processMethodAttributes( new JavaMethod(), input );
-        assertEquals( "attributes.length", 3, attributes.length );
-        assertEquals( "attributes[0].name",
-                      "mx.operation",
-                      attributes[ 0 ].getName() );
-        assertEquals( "attributes[0].value",
-                      null,
-                      attributes[ 0 ].getValue() );
-        assertEquals( "attributes[0].parameterCount",
-                      0,
-                      attributes[ 0 ].getParameterCount() );
-        assertEquals( "attributes[1].name",
-                      "param",
-                      attributes[ 1 ].getName() );
-        assertEquals( "attributes[1].value",
-                      "var This is the description",
-                      attributes[ 1 ].getValue() );
-        assertEquals( "attributes[1].parameterCount",
-                      0,
-                      attributes[ 1 ].getParameterCount() );
-        assertEquals( "attributes[2].name",
-                      "mx.parameter",
-                      attributes[ 2 ].getName() );
-        assertEquals( "attributes[2].value",
-                      null,
-                      attributes[ 2 ].getValue() );
-        assertEquals( "attributes[2].parameterCount",
-                      2,
-                      attributes[ 2 ].getParameterCount() );
-        assertEquals( "attributes[2].parameter(name)",
-                      "var",
-                      attributes[ 2 ].getParameter( "name" ) );
-        assertEquals( "attributes[2].parameter(description)",
-                      "This is the description",
-                      attributes[ 2 ].getParameter( "description" ) );
-    }
-}
</pre></div>
<hr /><a name="file12" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a><br /></span>
<div class="fileheader" id="added"><big><b>project.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/project.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N project.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ project.xml	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,57 @@
</small></pre><pre class="diff" id="added">+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;project&gt;
+    &lt;extend&gt;${basedir}/../project.xml&lt;/extend&gt;
+    &lt;id&gt;maven-loom-plugin&lt;/id&gt;
+    &lt;name&gt;Maven Loom Plugin&lt;/name&gt;
+    &lt;description&gt;Maven Loom Plugin&lt;/description&gt;
+    &lt;shortDescription&gt;Maven Loom Plugin&lt;/shortDescription&gt;
+
+    &lt;siteDirectory&gt;/www/jcontainer.codehaus.org/loom/plugins/maven-loom&lt;/siteDirectory&gt;
+
+    &lt;versions&gt;
+        &lt;version&gt;
+            &lt;id&gt;${pom.currentVersion}&lt;/id&gt;
+            &lt;name&gt;${pom.currentVersion}&lt;/name&gt;
+            &lt;tag&gt;HEAD&lt;/tag&gt;
+        &lt;/version&gt;
+        &lt;version&gt;
+            &lt;id&gt;1.0&lt;/id&gt;
+            &lt;name&gt;1.0&lt;/name&gt;
+            &lt;tag&gt;MAVEN_LOOM_PLUGIN_1_0-tag&lt;/tag&gt;
+        &lt;/version&gt;
+    &lt;/versions&gt;
+
+    &lt;developers&gt;
+        &lt;developer&gt;
+            &lt;name&gt;Mauro Talevi&lt;/name&gt;
+            &lt;id&gt;mauro&lt;/id&gt;
+        &lt;/developer&gt;
+    &lt;/developers&gt;
+
+    &lt;dependencies&gt;
+        &lt;dependency&gt;
+            &lt;groupId&gt;ant&lt;/groupId&gt;
+            &lt;artifactId&gt;ant&lt;/artifactId&gt;
+            &lt;version&gt;1.5.1&lt;/version&gt;
+        &lt;/dependency&gt;
+        &lt;dependency&gt;
+            &lt;groupId&gt;dna&lt;/groupId&gt;
+            &lt;artifactId&gt;dna-tools&lt;/artifactId&gt;
+            &lt;version&gt;1.1-rc2&lt;/version&gt;
+        &lt;/dependency&gt;
+        &lt;dependency&gt;
+            &lt;id&gt;qdox&lt;/id&gt;
+            &lt;version&gt;1.3&lt;/version&gt;
+        &lt;/dependency&gt;
+        &lt;dependency&gt;
+            &lt;id&gt;avalon-framework&lt;/id&gt;
+            &lt;version&gt;4.1.5&lt;/version&gt;
+        &lt;/dependency&gt;
+        &lt;dependency&gt;
+            &lt;groupId&gt;spice&lt;/groupId&gt;
+            &lt;artifactId&gt;spice-metaclass&lt;/artifactId&gt;
+            &lt;version&gt;1.0-rc3-dev&lt;/version&gt;
+        &lt;/dependency&gt;
+    &lt;/dependencies&gt;
+
+&lt;/project&gt;
</pre></div>
<hr /><a name="file13" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a><br /></span>
<div class="fileheader" id="added"><big><b>plugin.jelly</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/plugin.jelly?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N plugin.jelly
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ plugin.jelly	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,161 @@
</small></pre><pre class="diff" id="added">+&lt;?xml version="1.0"?&gt;
+
+&lt;project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:artifact="artifact" xmlns:license="license" xmlns:util="jelly:util"&gt;
+
+    &lt;j:set var="loom.sar.final.name" value="${pom.artifactId}.sar"/&gt;
+    &lt;j:set var="logging" value="${context.getVariable('maven.loom.logging')}"/&gt;
+
+    &lt;!--==================================================================--&gt;
+    &lt;!-- Default goal : Builds a sar file                                 --&gt;
+    &lt;!--==================================================================--&gt;
+    &lt;goal name="loom" prereqs="loom:sar" description="Build a sar file"/&gt;
+
+    &lt;!--==================================================================--&gt;
+    &lt;!-- Setup Descriptor Tools                                           --&gt;
+    &lt;!--==================================================================--&gt;
+    &lt;goal name="loom:init" prereqs="dna:init" description="Setup Loom Descriptor Processing Tasks"&gt;
+
+        &lt;ant:mc_interceptorSet id="maven.loom.interceptors"&gt;
+            &lt;ant:interceptor name="org.jcontainer.loom.info.PhoenixAttributeInterceptor"&gt;
+                &lt;ant:classpath&gt;
+                    &lt;ant:pathelement path="${plugin.dir}"/&gt;
+                    &lt;!--
+                    The following allows applications to resolve * imports for
+                    types in the source code. If this is not included then
+                    all imports must be fully specified or else they will be
+                    incorrectly specified in attributes file.
+                    --&gt;
+                    &lt;!--&lt;ant:path refid="maven.dependency.classpath"/&gt;--&gt;
+                &lt;/ant:classpath&gt;
+            &lt;/ant:interceptor&gt;
+        &lt;/ant:mc_interceptorSet&gt;
+
+        &lt;ant:mc_addToInterceptorSet dest="maven.metaclass.interceptors" source="maven.loom.interceptors"/&gt;
+    &lt;/goal&gt;
+
+    &lt;!--==================================================================--&gt;
+    &lt;!-- Metagenerate descriptor files                                    --&gt;
+    &lt;!--==================================================================--&gt;
+    &lt;goal name="loom:metagenerate" prereqs="loom:init,metaclass:generate" description="Generate Loom Descriptor Files"&gt;
+    &lt;/goal&gt;
+
+    &lt;!--==================================================================--&gt;
+    &lt;!-- Builds a sar file                                                --&gt;
+    &lt;!--==================================================================--&gt;
+    &lt;goal name="loom:sar" prereqs="jar:jar" description="Build a Loom sar file"&gt;
+
+        &lt;ant:echo message="Building sar ${loom.sar.final.name}"/&gt;
+        &lt;!-- Ensure maven.loom.build.dir exists --&gt;
+        &lt;ant:mkdir dir="${maven.loom.build.dir}"/&gt;
+        &lt;ant:jar destfile="${maven.loom.build.dir}/${loom.sar.final.name}"&gt;
+            &lt;!-- Add Sar descriptor files to SAR-INF/ --&gt;
+            &lt;ant:zipfileset file="${maven.loom.assembly}" fullpath="SAR-INF/assembly.xml"/&gt;
+            &lt;ant:zipfileset file="${maven.loom.config}" fullpath="SAR-INF/config.xml"/&gt;
+            &lt;ant:zipfileset file="${maven.loom.environment}" fullpath="SAR-INF/environment.xml"/&gt;
+            &lt;j:if test="${!empty(logging)}"&gt;
+                &lt;ant:zipfileset file="${logging}" prefix="SAR-INF/"/&gt;
+            &lt;/j:if&gt;
+            &lt;!-- Add build artifacts --&gt;
+            &lt;ant:zipfileset dir="${maven.loom.build.dir}" prefix="SAR-INF/lib"&gt;
+                &lt;ant:include name="${maven.loom.lib.include}"/&gt;
+                &lt;ant:exclude name="${maven.loom.lib.exclude}"/&gt;
+            &lt;/ant:zipfileset&gt;
+            &lt;!-- Add dependency artifacts --&gt;
+            &lt;j:forEach var="artifact" items="${pom.artifacts}"&gt;
+                &lt;j:set var="dependency" value="${artifact.dependency}"/&gt;
+                &lt;j:if test="${dependency.getProperty('sar.bundle')=='true'}"&gt;
+                    &lt;ant:zipfileset dir="${maven.repo.local}/${dependency.artifactDirectory}/jars/" prefix="SAR-INF/lib"&gt;
+                        &lt;ant:include name="${dependency.artifact}"/&gt;
+                    &lt;/ant:zipfileset&gt;
+                &lt;/j:if&gt;
+            &lt;/j:forEach&gt;
+            &lt;!-- Add resources with targetPath = 'SAR-INF' --&gt;
+            &lt;j:forEach var="resource" items="${pom.build.resources}"&gt;
+                &lt;ant:patternset id="maven.loom.resources.set"&gt;
+                    &lt;j:forEach var="include" items="${resource.includes}"&gt;
+                        &lt;ant:include name="${include}"/&gt;
+                    &lt;/j:forEach&gt;
+                    &lt;j:forEach var="exclude" items="${resource.excludes}"&gt;
+                        &lt;ant:exclude name="${exclude}"/&gt;
+                    &lt;/j:forEach&gt;
+                &lt;/ant:patternset&gt;
+                &lt;j:set var="directory" value='${resource.directory}'/&gt;
+                &lt;j:if test="${directory == null}"&gt;
+                    &lt;j:set var="directory" value='${basedir}'/&gt;
+                &lt;/j:if&gt;
+                &lt;j:set var="targetPath" value='${resource.targetPath}'/&gt;
+                &lt;j:if test="${targetPath == 'SAR-INF'}"&gt;
+                    &lt;ant:echo message="Adding resources from directory ${directory} to ${targetPath}..."/&gt;
+                    &lt;ant:zipfileset dir="${directory}" prefix="${targetPath}"&gt;
+                        &lt;ant:patternset refid="maven.loom.resources.set"/&gt;
+                    &lt;/ant:zipfileset&gt;
+                &lt;/j:if&gt;
+            &lt;/j:forEach&gt;
+
+            &lt;j:set var="licenseFileName"&gt;
+                &lt;license:fileName/&gt;
+            &lt;/j:set&gt;
+            &lt;util:file name="${licenseFileName}" var="licenseFile"/&gt;
+            &lt;ant:metainf dir="${licenseFile.canonicalFile.parent}"&gt;
+                &lt;ant:include name="${licenseFile.canonicalFile.name}"/&gt;
+            &lt;/ant:metainf&gt;
+
+            &lt;ant:manifest&gt;
+                &lt;ant:attribute name="Built-By" value="${user.name}"/&gt;
+                &lt;ant:section name="${pom.package}"&gt;
+                    &lt;ant:attribute name="Specification-Title" value="${pom.artifactId}"/&gt;
+                    &lt;ant:attribute name="Specification-Version" value="${pom.currentVersion}"/&gt;
+                    &lt;ant:attribute name="Specification-Vendor" value="${pom.organization.name}"/&gt;
+                    &lt;ant:attribute name="Implementation-Title" value="${pom.package}"/&gt;
+                    &lt;ant:attribute name="Implementation-Version" value="${pom.currentVersion}"/&gt;
+                    &lt;ant:attribute name="Implementation-Vendor" value="${pom.organization.name}"/&gt;
+                &lt;/ant:section&gt;
+            &lt;/ant:manifest&gt;
+        &lt;/ant:jar&gt;
+
+    &lt;/goal&gt;
+
+    &lt;!--==================================================================--&gt;
+    &lt;!-- Install the sar in the local repository                          --&gt;
+    &lt;!--==================================================================--&gt;
+    &lt;goal name="loom:install" prereqs="loom:sar" description="Install the sar in the local repository"&gt;
+
+        &lt;artifact:install artifact="${maven.loom.build.dir}/${loom.sar.final.name}" type="sar" project="${pom}"/&gt;
+
+    &lt;/goal&gt;
+
+    &lt;!--==================================================================--&gt;
+    &lt;!-- Install snapshot of the sar in the local repository              --&gt;
+    &lt;!--==================================================================--&gt;
+    &lt;goal name="loom:install-snapshot" prereqs="loom:sar" description="Install snapshot of the sar in the local repository"&gt;
+
+        &lt;artifact:install-snapshot artifact="${maven.loom.build.dir}/${loom.sar.final.name}" type="sar" project="${pom}"/&gt;
+
+    &lt;/goal&gt;
+
+    &lt;!--==================================================================--&gt;
+    &lt;!-- Deploy the sar to the remote repository                          --&gt;
+    &lt;!--==================================================================--&gt;
+    &lt;goal name="loom:deploy" prereqs="sar" description="Deploy the sar to the remote repository"&gt;
+
+        &lt;artifact:deploy artifact="${maven.loom.build.dir}/${loom.sar.final.name}" type="sar" project="${pom}"/&gt;
+
+    &lt;/goal&gt;
+
+    &lt;!--==================================================================--&gt;
+    &lt;!-- Deploy snapshot of the sar to the remote repository              --&gt;
+    &lt;!--==================================================================--&gt;
+    &lt;goal name="loom:deploy-snapshot" prereqs="loom:sar" description="Deploy snapshot of the sar to the remote repository"&gt;
+
+        &lt;artifact:deploy-snapshot artifact="${maven.loom.build.dir}/${loom.sar.final.name}" type="sar" project="${pom}"/&gt;
+
+    &lt;/goal&gt;
+
+    &lt;!--==================================================================--&gt;
+    &lt;!-- Special no-op goal which can be used by other plugin which need  --&gt;
+    &lt;!-- to get access to any of this plugin's property. This is          --&gt;
+    &lt;!-- temporary, until we get explicit plugin dependencies.            --&gt;
+    &lt;!--==================================================================--&gt;
+    &lt;goal name="loom:load"/&gt;
+
+&lt;/project&gt;
</pre></div>
<hr /><a name="file14" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a><br /></span>
<div class="fileheader" id="added"><big><b>project.properties</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/project.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N project.properties
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ project.properties	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,8 @@
</small></pre><pre class="diff" id="added">+# -------------------------------------------------------------------
+# P R O J E C T  P R O P E R T I E S
+# -------------------------------------------------------------------
+maven.repo.remote = http://ibiblio.org/maven/,http://dist.codehaus.org,http://spice.codehaus.org/maven/,http://spice.sf.net/maven/,
+maven.xdoc.date=left
+maven.xdoc.version=${pom.currentVersion}
+maven.license.licenseFile=${basedir}/../../../LICENSE.txt
+
</pre></div>
<hr /><a name="file15" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a><br /></span>
<div class="fileheader" id="added"><big><b>maven.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/maven.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N maven.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ maven.xml	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,36 @@
</small></pre><pre class="diff" id="added">+&lt;project default="main"
+    xmlns:ant="jelly:ant"
+    xmlns:deploy="deploy"&gt;
+
+    &lt;goal name="main"&gt;
+        &lt;attainGoal name="build"/&gt;
+    &lt;/goal&gt;
+
+    &lt;goal name="build"&gt;
+        &lt;attainGoal name="plugin"/&gt;
+    &lt;/goal&gt;
+
+    &lt;goal name="install"&gt;
+        &lt;attainGoal name="plugin:install"/&gt;
+        &lt;ant:copy file="${maven.build.dir}/${maven.final.name}.jar"
+            todir="${maven.repo.local}/${pom.groupId}/plugins"/&gt;
+        &lt;ant:delete dir="${maven.home}/plugins/${maven.final.name}.jar"/&gt;
+        &lt;ant:delete dir="${maven.home}/plugins/${maven.final.name}"/&gt;
+        &lt;ant:delete&gt;
+            &lt;ant:fileset dir="${maven.home}/plugins"&gt;
+                &lt;ant:include name="${pom.artifactID}-*"/&gt;
+            &lt;/ant:fileset&gt;
+        &lt;/ant:delete&gt;
+    &lt;/goal&gt;
+
+    &lt;goal name="deploy"&gt;
+        &lt;attainGoal name="plugin:deploy"/&gt;
+        &lt;ant:property name="artifact" value="${maven.final.name}.jar"/&gt;
+        &lt;deploy:artifact
+            artifact="${maven.build.dir}/${artifact}"
+            type="plugins"
+            assureDirectoryCommand="mkdir -p"
+            siteCommand="cd @deployDirectory@; chmod g+w ${artifact}; chgrp ${maven.remote.group} ${artifact}"/&gt;
+    &lt;/goal&gt;
+
+&lt;/project&gt;
</pre></div>
<hr /><a name="file16" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a><br /></span>
<div class="fileheader" id="added"><big><b>.cvsignore</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/.cvsignore?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N .cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .cvsignore	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,4 @@
</small></pre><pre class="diff" id="added">+target
+*.log
+*.iml
+*.ipr
</pre></div>
<hr /><a name="file17" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a><br /></span>
<div class="fileheader" id="added"><big><b>plugin.properties</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/plugin.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N plugin.properties
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ plugin.properties	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,23 @@
</small></pre><pre class="diff" id="added">+# -------------------------------------------------------------------
+# P L U G I N  P R O P E R T I E S
+# -------------------------------------------------------------------
+# Maven Loom plugin
+# -------------------------------------------------------------------
+# Location of where the source is located in the source tree.
+maven.loom.src=${maven.src.dir}
+# Location of configuration files
+maven.loom.assembly=${maven.loom.src}/conf/assembly.xml
+maven.loom.config=${maven.loom.src}/conf/config.xml
+maven.loom.environment=${maven.loom.src}/conf/environment.xml
+# The optional logging file allows the specification of logging
+# outside of environment file. The recognised valid logging file names are:
+# log4j.properties, log4j.xml, logging.properties, excalibur-logger.xml
+# The environment logging takes precedence over the logging file.
+maven.loom.logging=
+# Location where the sar will be created.
+maven.loom.build.dir=${maven.build.dir}
+# Build artifacts to include/exclude in sar SAR-INF/lib
+# These are are not specified in the dependency element
+# and are found in ${maven.loom.build.dir}
+maven.loom.lib.include=${pom.artifactId}*.jar
+maven.loom.lib.exclude=
</pre></div>
<hr /><a name="file18" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a><br /></span>
<div class="fileheader" id="removed"><big><b>maven.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/maven.xml?rev=1.4&amp;content-type=text/vnd.viewcvs-markup">1.4</a></small></div>
<pre class="diff"><small id="info">diff -N maven.xml
--- maven.xml	28 Oct 2003 13:26:42 -0000	1.4
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,36 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;project default="main"
-    xmlns:ant="jelly:ant"
-    xmlns:deploy="deploy"&gt;
-
-    &lt;goal name="main"&gt;
-        &lt;attainGoal name="build"/&gt;
-    &lt;/goal&gt;
-
-    &lt;goal name="build"&gt;
-        &lt;attainGoal name="plugin"/&gt;
-    &lt;/goal&gt;
-
-    &lt;goal name="install"&gt;
-        &lt;attainGoal name="plugin:install"/&gt;
-        &lt;ant:copy file="${maven.build.dir}/${maven.final.name}.jar"
-            todir="${maven.repo.local}/${pom.groupId}/plugins"/&gt;
-        &lt;ant:delete dir="${maven.home}/plugins/${maven.final.name}.jar"/&gt;
-        &lt;ant:delete dir="${maven.home}/plugins/${maven.final.name}"/&gt;
-        &lt;ant:delete&gt;
-            &lt;ant:fileset dir="${maven.home}/plugins"&gt;
-                &lt;ant:include name="${pom.artifactID}-*"/&gt;
-            &lt;/ant:fileset&gt;
-        &lt;/ant:delete&gt;
-    &lt;/goal&gt;
-
-    &lt;goal name="deploy"&gt;
-        &lt;attainGoal name="plugin:deploy"/&gt;
-        &lt;ant:property name="artifact" value="${maven.final.name}.jar"/&gt;
-        &lt;deploy:artifact
-            artifact="${maven.build.dir}/${artifact}"
-            type="plugins"
-            assureDirectoryCommand="mkdir -p"
-            siteCommand="cd @deployDirectory@; chmod g+w ${artifact}; chgrp ${maven.remote.group} ${artifact}"/&gt;
-    &lt;/goal&gt;
-
-&lt;/project&gt;
</pre></div>
<hr /><a name="file19" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a><br /></span>
<div class="fileheader" id="removed"><big><b>project.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/project.xml?rev=1.12&amp;content-type=text/vnd.viewcvs-markup">1.12</a></small></div>
<pre class="diff"><small id="info">diff -N project.xml
--- project.xml	22 Mar 2004 22:23:22 -0000	1.12
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,57 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;project&gt;
-    &lt;extend&gt;${basedir}/../project.xml&lt;/extend&gt;
-    &lt;id&gt;maven-sar-plugin&lt;/id&gt;
-    &lt;name&gt;Maven Sar Plugin&lt;/name&gt;
-    &lt;description&gt;Maven Sar Plugin&lt;/description&gt;
-    &lt;shortDescription&gt;Maven Sar Plugin&lt;/shortDescription&gt;
-
-    &lt;siteDirectory&gt;/www/jcontainer.codehaus.org/loom/plugins/maven-sar&lt;/siteDirectory&gt;
-
-    &lt;versions&gt;
-        &lt;version&gt;
-            &lt;id&gt;${pom.currentVersion}&lt;/id&gt;
-            &lt;name&gt;${pom.currentVersion}&lt;/name&gt;
-            &lt;tag&gt;HEAD&lt;/tag&gt;
-        &lt;/version&gt;
-        &lt;version&gt;
-            &lt;id&gt;1.0&lt;/id&gt;
-            &lt;name&gt;1.0&lt;/name&gt;
-            &lt;tag&gt;MAVEN_SAR_PLUGIN_1_0-tag&lt;/tag&gt;
-        &lt;/version&gt;
-    &lt;/versions&gt;
-
-    &lt;developers&gt;
-        &lt;developer&gt;
-            &lt;name&gt;Mauro Talevi&lt;/name&gt;
-            &lt;id&gt;mauro&lt;/id&gt;
-        &lt;/developer&gt;
-    &lt;/developers&gt;
-
-    &lt;dependencies&gt;
-        &lt;dependency&gt;
-            &lt;groupId&gt;ant&lt;/groupId&gt;
-            &lt;artifactId&gt;ant&lt;/artifactId&gt;
-            &lt;version&gt;1.5.1&lt;/version&gt;
-        &lt;/dependency&gt;
-        &lt;dependency&gt;
-            &lt;groupId&gt;dna&lt;/groupId&gt;
-            &lt;artifactId&gt;dna-tools&lt;/artifactId&gt;
-            &lt;version&gt;1.1-rc2&lt;/version&gt;
-        &lt;/dependency&gt;
-        &lt;dependency&gt;
-            &lt;id&gt;qdox&lt;/id&gt;
-            &lt;version&gt;1.3&lt;/version&gt;
-        &lt;/dependency&gt;
-        &lt;dependency&gt;
-            &lt;id&gt;avalon-framework&lt;/id&gt;
-            &lt;version&gt;4.1.5&lt;/version&gt;
-        &lt;/dependency&gt;
-        &lt;dependency&gt;
-            &lt;groupId&gt;spice&lt;/groupId&gt;
-            &lt;artifactId&gt;spice-metaclass&lt;/artifactId&gt;
-            &lt;version&gt;1.0-rc3-dev&lt;/version&gt;
-        &lt;/dependency&gt;
-    &lt;/dependencies&gt;
-
-&lt;/project&gt;
</pre></div>
<hr /><a name="file20" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a><br /></span>
<div class="fileheader" id="removed"><big><b>plugin.jelly</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/plugin.jelly?rev=1.15&amp;content-type=text/vnd.viewcvs-markup">1.15</a></small></div>
<pre class="diff"><small id="info">diff -N plugin.jelly
--- plugin.jelly	22 Mar 2004 23:02:09 -0000	1.15
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,161 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?xml version="1.0"?&gt;
-
-&lt;project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:artifact="artifact" xmlns:license="license" xmlns:util="jelly:util"&gt;
-
-    &lt;j:set var="maven.sar.final.name" value="${pom.artifactId}.sar"/&gt;
-    &lt;j:set var="logging" value="${context.getVariable('maven.sar.logging')}"/&gt;
-
-    &lt;!--==================================================================--&gt;
-    &lt;!-- Default goal : Builds a sar file                                 --&gt;
-    &lt;!--==================================================================--&gt;
-    &lt;goal name="sar" prereqs="sar:sar" description="Build a sar file"/&gt;
-
-    &lt;!--==================================================================--&gt;
-    &lt;!-- Setup Descriptor Tools                                           --&gt;
-    &lt;!--==================================================================--&gt;
-    &lt;goal name="sar:init" prereqs="dna:init" description="Setup Loom Descriptor Processing Tasks"&gt;
-
-        &lt;ant:mc_interceptorSet id="maven.loom.interceptors"&gt;
-            &lt;ant:interceptor name="org.jcontainer.loom.info.PhoenixAttributeInterceptor"&gt;
-                &lt;ant:classpath&gt;
-                    &lt;ant:pathelement path="${plugin.dir}"/&gt;
-                    &lt;!--
-                    The following allows applications to resolve * imports for
-                    types in the source code. If this is not included then
-                    all imports must be fully specified or else they will be
-                    incorrectly specified in attributes file.
-                    --&gt;
-                    &lt;!--&lt;ant:path refid="maven.dependency.classpath"/&gt;--&gt;
-                &lt;/ant:classpath&gt;
-            &lt;/ant:interceptor&gt;
-        &lt;/ant:mc_interceptorSet&gt;
-
-        &lt;ant:mc_addToInterceptorSet dest="maven.metaclass.interceptors" source="maven.loom.interceptors"/&gt;
-    &lt;/goal&gt;
-
-    &lt;!--==================================================================--&gt;
-    &lt;!-- Metagenerate descriptor files                                    --&gt;
-    &lt;!--==================================================================--&gt;
-    &lt;goal name="sar:metagenerate" prereqs="sar:init,metaclass:generate" description="Generate Loom Descriptor Files"&gt;
-    &lt;/goal&gt;
-
-    &lt;!--==================================================================--&gt;
-    &lt;!-- Builds a sar file                                                --&gt;
-    &lt;!--==================================================================--&gt;
-    &lt;goal name="sar:sar" prereqs="jar:jar" description="Build a sar file"&gt;
-
-        &lt;ant:echo message="Building sar ${maven.sar.final.name}"/&gt;
-        &lt;!-- Ensure maven.sar.build.dir exists --&gt;
-        &lt;ant:mkdir dir="${maven.sar.build.dir}"/&gt;
-        &lt;ant:jar destfile="${maven.sar.build.dir}/${maven.sar.final.name}"&gt;
-            &lt;!-- Add Sar descriptor files to SAR-INF/ --&gt;
-            &lt;ant:zipfileset file="${maven.sar.assembly}" fullpath="SAR-INF/assembly.xml"/&gt;
-            &lt;ant:zipfileset file="${maven.sar.config}" fullpath="SAR-INF/config.xml"/&gt;
-            &lt;ant:zipfileset file="${maven.sar.environment}" fullpath="SAR-INF/environment.xml"/&gt;
-            &lt;j:if test="${!empty(logging)}"&gt;
-                &lt;ant:zipfileset file="${logging}" prefix="SAR-INF/"/&gt;
-            &lt;/j:if&gt;
-            &lt;!-- Add build artifacts --&gt;
-            &lt;ant:zipfileset dir="${maven.sar.build.dir}" prefix="SAR-INF/lib"&gt;
-                &lt;ant:include name="${maven.sar.lib.include}"/&gt;
-                &lt;ant:exclude name="${maven.sar.lib.exclude}"/&gt;
-            &lt;/ant:zipfileset&gt;
-            &lt;!-- Add dependency artifacts --&gt;
-            &lt;j:forEach var="artifact" items="${pom.artifacts}"&gt;
-                &lt;j:set var="dependency" value="${artifact.dependency}"/&gt;
-                &lt;j:if test="${dependency.getProperty('sar.bundle')=='true'}"&gt;
-                    &lt;ant:zipfileset dir="${maven.repo.local}/${dependency.artifactDirectory}/jars/" prefix="SAR-INF/lib"&gt;
-                        &lt;ant:include name="${dependency.artifact}"/&gt;
-                    &lt;/ant:zipfileset&gt;
-                &lt;/j:if&gt;
-            &lt;/j:forEach&gt;
-            &lt;!-- Add resources with targetPath = 'SAR-INF' --&gt;
-            &lt;j:forEach var="resource" items="${pom.build.resources}"&gt;
-                &lt;ant:patternset id="maven.sar.resources.set"&gt;
-                    &lt;j:forEach var="include" items="${resource.includes}"&gt;
-                        &lt;ant:include name="${include}"/&gt;
-                    &lt;/j:forEach&gt;
-                    &lt;j:forEach var="exclude" items="${resource.excludes}"&gt;
-                        &lt;ant:exclude name="${exclude}"/&gt;
-                    &lt;/j:forEach&gt;
-                &lt;/ant:patternset&gt;
-                &lt;j:set var="directory" value='${resource.directory}'/&gt;
-                &lt;j:if test="${directory == null}"&gt;
-                    &lt;j:set var="directory" value='${basedir}'/&gt;
-                &lt;/j:if&gt;
-                &lt;j:set var="targetPath" value='${resource.targetPath}'/&gt;
-                &lt;j:if test="${targetPath == 'SAR-INF'}"&gt;
-                    &lt;ant:echo message="Adding resources from directory ${directory} to ${targetPath}..."/&gt;
-                    &lt;ant:zipfileset dir="${directory}" prefix="${targetPath}"&gt;
-                        &lt;ant:patternset refid="maven.sar.resources.set"/&gt;
-                    &lt;/ant:zipfileset&gt;
-                &lt;/j:if&gt;
-            &lt;/j:forEach&gt;
-
-            &lt;j:set var="licenseFileName"&gt;
-                &lt;license:fileName/&gt;
-            &lt;/j:set&gt;
-            &lt;util:file name="${licenseFileName}" var="licenseFile"/&gt;
-            &lt;ant:metainf dir="${licenseFile.canonicalFile.parent}"&gt;
-                &lt;ant:include name="${licenseFile.canonicalFile.name}"/&gt;
-            &lt;/ant:metainf&gt;
-
-            &lt;ant:manifest&gt;
-                &lt;ant:attribute name="Built-By" value="${user.name}"/&gt;
-                &lt;ant:section name="${pom.package}"&gt;
-                    &lt;ant:attribute name="Specification-Title" value="${pom.artifactId}"/&gt;
-                    &lt;ant:attribute name="Specification-Version" value="${pom.currentVersion}"/&gt;
-                    &lt;ant:attribute name="Specification-Vendor" value="${pom.organization.name}"/&gt;
-                    &lt;ant:attribute name="Implementation-Title" value="${pom.package}"/&gt;
-                    &lt;ant:attribute name="Implementation-Version" value="${pom.currentVersion}"/&gt;
-                    &lt;ant:attribute name="Implementation-Vendor" value="${pom.organization.name}"/&gt;
-                &lt;/ant:section&gt;
-            &lt;/ant:manifest&gt;
-        &lt;/ant:jar&gt;
-
-    &lt;/goal&gt;
-
-    &lt;!--==================================================================--&gt;
-    &lt;!-- Install the sar in the local repository                          --&gt;
-    &lt;!--==================================================================--&gt;
-    &lt;goal name="sar:install" prereqs="sar:sar" description="Install the sar in the local repository"&gt;
-
-        &lt;artifact:install artifact="${maven.sar.build.dir}/${maven.sar.final.name}" type="sar" project="${pom}"/&gt;
-
-    &lt;/goal&gt;
-
-    &lt;!--==================================================================--&gt;
-    &lt;!-- Install snapshot of the sar in the local repository              --&gt;
-    &lt;!--==================================================================--&gt;
-    &lt;goal name="sar:install-snapshot" prereqs="sar:sar" description="Install snapshot of the sar in the local repository"&gt;
-
-        &lt;artifact:install-snapshot artifact="${maven.sar.build.dir}/${maven.sar.final.name}" type="sar" project="${pom}"/&gt;
-
-    &lt;/goal&gt;
-
-    &lt;!--==================================================================--&gt;
-    &lt;!-- Deploy the sar to the remote repository                          --&gt;
-    &lt;!--==================================================================--&gt;
-    &lt;goal name="sar:deploy" prereqs="sar:sar" description="Deploy the sar to the remote repository"&gt;
-
-        &lt;artifact:deploy artifact="${maven.sar.build.dir}/${maven.sar.final.name}" type="sar" project="${pom}"/&gt;
-
-    &lt;/goal&gt;
-
-    &lt;!--==================================================================--&gt;
-    &lt;!-- Deploy snapshot of the sar to the remote repository              --&gt;
-    &lt;!--==================================================================--&gt;
-    &lt;goal name="sar:deploy-snapshot" prereqs="sar:sar" description="Deploy snapshot of the sar to the remote repository"&gt;
-
-        &lt;artifact:deploy-snapshot artifact="${maven.sar.build.dir}/${maven.sar.final.name}" type="sar" project="${pom}"/&gt;
-
-    &lt;/goal&gt;
-
-    &lt;!--==================================================================--&gt;
-    &lt;!-- Special no-op goal which can be used by other plugin which need  --&gt;
-    &lt;!-- to get access to any of this plugin's property. This is          --&gt;
-    &lt;!-- temporary, until we get explicit plugin dependencies.            --&gt;
-    &lt;!--==================================================================--&gt;
-    &lt;goal name="sar:load"/&gt;
-
-&lt;/project&gt;
</pre></div>
<hr /><a name="file21" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a><br /></span>
<div class="fileheader" id="removed"><big><b>plugin.properties</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/plugin.properties?rev=1.5&amp;content-type=text/vnd.viewcvs-markup">1.5</a></small></div>
<pre class="diff"><small id="info">diff -N plugin.properties
--- plugin.properties	29 Nov 2003 07:25:01 -0000	1.5
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
</small></pre><pre class="diff" id="removed">-# -------------------------------------------------------------------
-# P L U G I N  P R O P E R T I E S
-# -------------------------------------------------------------------
-# Loom Sar plugin
-# -------------------------------------------------------------------
-# Location of where the sar source is located in the source tree.
-maven.sar.src=${maven.src.dir}
-# Location of configuration files
-maven.sar.assembly=${maven.sar.src}/conf/assembly.xml
-maven.sar.config=${maven.sar.src}/conf/config.xml
-maven.sar.environment=${maven.sar.src}/conf/environment.xml
-# The optional logging file allows the specification of logging
-# outside of environment file. The recognised valid logging file names are:
-# log4j.properties, log4j.xml, logging.properties, excalibur-logger.xml
-# The environment logging takes precedence over the logging file.
-maven.sar.logging=
-# Location where the sar will be created.
-maven.sar.build.dir=${maven.build.dir}
-# Build artifacts to include/exclude in sar SAR-INF/lib
-# These are are not specified in the dependency element
-# and are found in ${maven.sar.build.dir}
-maven.sar.lib.include=${pom.artifactId}*.jar
-maven.sar.lib.exclude=
</pre></div>
<hr /><a name="file22" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a><br /></span>
<div class="fileheader" id="removed"><big><b>project.properties</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/project.properties?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></small></div>
<pre class="diff"><small id="info">diff -N project.properties
--- project.properties	29 Nov 2003 00:57:01 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,8 +0,0 @@
</small></pre><pre class="diff" id="removed">-# -------------------------------------------------------------------
-# P R O J E C T  P R O P E R T I E S
-# -------------------------------------------------------------------
-maven.repo.remote = http://ibiblio.org/maven/,http://dist.codehaus.org,http://spice.codehaus.org/maven/,http://spice.sf.net/maven/,
-maven.xdoc.date=left
-maven.xdoc.version=${pom.currentVersion}
-maven.license.licenseFile=${basedir}/../../../LICENSE.txt
-
</pre></div>
<hr /><a name="file23" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a><br /></span>
<div class="fileheader" id="removed"><big><b>.cvsignore</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/.cvsignore?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a></small></div>
<pre class="diff"><small id="info">diff -N .cvsignore
--- .cvsignore	20 Feb 2004 03:38:38 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
</small></pre><pre class="diff" id="removed">-target
-*.log
-*.iml
-*.ipr
</pre></div>
<hr /><a name="file24" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test">plugin-test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/java">java</a><br /></span>
<div class="fileheader" id="removed"><big><b>Test.java</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/java/Test.java?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N Test.java
--- Test.java	2 Dec 2003 16:52:30 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
</small></pre><pre class="diff" id="removed">-/*
- * Copyright (C) The JContainer Group. All rights reserved.
- *
- * This software is published under the terms of the JContainer
- * Software License version 1.1, a copy of which has been included
- * with this distribution in the LICENSE.txt file.
- */
-
-/**
- * This is a Test class
- * 
- */
-public class Test
-{
-}
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file25" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/java">java</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/java/org">org</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/java/org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/java/org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/l
 oom/plugins/maven-sar/src/java/org/jcontainer/loom/info">info</a><br /></span>
<div class="fileheader" id="removed"><big><b>PhoenixAttributeInterceptor.java</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/java/org/jcontainer/loom/info/PhoenixAttributeInterceptor.java?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></small></div>
<pre class="diff"><small id="info">diff -N PhoenixAttributeInterceptor.java
--- PhoenixAttributeInterceptor.java	29 Nov 2003 13:44:31 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,243 +0,0 @@
</small></pre><pre class="diff" id="removed">-/*
- * Copyright (C) The JContainer Group. All rights reserved.
- *
- * This software is published under the terms of the JContainer
- * Software License version 1.1, a copy of which has been included
- * with this distribution in the LICENSE.txt file.
- */
-package org.jcontainer.loom.info;
-
-import com.thoughtworks.qdox.model.DocletTag;
-import com.thoughtworks.qdox.model.JavaClass;
-import com.thoughtworks.qdox.model.JavaMethod;
-import java.util.ArrayList;
-import java.util.Properties;
-import org.realityforge.metaclass.model.Attribute;
-import org.realityforge.metaclass.tools.qdox.DefaultQDoxAttributeInterceptor;
-import org.realityforge.metaclass.tools.qdox.QDoxAttributeInterceptor;
-
-/**
- * This is an Attribute interceptor that invoked during construction of
- * ClassDescriptors that will translate legacy Loom attributes into modern DNA
- * and MX attributes.
- *
- * @author Peter Donald
- * @version $Revision: 1.2 $ $Date: 2003/11/29 13:44:31 $
- */
-public class PhoenixAttributeInterceptor
-    extends DefaultQDoxAttributeInterceptor
-    implements QDoxAttributeInterceptor
-{
-    /**
-     * @see QDoxAttributeInterceptor#processClassAttribute(JavaClass,
-        *      Attribute)
-     */
-    public Attribute processClassAttribute( final JavaClass clazz,
-                                            final Attribute attribute )
-    {
-        final String name = attribute.getName();
-        if( name.equals( "phoenix:block" ) )
-        {
-            return new Attribute( "dna.component" );
-        }
-        else if( name.equals( "phoenix:service" ) )
-        {
-            final Properties parameters = new Properties();
-            final String type = attribute.getParameter( "name", null );
-            setParameter( parameters, "type", type );
-            return new Attribute( "dna.service", parameters );
-        }
-        else if( name.equals( "phoenix:mx-topic" ) )
-        {
-            final String description = attribute.getParameter( "name", "" );
-            final Properties parameters = new Properties();
-            setParameter( parameters, "description", description );
-            return new Attribute( "mx.component", parameters );
-        }
-        else if( name.equals( "phoenix:mx-proxy" ) )
-        {
-            final Properties parameters = new Properties();
-            final String type = attribute.getParameter( "class", "" );
-            setParameter( parameters, "type", type );
-            return new Attribute( "mx.proxy", parameters );
-        }
-        else
-        {
-            return attribute;
-        }
-    }
-
-    /**
-     * @see QDoxAttributeInterceptor#processMethodAttribute(JavaMethod,
-        *      Attribute)
-     */
-    public Attribute processMethodAttribute( final JavaMethod method,
-                                             final Attribute attribute )
-    {
-        final String name = attribute.getName();
-        if( name.equals( "phoenix:configuration-schema" ) )
-        {
-            final String type =
-                attribute.getParameter( "type", null );
-            final Properties parameters = new Properties();
-            if( "relax-ng".equals( type ) )
-            {
-                setParameter( parameters,
-                              "type",
-                              "http://relaxng.org/ns/structure/1.0" );
-            }
-            else
-            {
-                setParameter( parameters, "type", type );
-            }
-            return new Attribute( "dna.configuration", parameters );
-        }
-        else if( name.equals( "phoenix:dependency" ) )
-        {
-            final Properties parameters = new Properties();
-            final String key = attribute.getParameter( "role", null );
-            final String type = attribute.getParameter( "name", null );
-            setParameter( parameters, "type", type );
-            setParameter( parameters, "key", key );
-            return new Attribute( "dna.dependency", parameters );
-        }
-        else if( name.equals( "phoenix:mx-operation" ) )
-        {
-            final DocletTag descriptionTag =
-                method.getTagByName( "phoenix:mx-description" );
-            final String description;
-            if( null != descriptionTag )
-            {
-                description = descriptionTag.getValue();
-            }
-            else
-            {
-                description = method.getComment();
-            }
-            final Properties parameters = new Properties();
-            setParameter( parameters, "description", description );
-            return new Attribute( "mx.operation", parameters );
-        }
-        if( name.equals( "phoenix:mx-attribute" ) )
-        {
-            final DocletTag descriptionTag =
-                method.getTagByName( "phoenix:mx-description" );
-            final String description;
-            if( null != descriptionTag )
-            {
-                description = descriptionTag.getValue();
-            }
-            else
-            {
-                description = method.getComment();
-            }
-            final Properties parameters = new Properties();
-            setParameter( parameters, "description", description );
-            return new Attribute( "mx.attribute", parameters );
-        }
-        else if( name.equals( "phoenix:mx-description" ) )
-        {
-            return null;
-        }
-        else
-        {
-            return attribute;
-        }
-    }
-
-    /**
-     * @see QDoxAttributeInterceptor#processClassAttributes(JavaClass,
-        *      Attribute[])
-     */
-    public Attribute[] processClassAttributes( final JavaClass clazz,
-                                               final Attribute[] attributes )
-    {
-        final ArrayList result = new ArrayList();
-        for( int i = 0; i &lt; attributes.length; i++ )
-        {
-            final Attribute attribute = attributes[ i ];
-            final String name = attribute.getName();
-            if( !name.equals( "phoenix:mx" ) )
-            {
-                result.add( attribute );
-            }
-            else
-            {
-                final Properties parameters = new Properties();
-                final String type = attribute.getParameter( "name", "" );
-                setParameter( parameters, "type", type );
-                result.add( new Attribute( "dna.service", parameters ) );
-
-                final Properties mxParameters = new Properties();
-                setParameter( mxParameters, "type", type );
-                final String topic = type.substring(
-                    type.lastIndexOf( '.' ) + 1 );
-                setParameter( mxParameters, "topic", topic );
-
-                result.add( new Attribute( "mx.interface", mxParameters ) );
-            }
-        }
-        return (Attribute[])result.toArray( new Attribute[ result.size() ] );
-    }
-
-    /**
-     * @see QDoxAttributeInterceptor#processMethodAttributes(JavaMethod,
-        *      Attribute[])
-     */
-    public Attribute[] processMethodAttributes( final JavaMethod method,
-                                                final Attribute[] attributes )
-    {
-        final ArrayList result = new ArrayList();
-
-        boolean isMxOperation = false;
-        for( int i = 0; i &lt; attributes.length; i++ )
-        {
-            final Attribute attribute = attributes[ i ];
-            if( attribute.getName().equals( "mx.operation" ) )
-            {
-                isMxOperation = true;
-            }
-            result.add( attribute );
-        }
-        if( isMxOperation )
-        {
-            for( int i = 0; i &lt; attributes.length; i++ )
-            {
-                final Attribute attribute = attributes[ i ];
-                if( attribute.getName().equals( "param" ) )
-                {
-                    final String value = attribute.getValue();
-                    final int index = value.indexOf( " " );
-                    if( -1 == index )
-                    {
-                        continue;
-                    }
-                    final String name = value.substring( 0, index ).trim();
-                    final String description = value.substring( index + 1 );
-                    final Properties parameters = new Properties();
-                    setParameter( parameters, "name", name );
-                    setParameter( parameters, "description", description );
-                    result.add( new Attribute( "mx.parameter", parameters ) );
-                }
-            }
-        }
-        return (Attribute[])result.toArray( new Attribute[ result.size() ] );
-    }
-
-    /**
-     * Set parameter if value not null.
-     *
-     * @param parameters the parameters object
-     * @param key the key
-     * @param value the value
-     */
-    private void setParameter( final Properties parameters,
-                               final String key,
-                               final String value )
-    {
-        if( null != value )
-        {
-            parameters.setProperty( key, value );
-        }
-    }
-}
</pre></div>
<hr /><a name="file26" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test">plugin-test</a><br /></span>
<div class="fileheader" id="removed"><big><b>project.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/project.xml?rev=1.6&amp;content-type=text/vnd.viewcvs-markup">1.6</a></small></div>
<pre class="diff"><small id="info">diff -N project.xml
--- project.xml	3 Dec 2003 10:44:48 -0000	1.6
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,36 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;project&gt;
-    &lt;id&gt;test-maven-sar-plugin&lt;/id&gt;
-    &lt;currentVersion&gt;test&lt;/currentVersion&gt;
-    &lt;name&gt;Test project for Maven Sar Plugin&lt;/name&gt;
-
-    &lt;dependencies&gt;
-        &lt;dependency&gt;
-            &lt;groupId&gt;loom&lt;/groupId&gt;
-            &lt;artifactId&gt;maven-sar-plugin&lt;/artifactId&gt;
-            &lt;version&gt;1.0-beta1-dev&lt;/version&gt;
-            &lt;type&gt;plugin&lt;/type&gt;
-        &lt;/dependency&gt;
-        &lt;dependency&gt;
-            &lt;id&gt;ant&lt;/id&gt;
-            &lt;version&gt;1.5.1&lt;/version&gt;
-            &lt;properties&gt;
-                &lt;sar.bundle&gt;true&lt;/sar.bundle&gt;
-            &lt;/properties&gt;
-        &lt;/dependency&gt;
-    &lt;/dependencies&gt;
-
-    &lt;build&gt;
-        &lt;sourceDirectory&gt;${basedir}/src/java&lt;/sourceDirectory&gt;
-        &lt;unitTestSourceDirectory&gt;${basedir}/src/test&lt;/unitTestSourceDirectory&gt;
-
-        &lt;unitTest&gt;
-            &lt;includes&gt;
-                &lt;include&gt;**/*TestCase.java&lt;/include&gt;
-            &lt;/includes&gt;
-        &lt;/unitTest&gt;
-
-    &lt;/build&gt;
-
-&lt;/project&gt;
</pre></div>
<hr /><a name="file27" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test">plugin-test</a><br /></span>
<div class="fileheader" id="removed"><big><b>maven.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/maven.xml?rev=1.3&amp;content-type=text/vnd.viewcvs-markup">1.3</a></small></div>
<pre class="diff"><small id="info">diff -N maven.xml
--- maven.xml	27 Nov 2003 01:29:09 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;project
-    xmlns:ant="jelly:ant"
-    xmlns:j="jelly:core"
-    xmlns:u="jelly:util"&gt;
-
-    &lt;goal name="test-clean"&gt;
-        &lt;attainGoal name="clean"/&gt;
-    &lt;/goal&gt;
-
-    &lt;goal name="test-sar-init"&gt;
-        &lt;attainGoal name="sar:init"/&gt;
-    &lt;/goal&gt;
-
-&lt;/project&gt;
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file28" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test">plugin-test</a><br /></span>
<div class="fileheader" id="removed"><big><b>project.properties</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/project.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N project.properties
--- project.properties	22 Nov 2003 16:40:31 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1 +0,0 @@
</small></pre><pre class="diff" id="removed">-maven.sar.logging=src/conf/logging.properties
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file29" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test">plugin-test</a><br /></span>
<div class="fileheader" id="removed"><big><b>.cvsignore</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/.cvsignore?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N .cvsignore
--- .cvsignore	27 Nov 2003 10:35:09 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
</small></pre><pre class="diff" id="removed">-target
-*.log
</pre></div>
<hr /><a name="file30" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test">plugin-test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/java">java</a><br /></span>
<div class="fileheader" id="added"><big><b>Test.java</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/src/java/Test.java?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N Test.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Test.java	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,15 @@
</small></pre><pre class="diff" id="added">+/*
+ * Copyright (C) The JContainer Group. All rights reserved.
+ *
+ * This software is published under the terms of the JContainer
+ * Software License version 1.1, a copy of which has been included
+ * with this distribution in the LICENSE.txt file.
+ */
+
+/**
+ * This is a Test class
+ * 
+ */
+public class Test
+{
+}
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file31" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs">xdocs</a><br /></span>
<div class="fileheader" id="added"><big><b>index.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs/index.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N index.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ index.xml	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,16 @@
</small></pre><pre class="diff" id="added">+&lt;?xml version="1.0"?&gt;
+&lt;document&gt;
+
+    &lt;properties&gt;
+        &lt;title&gt;Maven Loom Plugin&lt;/title&gt;
+        &lt;author&gt;Mauro Talevi&lt;/author&gt;
+    &lt;/properties&gt;
+
+    &lt;body&gt;
+        &lt;section name="Maven Loom Plugin"&gt;
+            &lt;p&gt;This plug-in provides the ability to generate a Loom app packaged
+               as a Sar file, and install and deploy it.
+            &lt;/p&gt;
+        &lt;/section&gt;
+    &lt;/body&gt;
+&lt;/document&gt;
</pre></div>
<hr /><a name="file32" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs">xdocs</a><br /></span>
<div class="fileheader" id="added"><big><b>properties.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs/properties.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N properties.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ properties.xml	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,140 @@
</small></pre><pre class="diff" id="added">+&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
+&lt;document&gt;
+
+    &lt;properties&gt;
+        &lt;title&gt;Maven Loom Properties&lt;/title&gt;
+        &lt;author&gt;Mauro Talevi&lt;/author&gt;
+    &lt;/properties&gt;
+
+    &lt;body&gt;
+        &lt;section name="Maven Loom Settings"&gt;
+            &lt;table&gt;
+                &lt;tr&gt;
+                    &lt;th&gt;Property&lt;/th&gt;
+                    &lt;th&gt;Optional?&lt;/th&gt;
+                    &lt;th&gt;Description&lt;/th&gt;
+                &lt;/tr&gt;
+                &lt;tr&gt;
+                    &lt;td&gt;maven.loom.src&lt;/td&gt;
+                    &lt;td&gt;Yes&lt;/td&gt;
+                    &lt;td&gt;Location of source in source tree.
+              Defaults to
+                        &lt;code&gt;${maven.src.dir}&lt;/code&gt;.
+                    &lt;/td&gt;
+                &lt;/tr&gt;
+                &lt;tr&gt;
+                    &lt;td&gt;maven.loom.assembly&lt;/td&gt;
+                    &lt;td&gt;Yes&lt;/td&gt;
+                    &lt;td&gt;Location of the
+                        &lt;code&gt;assembly.xml&lt;/code&gt; file.
+              Defaults to
+                        &lt;code&gt;${maven.loom.src}/conf/assembly.xml&lt;/code&gt;.
+                    &lt;/td&gt;
+                &lt;/tr&gt;
+                &lt;tr&gt;
+                    &lt;td&gt;maven.loom.config&lt;/td&gt;
+                    &lt;td&gt;Yes&lt;/td&gt;
+                    &lt;td&gt;Location of the
+                        &lt;code&gt;config.xml&lt;/code&gt; file.
+              Defaults to
+                        &lt;code&gt;${maven.loom.src}/conf/config.xml&lt;/code&gt;.
+                    &lt;/td&gt;
+                &lt;/tr&gt;
+                &lt;tr&gt;
+                    &lt;td&gt;maven.loom.environment&lt;/td&gt;
+                    &lt;td&gt;Yes&lt;/td&gt;
+                    &lt;td&gt;Location of the
+                        &lt;code&gt;environment.xml&lt;/code&gt; file.
+              Defaults to
+                        &lt;code&gt;${maven.loom.src}/conf/environment.xml&lt;/code&gt;.
+                    &lt;/td&gt;
+                &lt;/tr&gt;
+                &lt;tr&gt;
+                    &lt;td&gt;maven.loom.logging&lt;/td&gt;
+                    &lt;td&gt;Yes&lt;/td&gt;
+                    &lt;td&gt;Location of the logging configuration file which can be specified
+          	  in alternative to the
+                        &lt;code&gt;logs&lt;/code&gt; element in
+                        &lt;code&gt;environment.xml&lt;/code&gt;
+          	  (which takes precedence over the logging configuration).
+          	  The recognised valid logging file names are:
+                        &lt;code&gt;log4j.properties&lt;/code&gt;,
+                        &lt;code&gt;log4j.xml&lt;/code&gt;,
+                        &lt;code&gt;logging.properties&lt;/code&gt;,
+                        &lt;code&gt;excalibur-logger.xml&lt;/code&gt;.
+              Has no default.
+                    &lt;/td&gt;
+                &lt;/tr&gt;
+                &lt;tr&gt;
+                    &lt;td&gt;maven.loom.build.dir&lt;/td&gt;
+                    &lt;td&gt;Yes&lt;/td&gt;
+                    &lt;td&gt;Directory where the sar will be generated.
+              Defaults to
+                        &lt;code&gt;${maven.build.dir}&lt;/code&gt;.
+                    &lt;/td&gt;
+                &lt;/tr&gt;
+                &lt;tr&gt;
+                    &lt;td&gt;maven.loom.lib.include&lt;/td&gt;
+                    &lt;td&gt;Yes&lt;/td&gt;
+                    &lt;td&gt;Build artifacts to include in sar.
+              Defaults to
+                        &lt;code&gt;${pom.artifactId}*.jar&lt;/code&gt;. Files are relative to
+                        &lt;code&gt;${maven.loom.build.dir}&lt;/code&gt;.
+                    &lt;/td&gt;
+                &lt;/tr&gt;
+                &lt;tr&gt;
+                    &lt;td&gt;maven.loom.lib.exclude&lt;/td&gt;
+                    &lt;td&gt;Yes&lt;/td&gt;
+                    &lt;td&gt;Build artifacts to exclude in sar.
+              Defaults to none. Files are relative to
+                        &lt;code&gt;${maven.loom.build.dir}&lt;/code&gt;.
+                    &lt;/td&gt;
+                &lt;/tr&gt;
+            &lt;/table&gt;
+        &lt;/section&gt;
+        &lt;section name="Including jars in the sar"&gt;
+            &lt;p&gt;
+	    To include a dependency in the sar you need to set the
+                &lt;code&gt;sar.bundle&lt;/code&gt; property to
+                &lt;code&gt;true&lt;/code&gt;:
+            &lt;/p&gt;
+
+            &lt;source&gt;&lt;![CDATA[
+  &lt;dependency&gt;
+    &lt;id&gt;jarid&lt;/id&gt;
+    &lt;version&gt;jarversion&lt;/version&gt;
+    &lt;properties&gt;
+      &lt;sar.bundle&gt;true&lt;/sar.bundle&gt;
+    &lt;/properties&gt;
+  &lt;/dependency&gt;
+            ]]&gt;&lt;/source&gt;
+
+        &lt;/section&gt;
+        &lt;section name="Including resources in the app"&gt;
+            &lt;p&gt;
+	    To include a resource in the app you need to set the corresponding
+                &lt;code&gt;targetPath&lt;/code&gt;
+	    to
+                &lt;code&gt;SAR-INF&lt;/code&gt;:
+            &lt;/p&gt;
+
+            &lt;source&gt;&lt;![CDATA[
+    &lt;build&gt;
+        &lt;resources&gt;
+            &lt;resource&gt;
+                &lt;directory&gt;${basedir}/src/conf&lt;/directory&gt;
+                &lt;targetPath&gt;SAR-INF&lt;/targetPath&gt;
+                &lt;includes&gt;
+                    &lt;include&gt;**/somedescriptor.xml&lt;/include&gt;
+                &lt;/includes&gt;
+                &lt;excludes&gt;
+                    &lt;exclude&gt;**/*.java&lt;/exclude&gt;
+                &lt;/excludes&gt;
+            &lt;/resource&gt;
+        &lt;/resources&gt;
+    &lt;/build&gt;
+            ]]&gt;&lt;/source&gt;
+
+        &lt;/section&gt;
+    &lt;/body&gt;
+&lt;/document&gt;
</pre></div>
<hr /><a name="file33" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs">xdocs</a><br /></span>
<div class="fileheader" id="added"><big><b>goals.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs/goals.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N goals.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ goals.xml	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,48 @@
</small></pre><pre class="diff" id="added">+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+
+&lt;document&gt;
+    &lt;properties&gt;
+        &lt;title&gt;Maven Loom Plug-in Goals&lt;/title&gt;
+        &lt;author&gt;Mauro Talevi&lt;/author&gt;
+    &lt;/properties&gt;
+    &lt;body&gt;
+        &lt;goals&gt;
+            &lt;goal&gt;
+                &lt;name&gt;loom&lt;/name&gt;
+                &lt;description&gt;Defaults to loom:sar&lt;/description&gt;
+            &lt;/goal&gt;
+            &lt;goal&gt;
+                &lt;name&gt;loom:init&lt;/name&gt;
+                &lt;description&gt;Initialize the file system and define tasks&lt;/description&gt;
+            &lt;/goal&gt;
+            &lt;goal&gt;
+                &lt;name&gt;loom:sar&lt;/name&gt;
+                &lt;description&gt;Build a sar file&lt;/description&gt;
+            &lt;/goal&gt;
+            &lt;goal&gt;
+                &lt;name&gt;loom:install&lt;/name&gt;
+                &lt;description&gt;Install the sar in the local repository&lt;/description&gt;
+            &lt;/goal&gt;
+            &lt;goal&gt;
+                &lt;name&gt;loom:metagenerate&lt;/name&gt;
+                &lt;description&gt;Metagenerate xinfo files&lt;/description&gt;
+            &lt;/goal&gt;
+            &lt;goal&gt;
+                &lt;name&gt;loom:install&lt;/name&gt;
+                &lt;description&gt;Install the sar in the local repository&lt;/description&gt;
+            &lt;/goal&gt;
+            &lt;goal&gt;
+                &lt;name&gt;loom:install-snapshot&lt;/name&gt;
+                &lt;description&gt;Install snapshot of the sar in the local repository&lt;/description&gt;
+            &lt;/goal&gt;
+            &lt;goal&gt;
+                &lt;name&gt;loom:deploy&lt;/name&gt;
+                &lt;description&gt;Deploy the sar to the remote repository&lt;/description&gt;
+            &lt;/goal&gt;
+            &lt;goal&gt;
+                &lt;name&gt;loom:deploy-snapshot&lt;/name&gt;
+                &lt;description&gt;Deploy snapshot of the sar to the remote repository&lt;/description&gt;
+            &lt;/goal&gt;
+        &lt;/goals&gt;
+    &lt;/body&gt;
+&lt;/document&gt;
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file34" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs">xdocs</a><br /></span>
<div class="fileheader" id="added"><big><b>navigation.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs/navigation.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N navigation.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ navigation.xml	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,16 @@
</small></pre><pre class="diff" id="added">+&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
+&lt;project name="Maven Loom Plugin"&gt;
+
+    &lt;title&gt;Maven Loom Plugin&lt;/title&gt;
+
+    &lt;body&gt;
+        &lt;links&gt;
+            &lt;item name="Maven" href="http://maven.apache.org/"/&gt;
+        &lt;/links&gt;
+        &lt;menu name="Overview"&gt;
+            &lt;item name="Goals" href="/goals.html"/&gt;
+            &lt;item name="Properties" href="/properties.html"/&gt;
+            &lt;item name="Tips" href="/tips.html"/&gt;
+        &lt;/menu&gt;
+    &lt;/body&gt;
+&lt;/project&gt;
</pre></div>
<hr /><a name="file35" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs">xdocs</a><br /></span>
<div class="fileheader" id="added"><big><b>tips.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/xdocs/tips.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N tips.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ tips.xml	25 Mar 2004 00:46:56 -0000	1.1
@@ -0,0 +1,24 @@
</small></pre><pre class="diff" id="added">+&lt;?xml version="1.0"?&gt;
+&lt;document&gt;
+
+    &lt;properties&gt;
+        &lt;title&gt;Maven Loom Plugin Tips&lt;/title&gt;
+        &lt;author&gt;Mauro Talevi&lt;/author&gt;
+    &lt;/properties&gt;
+
+    &lt;body&gt;
+        &lt;section name="Maven Loom Plugin Tips"&gt;
+            &lt;section name="Filtering xml files"&gt;
+                &lt;p&gt;
+          If you need to copy the [assembly|config|environment].xml files in order to replace some
+          filter tokens or simply perform some custom modification to it,
+          simply write a pre-goal to the
+                    &lt;code&gt;loom:sar&lt;/code&gt; goal in which
+          you perform the manipulation. Then set the
+                    &lt;code&gt;maven.loom.[assembly|config|environment]&lt;/code&gt; property to point to your modified
+                    &lt;code&gt;[assembly|config|environment].xml&lt;/code&gt;.
+                &lt;/p&gt;
+            &lt;/section&gt;
+        &lt;/section&gt;
+    &lt;/body&gt;
+&lt;/document&gt;
</pre></div>
<hr /><a name="file36" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test">plugin-test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf">conf</a><br /></span>
<div class="fileheader" id="removed"><big><b>assembly.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf/assembly.xml?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></small></div>
<pre class="diff"><small id="info">diff -N assembly.xml
--- assembly.xml	27 Nov 2003 01:29:04 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,6 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?xml version="1.0"?&gt;
-&lt;!DOCTYPE assembly PUBLIC "-//LOOM/Assembly DTD Version 1.0//EN"
-                  "http://loom.jcontainer.org/dtds/assembly_1_0.dtd"&gt;
-&lt;assembly&gt;
-    &lt;block class="block.class" name="block-name"/&gt;
-&lt;/assembly&gt;
</pre></div>
<hr /><a name="file37" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test">plugin-test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf">conf</a><br /></span>
<div class="fileheader" id="removed"><big><b>config.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf/config.xml?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></small></div>
<pre class="diff"><small id="info">diff -N config.xml
--- config.xml	27 Nov 2003 01:29:04 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?xml version="1.0"?&gt;
-&lt;config&gt;
-    &lt;block-name/&gt;
-&lt;/config&gt;
</pre></div>
<hr /><a name="file38" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test">plugin-test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf">conf</a><br /></span>
<div class="fileheader" id="removed"><big><b>logging.properties</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf/logging.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N logging.properties
--- logging.properties	22 Nov 2003 16:40:30 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
</small></pre><pre class="diff" id="removed">-# comma separated list of log Handler
-handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
-
-# Default global logging level.
-.level= INFO
-
-# file handler
-java.util.logging.FileHandler.pattern = logs/jdk14.log
-java.util.logging.FileHandler.limit = 50000
-java.util.logging.FileHandler.count = 1
-
-# console handler
-java.util.logging.ConsoleHandler.level = INFO
-java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
-
-############################################################
-# Facility specific properties.
-# Provides extra control for each logger.
-############################################################
-
-# Set the logger to only log SEVERE
-nejney.level = FINEST
</pre></div>
<hr /><a name="file39" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test">plugin-test</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf">conf</a><br /></span>
<div class="fileheader" id="removed"><big><b>environment.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/src/plugin-test/src/conf/environment.xml?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></small></div>
<pre class="diff"><small id="info">diff -N environment.xml
--- environment.xml	27 Nov 2003 01:29:04 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,9 +0,0 @@
</small></pre><pre class="diff" id="removed">-&lt;?xml version="1.0"?&gt;
-&lt;environment&gt;
-
-    &lt;logs&gt;
-        &lt;category name="" target="default" priority="DEBUG"/&gt;
-        &lt;log-target name="default" location="/logs/demo.log"/&gt;
-    &lt;/logs&gt;
-
-&lt;/environment&gt;
</pre></div>
<hr /><a name="file40" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test">plugin-test</a><br /></span>
<div class="fileheader" id="added"><big><b>maven.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/maven.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N maven.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ maven.xml	25 Mar 2004 00:46:57 -0000	1.1
@@ -0,0 +1,14 @@
</small></pre><pre class="diff" id="added">+&lt;project
+    xmlns:ant="jelly:ant"
+    xmlns:j="jelly:core"
+    xmlns:u="jelly:util"&gt;
+
+    &lt;goal name="test-clean"&gt;
+        &lt;attainGoal name="clean"/&gt;
+    &lt;/goal&gt;
+
+    &lt;goal name="test-loom-init"&gt;
+        &lt;attainGoal name="loom:init"/&gt;
+    &lt;/goal&gt;
+
+&lt;/project&gt;
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file41" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test">plugin-test</a><br /></span>
<div class="fileheader" id="added"><big><b>.cvsignore</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/.cvsignore?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N .cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .cvsignore	25 Mar 2004 00:46:57 -0000	1.1
@@ -0,0 +1,2 @@
</small></pre><pre class="diff" id="added">+target
+*.log
</pre></div>
<hr /><a name="file42" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test">plugin-test</a><br /></span>
<div class="fileheader" id="added"><big><b>project.properties</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/project.properties?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N project.properties
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ project.properties	25 Mar 2004 00:46:57 -0000	1.1
@@ -0,0 +1 @@
</small></pre><pre class="diff" id="added">+maven.loom.logging=src/conf/logging.properties
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file43" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test">plugin-test</a><br /></span>
<div class="fileheader" id="added"><big><b>project.xml</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/plugin-test/project.xml?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N project.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ project.xml	25 Mar 2004 00:46:57 -0000	1.1
@@ -0,0 +1,36 @@
</small></pre><pre class="diff" id="added">+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+
+&lt;project&gt;
+    &lt;id&gt;test-maven-loom-plugin&lt;/id&gt;
+    &lt;currentVersion&gt;test&lt;/currentVersion&gt;
+    &lt;name&gt;Test project for Maven Loom Plugin&lt;/name&gt;
+
+    &lt;dependencies&gt;
+        &lt;dependency&gt;
+            &lt;groupId&gt;loom&lt;/groupId&gt;
+            &lt;artifactId&gt;maven-loom-plugin&lt;/artifactId&gt;
+            &lt;version&gt;1.0-beta1-dev&lt;/version&gt;
+            &lt;type&gt;plugin&lt;/type&gt;
+        &lt;/dependency&gt;
+        &lt;dependency&gt;
+            &lt;id&gt;ant&lt;/id&gt;
+            &lt;version&gt;1.5.1&lt;/version&gt;
+            &lt;properties&gt;
+                &lt;sar.bundle&gt;true&lt;/sar.bundle&gt;
+            &lt;/properties&gt;
+        &lt;/dependency&gt;
+    &lt;/dependencies&gt;
+
+    &lt;build&gt;
+        &lt;sourceDirectory&gt;${basedir}/src/java&lt;/sourceDirectory&gt;
+        &lt;unitTestSourceDirectory&gt;${basedir}/src/test&lt;/unitTestSourceDirectory&gt;
+
+        &lt;unitTest&gt;
+            &lt;includes&gt;
+                &lt;include&gt;**/*TestCase.java&lt;/include&gt;
+            &lt;/includes&gt;
+        &lt;/unitTest&gt;
+
+    &lt;/build&gt;
+
+&lt;/project&gt;
</pre></div>
<hr /><a name="file44" /><div class="file">
<span class="pathname" id="added"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom">maven-loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src">src</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/java">java</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/java/org">org</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/java/org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/java/org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontai
 ner/loom/plugins/maven-loom/src/java/org/jcontainer/loom/info">info</a><br /></span>
<div class="fileheader" id="added"><big><b>PhoenixAttributeInterceptor.java</b></big> <small id="info">added at <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/src/java/org/jcontainer/loom/info/PhoenixAttributeInterceptor.java?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N PhoenixAttributeInterceptor.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ PhoenixAttributeInterceptor.java	25 Mar 2004 00:46:57 -0000	1.1
@@ -0,0 +1,243 @@
</small></pre><pre class="diff" id="added">+/*
+ * Copyright (C) The JContainer Group. All rights reserved.
+ *
+ * This software is published under the terms of the JContainer
+ * Software License version 1.1, a copy of which has been included
+ * with this distribution in the LICENSE.txt file.
+ */
+package org.jcontainer.loom.info;
+
+import com.thoughtworks.qdox.model.DocletTag;
+import com.thoughtworks.qdox.model.JavaClass;
+import com.thoughtworks.qdox.model.JavaMethod;
+import java.util.ArrayList;
+import java.util.Properties;
+import org.realityforge.metaclass.model.Attribute;
+import org.realityforge.metaclass.tools.qdox.DefaultQDoxAttributeInterceptor;
+import org.realityforge.metaclass.tools.qdox.QDoxAttributeInterceptor;
+
+/**
+ * This is an Attribute interceptor that invoked during construction of
+ * ClassDescriptors that will translate legacy Loom attributes into modern DNA
+ * and MX attributes.
+ *
+ * @author Peter Donald
+ * @version $Revision: 1.1 $ $Date: 2004/03/25 00:46:57 $
+ */
+public class PhoenixAttributeInterceptor
+    extends DefaultQDoxAttributeInterceptor
+    implements QDoxAttributeInterceptor
+{
+    /**
+     * @see QDoxAttributeInterceptor#processClassAttribute(JavaClass,
+        *      Attribute)
+     */
+    public Attribute processClassAttribute( final JavaClass clazz,
+                                            final Attribute attribute )
+    {
+        final String name = attribute.getName();
+        if( name.equals( "phoenix:block" ) )
+        {
+            return new Attribute( "dna.component" );
+        }
+        else if( name.equals( "phoenix:service" ) )
+        {
+            final Properties parameters = new Properties();
+            final String type = attribute.getParameter( "name", null );
+            setParameter( parameters, "type", type );
+            return new Attribute( "dna.service", parameters );
+        }
+        else if( name.equals( "phoenix:mx-topic" ) )
+        {
+            final String description = attribute.getParameter( "name", "" );
+            final Properties parameters = new Properties();
+            setParameter( parameters, "description", description );
+            return new Attribute( "mx.component", parameters );
+        }
+        else if( name.equals( "phoenix:mx-proxy" ) )
+        {
+            final Properties parameters = new Properties();
+            final String type = attribute.getParameter( "class", "" );
+            setParameter( parameters, "type", type );
+            return new Attribute( "mx.proxy", parameters );
+        }
+        else
+        {
+            return attribute;
+        }
+    }
+
+    /**
+     * @see QDoxAttributeInterceptor#processMethodAttribute(JavaMethod,
+        *      Attribute)
+     */
+    public Attribute processMethodAttribute( final JavaMethod method,
+                                             final Attribute attribute )
+    {
+        final String name = attribute.getName();
+        if( name.equals( "phoenix:configuration-schema" ) )
+        {
+            final String type =
+                attribute.getParameter( "type", null );
+            final Properties parameters = new Properties();
+            if( "relax-ng".equals( type ) )
+            {
+                setParameter( parameters,
+                              "type",
+                              "http://relaxng.org/ns/structure/1.0" );
+            }
+            else
+            {
+                setParameter( parameters, "type", type );
+            }
+            return new Attribute( "dna.configuration", parameters );
+        }
+        else if( name.equals( "phoenix:dependency" ) )
+        {
+            final Properties parameters = new Properties();
+            final String key = attribute.getParameter( "role", null );
+            final String type = attribute.getParameter( "name", null );
+            setParameter( parameters, "type", type );
+            setParameter( parameters, "key", key );
+            return new Attribute( "dna.dependency", parameters );
+        }
+        else if( name.equals( "phoenix:mx-operation" ) )
+        {
+            final DocletTag descriptionTag =
+                method.getTagByName( "phoenix:mx-description" );
+            final String description;
+            if( null != descriptionTag )
+            {
+                description = descriptionTag.getValue();
+            }
+            else
+            {
+                description = method.getComment();
+            }
+            final Properties parameters = new Properties();
+            setParameter( parameters, "description", description );
+            return new Attribute( "mx.operation", parameters );
+        }
+        if( name.equals( "phoenix:mx-attribute" ) )
+        {
+            final DocletTag descriptionTag =
+                method.getTagByName( "phoenix:mx-description" );
+            final String description;
+            if( null != descriptionTag )
+            {
+                description = descriptionTag.getValue();
+            }
+            else
+            {
+                description = method.getComment();
+            }
+            final Properties parameters = new Properties();
+            setParameter( parameters, "description", description );
+            return new Attribute( "mx.attribute", parameters );
+        }
+        else if( name.equals( "phoenix:mx-description" ) )
+        {
+            return null;
+        }
+        else
+        {
+            return attribute;
+        }
+    }
+
+    /**
+     * @see QDoxAttributeInterceptor#processClassAttributes(JavaClass,
+        *      Attribute[])
+     */
+    public Attribute[] processClassAttributes( final JavaClass clazz,
+                                               final Attribute[] attributes )
+    {
+        final ArrayList result = new ArrayList();
+        for( int i = 0; i &lt; attributes.length; i++ )
+        {
+            final Attribute attribute = attributes[ i ];
+            final String name = attribute.getName();
+            if( !name.equals( "phoenix:mx" ) )
+            {
+                result.add( attribute );
+            }
+            else
+            {
+                final Properties parameters = new Properties();
+                final String type = attribute.getParameter( "name", "" );
+                setParameter( parameters, "type", type );
+                result.add( new Attribute( "dna.service", parameters ) );
+
+                final Properties mxParameters = new Properties();
+                setParameter( mxParameters, "type", type );
+                final String topic = type.substring(
+                    type.lastIndexOf( '.' ) + 1 );
+                setParameter( mxParameters, "topic", topic );
+
+                result.add( new Attribute( "mx.interface", mxParameters ) );
+            }
+        }
+        return (Attribute[])result.toArray( new Attribute[ result.size() ] );
+    }
+
+    /**
+     * @see QDoxAttributeInterceptor#processMethodAttributes(JavaMethod,
+        *      Attribute[])
+     */
+    public Attribute[] processMethodAttributes( final JavaMethod method,
+                                                final Attribute[] attributes )
+    {
+        final ArrayList result = new ArrayList();
+
+        boolean isMxOperation = false;
+        for( int i = 0; i &lt; attributes.length; i++ )
+        {
+            final Attribute attribute = attributes[ i ];
+            if( attribute.getName().equals( "mx.operation" ) )
+            {
+                isMxOperation = true;
+            }
+            result.add( attribute );
+        }
+        if( isMxOperation )
+        {
+            for( int i = 0; i &lt; attributes.length; i++ )
+            {
+                final Attribute attribute = attributes[ i ];
+                if( attribute.getName().equals( "param" ) )
+                {
+                    final String value = attribute.getValue();
+                    final int index = value.indexOf( " " );
+                    if( -1 == index )
+                    {
+                        continue;
+                    }
+                    final String name = value.substring( 0, index ).trim();
+                    final String description = value.substring( index + 1 );
+                    final Properties parameters = new Properties();
+                    setParameter( parameters, "name", name );
+                    setParameter( parameters, "description", description );
+                    result.add( new Attribute( "mx.parameter", parameters ) );
+                }
+            }
+        }
+        return (Attribute[])result.toArray( new Attribute[ result.size() ] );
+    }
+
+    /**
+     * Set parameter if value not null.
+     *
+     * @param parameters the parameters object
+     * @param key the key
+     * @param value the value
+     */
+    private void setParameter( final Properties parameters,
+                               final String key,
+                               final String value )
+    {
+        if( null != value )
+        {
+            parameters.setProperty( key, value );
+        }
+    }
+}
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -&gt; email">CVSspam</a> 0.2.8</small></center>
</body></html>