You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Julien Eluard <ju...@gmail.com> on 2008/05/23 11:17:31 UTC

Profile activation based on jdv version and property value

Hi everyone,

I would like to activate a profile based on a specific jdk version and the
definition of a environment property.

ie
      <activation>
        <property>
          <name>some.property</name>
        </property>
        <jdk>1.4</jdk>
      </activation>

It looks like any of those condition will activate the profile but my
intention is that both conditions must be met to activate the profile.

Is there a way to do this?

Thanks,
Julien