Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1561

Use Ivy properties to override Maven POM settings

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0-rc1
    • Component/s: Maven Compatibility
    • Labels:
      None

      Description

      I want to use Spring boot and Thymeleaf 3 with Ant+Ivy. Spring boot
      1.5.3 (current release) by default loads older thymeleaf 2. Apparently, the
      solution in a Maven POM is to specify the following properties:

      <properties>
      <main.basedir>${basedir}/../..</main.basedir>
      <thymeleaf.version>3.0.2.RELEASE</thymeleaf.version>
      <thymeleaf-layout-dialect.version>2.1.1</thymeleaf-layout-dialect.version>
      </properties>

      See the external issue URL for reference where I found the Maven POM solution.

      I tried setting these as Ant properties before getting Ivy running, it makes no difference. I can use overrides in my dependencies to bring in version 3, but then it doesn't work, the code in spring boot seems to be expecting version 2.

      I'm not sure how those Maven properties actually get used when pulling
      in dependencies, but it seems Ivy currently lacks this feature.

      Thanks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bantling Greg Hall
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: