[CVS jcontainer] Simplify maven build file

Peter Donald <pdonald-yCVjj/[email protected]> Tue, 20 Apr 2004 18:20:09 -0500
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/maven-loom</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1">maven.xml</a></tt></td><td align="right" id="added">+6</td><td align="right" id="removed">-36</td><td nowrap="nowrap" align="center"><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> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/maven.xml.diff?r1=1.1&amp;r2=1.2">-&gt;</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/maven.xml?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></td></tr>
</table>
<pre class="comment">
Simplify maven build file
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname"><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"><big><b>maven.xml</b></big> <small id="info"><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> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/maven.xml.diff?r1=1.1&amp;r2=1.2">-&gt;</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-loom/maven.xml?rev=1.2&amp;content-type=text/vnd.viewcvs-markup">1.2</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.1 -r1.2
--- maven.xml	25 Mar 2004 00:46:56 -0000	1.1
+++ maven.xml	20 Apr 2004 23:20:09 -0000	1.2
@@ -1,36 +1,6 @@
</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><pre class="diff" id="added">+&lt;project default="build"&gt;
+
+    &lt;goal name="build" prereqs="plugin:install"/&gt;
+    &lt;goal name="deploy" prereqs="plugin:deploy"/&gt;
+
+&lt;/project&gt;
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></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>