Uploaded image for project: 'Apache Commons All'
  1. Apache Commons All
  2. COMMONSSITE-69

Commons parent uses maven.compile.[source|target] rather than maven.compiler.[source|target]

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Commons parent uses the property name maven.compile.[source|target] rather than maven.compiler.[source|target] as used by the Maven Compiler plugin itself [1]

      This is a bit confusing.

      Consider whether this should be changed to agree with the standard Maven property name.

      Or indeed to change it to use a commons-specific property name.

      This would mean that components would have to rename the property in their POM when they updated to the new commons parent POM.

      If the parent pom is changed to use the standard Maven names, then it could be simplified by removing the <source> and <target> configuration elements (but this should not be considered a good reason to change the name, only a minor benefit if we do).

      [1] http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment