Maven filtering test resources

When running tests in maven it's common usage to have configuration files that should be filtered.

When filtering "normal" resources the syntax is the following :






...

  
    
      
        ${project.basedir}/src/main/resources
        true
      

           
...

Whereas when filtering test resources the syntax is following :





 ...

  
      
          
              ${project.basedir}/src/test/resources
              true
          
      
  ...
  

Otherwise your test resources will not be filtered

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Some mistakes (typo) in the tags :

    In place of 'testresources' you should write 'testResources'
    In place of 'testresource' you should write 'testResource'

    Thanks !

    ReplyDelete

OSX show used ports or listening applications with their PID

On OSX you can display applications listening on a given port using the lsof the commands described below will show listening application...