Re: Cannot Deploy From Jenkins to Nexus maven-deploy-plugin:2.7 not found

2018-08-10 Thread Tommy Svensson
Hello Gary, I have seen the word LATEST in capitals used as version number, but never tried it myself. It is in general a good idea to know exactly what version you are using, and do controlled upgrades to newer versions. Surprises are seldom good IMHO. Regards, Tommy På 9 augusti 2018 ti

Combining dependency with related/required build step

2018-08-10 Thread DariusGmail
We have a JAR that is a dependency for many WARs.  In turn, this JAR has dependencies on some DB2 JARs. Any POM using this JAR also needs to copy some DB2-related files to a place under the target directory. We do this by using maven-resources-plugin Is there a way to have that build step don

Cannot Deploy From Jenkins to Nexus maven-deploy-plugin:2.7 not found

2018-08-10 Thread Mills, Gary (GE Digital)
Hey Tommy, thanks! Yeah, I get it. I'm really just trying to understand how this all works 😊 . How does Maven determine the default plugin version to use? Let's say you only give Maven the order, "clean deploy", Maven goes out and somehow determines to pull down plugin xxx.x. there has to

Re: Combining dependency with related/required build step

2018-08-10 Thread Anders Hammar
On Fri, Aug 10, 2018 at 11:56 AM DariusGmail wrote: > We have a JAR that is a dependency for many WARs. In turn, this JAR has > dependencies on some DB2 JARs. > > Any POM using this JAR also needs to copy some DB2-related files to a > place under the target directory. We do this by using > maven

Re: Cannot Deploy From Jenkins to Nexus maven-deploy-plugin:2.7 not found

2018-08-10 Thread Doug Douglass
On Fri, Aug 10, 2018 at 7:22 AM Mills, Gary (GE Digital) < gary.l.mi...@ge.com> wrote: > Hey Tommy, thanks! Yeah, I get it. I'm really just trying to understand > how this all works 😊 . > > How does Maven determine the default plugin version to use? Let's say you > only give Maven the order, "c

Re: Cannot Deploy From Jenkins to Nexus maven-deploy-plugin:2.7 not found

2018-08-10 Thread Tommy Svensson
Hello again Gary, My guesswer is no :-).  I’ve personally never been in a situation where there isn’t a version specified for every dependency, plugin, etc. I’m not sure you are allowed to not specify a version completely. Yes, it can be skipped on …, but that is because of … where complete G