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


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