Re: Need to pass properties to the dependency POM file

2017-10-10 Thread Robert Patrick
ect requiring JDBC >... > >... > >org.sonatype.mavenbook >persistence-deps >1.0 >pom > > > > > Regards, > Bikash Chandra > > -Original Message----- > From: Russell Gold [mai

RE: Need to pass properties to the dependency POM file

2017-10-10 Thread Bikash Chandra Barad
Message- From: Russell Gold [mailto:russell.g...@oracle.com] Sent: Tuesday, October 10, 2017 5:13 PM To: Maven Users List <users@maven.apache.org> Subject: Re: Need to pass properties to the dependency POM file Sounds as though you may want to use “import” scope https://maven.apache.org/

Re: Need to pass properties to the dependency POM file

2017-10-10 Thread Anders Hammar
No there isn't. The correct value needs to be in the pom (pom-deps) itself. If then someone says you can specify the property values on the command line as java system properties, it will not work as it will not update the specified values in the pom-deps pom. Thus, the pom when deployed to the

Re: Need to pass properties to the dependency POM file

2017-10-10 Thread Russell Gold
Sounds as though you may want to use “import” scope https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html > On Oct 10, 2017, at 7:26 AM, Bikash Chandra Barad > wrote: > > Hi, > > I am trying to grouping the

Need to pass properties to the dependency POM file

2017-10-10 Thread Bikash Chandra Barad
Hi, I am trying to grouping the dependencies into a pom(pom-deps.pom)file and adding that pom file as a dependency in my project. I need to substitute the properties of the dependency pom file(pom-deps.pom) to get the latest version dependencies, like parent POM, from the dependency POM,