Hi,

I want to create some profiles in my pom.xml for download resources, properties 
of configuration that it's in a server machine.

My pom.xml :

....

  <profiles>
   <profile>
   <id> aplication_0</id>
   <activation>
      <activeByDefault>true</activeByDefault>
    </activation>
   <build>
      <plugins>
      <plugin>
          <artifactId>maven-antrun-plugin</artifactId> 
 
      <executions>
       <execution>
     
         <phase>compile</phase> 
         <goals><goal>run</goal></goals> 
 
         <configuration> 
            <tasks>
                    
                      tofile="src/main/resources" /> 
            </tasks>          
         </configuration> 
         



          </execution>
         </executions>
        </plugin>
      </plugins>
   </build>
   </profile>



   <profile>
   <id> aplication_1</id>
     <build>
      <plugins>
      <plugin>
          <artifactId>maven-antrun-plugin</artifactId> 
 
      <executions>
       <execution>
     
         <phase>compile</phase> 
         <goals><goal>run</goal></goals> 
 
         <configuration> 
            <tasks>
                    
                      tofile="src/main/resources" /> 
            </tasks>          
         </configuration> 
         
          </execution>
         </executions>
        </plugin>
      </plugins>
   </build>
   </profile>


   </profiles>


How can i configured it and how can prove it?

Thank you very much.



      

Reply via email to