Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1947

Inconsistent maven profile activation

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.1
    • 1.9.0
    • build, java
    • None
    • Reviewed

    Description

      The profiles hadoop1 and hadoop2 can be activated by setting the property hadoop.version. Currently it is implemented in a way that hadoop2 is activated by default (if the property is not set) and hadoop1 is activated if the property is set to 1. BUT if the property is set to any other value (including 2!) none of these profiles will be activated.

      Easily reproducible by using the following commands:

      • mvn help:active-profiles
      • mvn help:active-profiles -Dhadoop.version=2
      • mvn help:active-profiles -Dhadoop.version=1

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gszadovszky Gabor Szadovszky
            gszadovszky Gabor Szadovszky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment