Hello,

If I want to activate a profile if either of the following two conditions is
satisfied, how can I do it?

   - if the environment variable ${maven.test.skip} is not defined
   - if the environment variable ${maven.test.skip} is not "true"

I was hoping the tag below can take care of it but it didn't work for the
above first condition. I mean, if that variable is not defined, shouldn't it
be treated as "false" implicitly?

      <activation>
        <property>
          <name>maven.test.skip</name>
          <value>false</value>
        </property>
      </activation>

Thanks
Yan

Reply via email to