Social Icons

Pages

Tuesday, April 10, 2012

Maven and Test Config directory

As per Maven, the main configuration files are picked up from the standard, default directory src/main/config. But there is no corresponding directory for the test configurations. For example, property files, spring xml configurations etc. that are needed for only unit testing.

This necessitates these directories to be configured in the pom.xml


...

    
      
        
        true
        ${basedir}/src/test/config
        
          **/*.properties
          **/*.xml
        
      
      
        /resources
        ${basedir}/src/test/resources
        
          **/*
        
      
    
...  

No comments:

Post a Comment