How do you propose to test this? - Brett
Quoting Dion Gillard <[EMAIL PROTECTED]>: > How about including test as well? > > On 3 Jul 2004 01:50:37 -0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > brett 2004/07/02 18:50:37 > > > > Modified: . Tag: MAVEN-1_0-BRANCH maven.xml > > Log: > > generate a seed repo. just encompasses site (and default reports), > java:compile > > > > Revision Changes Path > > No revision > > No revision > > 1.97.2.29 +22 -0 maven/maven.xml > > > > Index: maven.xml > > =================================================================== > > RCS file: /home/cvs/maven/maven.xml,v > > retrieving revision 1.97.2.28 > > retrieving revision 1.97.2.29 > > diff -u -r1.97.2.28 -r1.97.2.29 > > --- maven.xml 12 Jun 2004 04:38:50 -0000 1.97.2.28 > > +++ maven.xml 3 Jul 2004 01:50:37 -0000 1.97.2.29 > > @@ -379,5 +379,27 @@ > > </j:whitespace> > > </j:file> > > </goal> > > + > > + <goal name="maven:build-seed-repo"> > > + <j:set var="prevRepo" value="${maven.repo.local}" /> > > + <j:set var="prevSkip" value="${maven.test.skip}" /> > > + <j:set var="repoLocal" value="${basedir}/target/seed-repo" /> > > + <j:set var="maven.repo.local" value="${repoLocal}" scope="parent" > /> > > + <ant:delete dir="${repoLocal}" /> > > + <maven:maven > descriptor="src/test/touchstone-build/src/reactor-build/default/project.xml" > goals="java:compile,site" /> > > + <ant:mkdir dir="${maven.build.dir}/installer" /> > > + <ant:tar tarfile="${maven.build.dir}/installer/seed-repo.tar.gz" > compression="gzip" longfile="gnu"> > > + <ant:tarfileset dir="${repoLocal}"> > > + <j:forEach var="lib" items="${pom.artifacts}"> > > + <j:set var="dep" value="${lib.dependency}" /> > > + <j:if test="${dep.type=='jar'}"> > > + <ant:exclude > name="${dep.groupId}/jars/${dep.artifactId}-${dep.version}.jar" /> > > + <ant:exclude > name="${dep.groupId}/jars/${dep.artifactId}-${dep.version}.jar.md5" /> > > + </j:if> > > + </j:forEach> > > + </ant:tarfileset> > > + </ant:tar> > > + <j:set var="maven.repo.local" value="${prevRepo}" /> > > + </goal> > > </project> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]