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

Use Ivy properties to override Maven POM settings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0-rc1
    • Maven Compatibility
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: