avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: Maven and Resources
Date Mon, 18 Aug 2003 19:28:16 GMT
Peter Royal wrote:

> On Monday, August 18, 2003, at 03:16  PM, Berin Loritsch wrote:
> 
>> What advice do you long-time Maven users have for me?
> 
> 
> There is a separate block of resources that can be done for unit  
> testing.. see
> http://cvs.apache.org/viewcvs/jakarta-commons/jelly/ 
> project.xml?rev=1.129&content-type=text/vnd.viewcvs-markup
> 
> as an example :)
> -pete
> 


Here is what I have (adapted from Stephen's work on avalon-components):

   <build>

     <nagEmailAddress>dev@avalon.apache.org</nagEmailAddress>
     <sourceDirectory>${basedir}/src/java</sourceDirectory>
     <unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory>
     <integrationUnitTestSourceDirectory/>
     <aspectSourceDirectory/>

     <unitTest>
       <includes>
         <include>**/*TestCase*</include>
       </includes>
       <excludes>
       </excludes>
       <resources>
         <resource>
           <directory>${basedir}/src/test</directory>
           <includes>
             <include>**/*.dtd</include>
             <include>**/*.properties</include>
             <include>**/*.xinfo</include>
             <include>**/*.xtype</include>
             <include>**/*.xprofile</include>
             <include>**/*.xconfig</include>
             <include>**/*.xml</include>
	    <include>**/*.xservice</include>
	    <include>**/*.rng</include>
           </includes>
         </resource>
       </resources>
     </unitTest>

     <integrationUnitTestPatterns></integrationUnitTestPatterns>

     <resources>
       <resource>
         <directory>${basedir}/src/java</directory>
         <includes>
           <include>**/*.dtd</include>
           <include>**/*.properties</include>
           <include>**/*.xinfo</include>
           <include>**/*.xtype</include>
           <include>**/*.xprofile</include>
           <include>**/*.xconfig</include>
           <include>**/*.xml</include>
	  <include>**/*.xservice</include>
	  <include>**/*.rng</include>
         </includes>
       </resource>
       <resource>
         <directory>${basedir}/../site/etc</directory>
         <includes>
           <include>LICENSE.txt</include>
         </includes>
       </resource>
       <resource>
         <directory>${basedir}/conf</directory>
         <targetPath>BLOCK-INF</targetPath>
         <includes>
           <include>block.xml</include>
         </includes>
       </resource>
     </resources>

     <jars></jars>
   </build>


-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


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


Mime
View raw message