From users-return-143407-archive-asf-public=cust-asf.ponee.io@maven.apache.org Fri Aug 10 18:10:56 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CEE2C180630 for ; Fri, 10 Aug 2018 18:10:55 +0200 (CEST) Received: (qmail 45172 invoked by uid 500); 10 Aug 2018 16:10:54 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 45152 invoked by uid 99); 10 Aug 2018 16:10:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2018 16:10:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 760E0180786 for ; Fri, 10 Aug 2018 16:10:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.302 X-Spam-Level: *** X-Spam-Status: No, score=3.302 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_BADIPHTTP=2, KAM_SHORT=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 23RxjMmrCnJd for ; Fri, 10 Aug 2018 16:10:49 +0000 (UTC) Received: from smtp.outgoing.loopia.se (smtp.outgoing.loopia.se [194.9.95.112]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 82F165F20B for ; Fri, 10 Aug 2018 16:10:49 +0000 (UTC) Received: from s554.loopia.se (localhost [127.0.0.1]) by s554.loopia.se (Postfix) with ESMTP id B635E1F17E6C for ; Fri, 10 Aug 2018 18:10:47 +0200 (CEST) Received: from s500.loopia.se (unknown [172.21.200.98]) by s554.loopia.se (Postfix) with ESMTP id 9806D795C13 for ; Fri, 10 Aug 2018 18:10:47 +0200 (CEST) Received: from s405.loopia.se (unknown [172.21.200.105]) by s500.loopia.se (Postfix) with ESMTP id 7C058A840AA for ; Fri, 10 Aug 2018 18:10:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se Received: from s645.loopia.se ([172.21.200.105]) by s405.loopia.se (s405.loopia.se [172.21.200.135]) (amavisd-new, port 10024) with LMTP id KYOxq7U6I9Gp for ; Fri, 10 Aug 2018 18:10:45 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: tommy@natusoft.se X-Loopia-Originating-IP: 85.230.93.60 Received: from Tommys-MBP4.mail (c-3c5de655.04-92-73746f39.bbcust.telenor.se [85.230.93.60]) (Authenticated sender: tommy@natusoft.se) by s645.loopia.se (Postfix) with ESMTPSA id C5EF213C511E for ; Fri, 10 Aug 2018 18:10:45 +0200 (CEST) Date: Fri, 10 Aug 2018 18:10:44 +0200 From: Tommy Svensson To: Maven Users List Message-ID: In-Reply-To: References: Subject: Re: Cannot Deploy From Jenkins to Nexus maven-deploy-plugin:2.7 not found X-Mailer: Airmail (504) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="2E074C82-2711-4784-8235-650CEEB66CB0"; protocol="application/pgp-signature"; micalg=pgp-sha256 --2E074C82-2711-4784-8235-650CEEB66CB0 Content-Type: multipart/alternative; boundary="5b6db904_7092e943_3336" --5b6db904_7092e943_3336 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello again Gary, My guesswer is no :-).=C2=A0 I=E2=80=99ve personally never been in a situation where there isn=E2=80=99= t a version specified for every dependency, plugin, etc. I=E2=80=99m not = sure you are allowed to not specify a version completely. Yes, it can be = skipped on =E2=80=A6, but that is because of =E2=80=A6 where complete GAV (G= roup, Artifact, Version) is specified for dependencies. This is usually p= ut high up in a parent pom. Then lower pom=E2=80=99s can just specify the= dependency without version. This is to simplify and keep version managem= ent in one place. So I believe that you must put a version somewhere, and= that there are no standard default versions. =C2=A0 If you don=E2=80=99t know what versions are available for some dependency= , you can always search in maven central:=C2=A0https://search.maven.org/c= lassic/. Or if your dependencies are in bintrays jcenter you can search f= or packages here:=C2=A0https://bintray.com/bintray/jcenter. Regards, Tommy =46r=C3=A5n:=C2=A0Mills, Gary (GE Digital) Svara:=C2=A0Maven Users List Datum:=C2=A010 augusti 2018 at 16:22:34 Till:=C2=A0Maven Users List =C3=84mne:=C2=A0 Cannot Deploy =46rom Jenkins to Nexus maven-deploy-plugi= n:2.7 not found =20 Hey Tommy, thanks=21 Yeah, I get it. I'm really just trying to understand= how this all works =C3=B0=C5=B8=CB=9C=C5=A0 . =20 How does Maven determine the default plugin version to use=3F Let's say y= ou only give Maven the order, =22clean deploy=22, Maven goes out and some= how determines to pull down plugin xxx.x. there has to be something that = directs it to a specific base version set=3F =20 Gary Mills =20 Kind Regards, =20 Cell 630-607-9639 =20 Work 920-390-4806 =20 -----Original Message----- =20 =46rom: Tommy Svensson =20 Sent: =46riday, August 10, 2018 2:14 AM =20 To: Maven Users List =20 Subject: EXT: Re: Cannot Deploy =46rom Jenkins to Nexus maven-deploy-plug= in:2.7 not found =20 Hello Gary, =20 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 versi= on you are using, and do controlled upgrades to newer versions. Surprises= are seldom good IMHO. =20 Regards, =20 Tommy =20 P=C3=83=C2=A5 9 augusti 2018 till 21:49:41, Mills, Gary (GE Digital) (gar= y.l.mills=40ge.com(mailto:gary.l.mills=40ge.com)) skrev: =20 > =20 > =20 > this is my environment. java version =221.8.0=5F181=22 Java(TM) SE Runt= ime Environment (build 1.8.0=5F181-b13) Java HotSpot(TM) 64-Bit Server VM= (build 25.181-b13, mixed mode) =20 > =20 > Apache Maven 3.5.4 Nexus 2.14.8-01 Jenkins 2.136 =20 > =20 > my issue is I cannot perform a mvn clean deploy in Jenkins without it i= ssuing error. the error: =20 > The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is mis= sing, no dependency information available =5BERROR=5D Plugin org.apache.m= aven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not= be resolved: =46ailure to find org.apache.maven.plugins:maven-deploy-plu= gin:jar:2.7 in http://137.27.68.182:8082/nexus/content/groups/public was = cached in the local repository, resolution will not be reattempted until = the update interval of ge-ip-nexus has elapsed or updates are forced =20 > =20 > =20 > In Nexus Maven Central, I look in Nexus repo, and under Browse Index, t= he maven-deploy-plugin:jar:2.7 exists, however, under browse storage, onl= y 2.8.2 exists. =20 > =20 > I'm not specifying or to my knowledge a specific version and wonder why= doesn't it just use the maven-deploy-plugin:jar:2.8.2 =3F=3F=3F instead = of the 2.7. and I can't find where the 2.7 is being declared. =3F=3F =20 > =20 > thank you any suggestions on how to resolve or explain what the heck is= going on would be much appreciated, =20 > =20 > it keeps looking for maven-deploy-plugin:2.7 when 2.8.2 is available=3F= How can I make this work=3F Either use 2.7 or make it use 2.8 =3F =20 > =20 > =20 > xmlns=3D=22http://maven.apache.org/SETTINGS/1.0.0=22 =20 > =20 > xmlns:xsi=3D=22http://www.w3.org/2001/XMLSchema-instance=22 =20 > =20 > xsi:schemaLocation=3D=22http://maven.apache.org/SETTINGS/1.0.0 =20 > =20 > http://maven.apache.org/xsd/settings-1.0.0.xsd=22> =20 > =20 > =20 > =20 > <=21-- The path to the local repository --> =20 > =20 > /Users/212555427/devel/maven/repositories/ge-ip-jenkin= s-repository =20 > =20 > =20 > =20 > false =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > com.ge.ip.snapshot.local =20 > =20 > xxxxx =20 > =20 > xxxxxx =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > ge-ip-nexus =20 > =20 > Nexus Repository Manager =20 > =20 > *,=21jbossRepos(x) =20 > =20 > http://137.277.686.182:8082/nexus/content/groups/public =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > <=21-- A definition of a development profile --> =20 > =20 > =20 > =20 > development =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > false =20 > =20 > =20 > =20 > com.ge.ip.release =20 > =20 > Release Repository =20 > =20 > http://137.277.686.182:8082/nexus/content/groups/public =20 > =20 > =20 > =20 > =20 > =20 > <=21-- The specified location of where all snapshot artifacts are retri= eved from. --> =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > true =20 > =20 > =20 > =20 > com.ge.ip.snapshot =20 > =20 > Snapshot Repository =20 > =20 > http://137.277.686.182:8082/nexus/content/groups/public =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > <=21-- The specified location of where all released plugins are retriev= ed from. --> =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > false =20 > =20 > =20 > =20 > com.ge.ip.plugin.release =20 > =20 > Plugin Release Repository =20 > =20 > http://137.277.686.182:8082/nexus/content/groups/public =20 > =20 > =20 > =20 > =20 > =20 > <=21-- The specified location of where all snapshot plugins are retriev= ed from. --> =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > true =20 > =20 > =20 > =20 > com.ge.ip.plugin.snapshot =20 > =20 > Plugin Snapshot Repository =20 > =20 > http://137.277.686.182:8082/nexus/content/groups/public =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > <=21-- Specify the default active profile. --> =20 > =20 > =20 > =20 > development =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > Thank you=21 =20 > =20 > =20 > Sent from Mail for = Windows 10 =20 > =20 --5b6db904_7092e943_3336 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline