[ 
http://jira.codehaus.org/browse/MNG-3601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed MNG-3601.
----------------------------------

      Assignee: Benjamin Bentmann
    Resolution: Not A Bug

Please understand that the issue tracker is not intended to answer questions 
about Maven's usage, its purpose is to track bugs and feature requests. Please 
raise your question on the [user mailing 
list|http://maven.apache.org/mail-lists.html].

> Question about maven profiles.xml
> ---------------------------------
>
>                 Key: MNG-3601
>                 URL: http://jira.codehaus.org/browse/MNG-3601
>             Project: Maven 2
>          Issue Type: Task
>            Reporter: Arturs Kirsis
>            Assignee: Benjamin Bentmann
>
> I have a question about profiles.xml
> i have there 1 or more profiles.
> Example:
> ---------------------------------------------------------
> <profiles>
>       <profile>
>               <id>localhost</id>
>               <activation>
>                       <activeByDefault>false</activeByDefault>
>               </activation>
>               <properties>
>                       <env>localhost</env>
>                       <code>localhost</code>
>                       <integration>ok</integration>
>               </properties>
>       </profile>
>       <profile>
>               <id>localhost2</id>
>               <activation>
>                       <activeByDefault>false</activeByDefault>
>               </activation>
>               <properties>
>                       <env>localhost2</env>
>                       <code>localhost2</code>
>               </properties>
>       </profile>
> </profiles>
> ---------------------------------------------------------
> And in pom.xml have profile witch start with:
> ---------------------------------------------------------
> <profile>
> <id>whls</id>
> <activation>
> <property>
> <name>integration</name>
> <value>ok</value>
> </property>
> </activation>
> <build>
> <plugins>
> ......
> ---------------------------------------------------------
> I know that the activation is phase of lifecycle and it should not get the 
> variables from profiles.xml but maybe there is a way to get them from there?
> Thanks and sorry for my bad english :)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to