1 Reply Latest reply on Mar 7, 2009 4:34 AM by Tom Baeyens

    maven profile activation question

    Tom Baeyens Master

      i tried putting the following profile activation in our root pom:


      i expected the profile to be activated only when both property database was set *and* the given resource file exists.

      but if the file activation is present, then the property activation seems to be ignored.

      if i put only one of the activations in there, in both cases it works correctly.

      the idea was that only for modules that have this resource, the profile should be activated when the database property is set. the workaround that i applied was duplicating this profile declaration in examples and test-db.

      but i am still curious to know if this is a bug or my misinterpretation