ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J Pai <jai.forums2...@gmail.com>
Subject Re: Spring boot thymeleaf 3
Date Thu, 08 Jun 2017 03:38:03 GMT
Could you please create an enhancement request for this here https://issues.apache.org/jira/browse/IVY
so that the changes can be tracked against it? I’ll try and get this done for the upcoming
release.

-Jaikiran
On 07-Jun-2017, at 3:44 PM, bantling <greghall@bantling.me> wrote:

Hi, Jaikiran.

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

Tx.

On Wed, Jun 7, 2017 at 1:28 AM, Jaikiran Pai [via Apache Ivy] <
ml+s996301n9960h2@n3.nabble.com> 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:
> <https://github.com/spring-projects/spring-boot/blob/v1.
> 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.
> nabble.com/Spring-boot-thymeleaf-3-tp9959.html
> Sent from the ivy-user mailing list archive at Nabble.com.
> 
> 
> 
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-ivy.996301.n3.nabble.com/Spring-boot-
> thymeleaf-3-tp9959p9960.html
> To unsubscribe from Spring boot thymeleaf 3, click here
> <http://apache-ivy.996301.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=9959&code=Z3JlZ2hhbGxAYmFudGxpbmcubWV8OTk1OXwtNDM1ODk1MDYx>
> .
> NAML
> <http://apache-ivy.996301.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> 




--
View this message in context: http://apache-ivy.996301.n3.nabble.com/Spring-boot-thymeleaf-3-tp9959p9961.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message