You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/07/03 03:50:37 UTC

cvs commit: maven maven.xml

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: cvs commit: maven maven.xml

Posted by Dion Gillard <di...@gmail.com>.
On Mon, 5 Jul 2004 12:16:58 +1000, Dion Gillard <di...@gmail.com> wrote:
> Sorry, I meant the test plugin
Which, duh, is called by site
--
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: cvs commit: maven maven.xml

Posted by Dion Gillard <di...@gmail.com>.
Sorry, I meant the test plugin

On Mon,  5 Jul 2004 11:10:52 +1000, Brett Porter <br...@apache.org> wrote:
> How do you propose to test this?
> 
> - Brett
> 
> 
> 
> Quoting Dion Gillard <di...@gmail.com>:
> 
> > How about including test as well?
> >
> > On 3 Jul 2004 01:50:37 -0000, brett@apache.org <br...@apache.org> 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: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
--
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: cvs commit: maven maven.xml

Posted by Brett Porter <br...@apache.org>.
How do you propose to test this?

- Brett

Quoting Dion Gillard <di...@gmail.com>:

> How about including test as well?
> 
> On 3 Jul 2004 01:50:37 -0000, brett@apache.org <br...@apache.org> 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: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> > 
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: cvs commit: maven maven.xml

Posted by Dion Gillard <di...@gmail.com>.
How about including test as well?

On 3 Jul 2004 01:50:37 -0000, brett@apache.org <br...@apache.org> 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: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org