Maven Ant Tasks
  1. Maven Ant Tasks
  2. MANTTASKS-80

weak/Inconsistent handling of settings

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.7
    • Fix Version/s: 2.0.8
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      There are some differences between the way that maven itself handles it's settings, and the way antlib does.

      1. Lookup/Load of Settings Files:

      • in antlib, I can only specify one settingsFile, like this: <install file="target/xxx.jar" settingsFile="$ {gs}

        ">, that means either the global or the user's one...

      • in maven itself, both settings.xml are combined (see http://maven.apache.org/guides/mini/guide-configuring-maven.html)
        It would make life much easier for antlib users to have the same funcitonality "out of the box", without specifying any settings-file

      2. resolving of environment variables in a settings files
      (maybe this is a detail or a (negative) consequence of Item 1)
      in my global settings file, I have set: <localRepository>$

      {env.MPA_ROOT}

      /mavenrepo</localRepository>

      • in maven env.MPA_ROOT is resolved to a real directory
      • in antlib, it is not.

        Issue Links

          Activity

          Gerhard Langs made changes -
          Field Original Value New Value
          Link This issue relates to MANTTASKS-82 [ MANTTASKS-82 ]
          Herve Boutemy made changes -
          Assignee Herve Boutemy [ hboutemy ]
          Resolution Fixed [ 1 ]
          Fix Version/s 2.0.8 [ 13618 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            • Assignee:
              Herve Boutemy
              Reporter:
              Gerhard Langs
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: