ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bantling <>
Subject Re: Spring boot thymeleaf 3
Date Wed, 07 Jun 2017 10:14:27 GMT
Hi, Jaikiran.

Yes, that sounds correct correct If Ivy could process the POM with property
overrides, that would be great :)


On Wed, Jun 7, 2017 at 1:28 AM, Jaikiran Pai [via Apache Ivy] <> wrote:

> From what I understand, you have a (spring boot) pom.xml which declares
> <properties> element with certain values. When running via Maven ("mvn
> clean install" for example) you can have those values overridden by
> specifying JVM system properties, that match the property names, to the mvn
> command.
> You now want to use Ivy and add a dependency on that sprint boot artifact
> and want to pass system properties to Ivy so that when it parses the
> pom.xml, it too overrides the properties with whatever value you passed as
> JVM system properties to Ivy? If that’s what you are after, then looking at
> the Ivy code, it currently doesn’t do this substitution of pom properties
> with the system properties you pass to Ivy. Someone more familiar with the
> code might confirm or correct me, I just did a brief check of the code. If
> in fact, it’s not currently supported, then maybe we could add it as an
> enhancement. I don’t see any obvious issues in adding that support.
> -Jaikiran
> On 07-Jun-2017, at 12:33 AM, bantling <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=9960&i=0>> wrote:
> Hello.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:
> 3.0.2.RELEASE  2.1.1See  for reference.I tried setting these as Ant
> properties before getting Ivy running, it makes no difference. I can use
> override in my dependencies to bring in version 3, but then it doesn't
> work,
> the code in spring boot is expecting version 2. I tried the following
> overrides:
> <
> 5.3.RELEASE/spring-boot-samples/spring-boot-sample-web-thymeleaf3/pom.xml>
> I'm not sure how those Maven properties actually get used when pulling
> dependencies, I only know basics of Maven usage.Can anyone help me with
> this? Can't seem to find or figure out the solution.
> --
> View this message in context: http://apache-ivy.996301.n3.
> Sent from the ivy-user mailing list archive at
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> thymeleaf-3-tp9959p9960.html
> To unsubscribe from Spring boot thymeleaf 3, click here
> <>
> .
> <>

View this message in context:
Sent from the ivy-user mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message