You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Cheno Che <ch...@yahoo.es> on 2011/03/24 14:39:20 UTC

question : create profiles for download resources, properties ....

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.



      

Re: question : create profiles for download resources, properties ....

Posted by Wayne Fay <wa...@gmail.com>.
> I want to create some profiles in my pom.xml for download resources, properties
> of configuration that it's in a server machine.

Wrong list - send to Maven Users for help.

Wayne

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