I posted this on maven user list but got no responses.
I hope someone has a solution to this.

Pl help,

Thanks,

/U

Env: 
  Mvn 2.10 
  RPM Plugin: 2.0beta3 

I need to have the RPM 
bundle install the file 
   src/main/resources/my.cf 

onto the runtime 
location 
   /etc/my.cnf 

If I use the mapping 

    
<mapping> 
       <directory>/etc</mapping> 
      
 <fileMode>555</fileMode> 
      
 <username>root</username> 
      
 <groupName>root</groupName> 
       <sources> 
        
   <source> 
            
 <location>src/main/resources/my.cnf</location> 
          
 </source> 
       </sources> 
    
 </mapping>

 the RPM owns the /etc directory as well and causes 
a conflict with 
the package that owns /etc. 

How do I create a 
mapping such that src/main/resources/my.cnf is 
mapped onto /etc/my.cnf  ? 


Regards 

/U 

Reply via email to