user267354
user267354

Reputation: 9

reference maven value in profile

 <profile>
        <id>test</id>
        <activation>
          <property>
            <name>environment</name>
            <value>linux-host</value>
          </property>
        </activation>
 </profile>

How can I reference "linux-host" inside the profile?

Upvotes: 0

Views: 124

Answers (1)

Pascal Thivent
Pascal Thivent

Reputation: 570315

Did you try ${environment}?

Upvotes: 1

Related Questions