Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 573C4106A3 for ; Mon, 29 Jul 2013 22:16:27 +0000 (UTC) Received: (qmail 12438 invoked by uid 500); 29 Jul 2013 22:16:25 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 12347 invoked by uid 500); 29 Jul 2013 22:16:25 -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 12339 invoked by uid 99); 29 Jul 2013 22:16:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 22:16:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stephen.alan.connolly@gmail.com designates 74.125.82.42 as permitted sender) Received: from [74.125.82.42] (HELO mail-wg0-f42.google.com) (74.125.82.42) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 22:16:21 +0000 Received: by mail-wg0-f42.google.com with SMTP id j13so3245890wgh.1 for ; Mon, 29 Jul 2013 15:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JFWOLdeKYDVkZpblSjE9FneSa6wnDNGelD6hgjnyaYI=; b=Dsv9LZeoga7OMFe33exmhlsMlyiU5IBTgdgP3SuBjYpYm/AVyhxXj1dIc4Dp4EPS+W btsvl7EizXPtK5cx7o8i781nVEVgpWoU0bmIL52NllBt+je1OeGehT3U1ORVgpOE/Iug NqrFru+u4wwSBQ/ScBE6FAwIRrlMmHWuqkofRbHjBc/cP+OpDK1NXvbDeQZ59mf2E+yK ULZtGsaAfgpL1h63wANcGgk7PnEkzUbFGE439naTi9m0k3xqcDw7s8DIEfJkU2KWnZ+4 bkqKw+Er1C5ZPA+gpFL/DVYApgMmT05sqdBygL6/Z06AqaPLBaqkpMFAcQoU2umGqRLY gNkw== MIME-Version: 1.0 X-Received: by 10.180.198.79 with SMTP id ja15mr8426325wic.36.1375136159608; Mon, 29 Jul 2013 15:15:59 -0700 (PDT) Received: by 10.194.157.66 with HTTP; Mon, 29 Jul 2013 15:15:59 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Jul 2013 23:15:59 +0100 Message-ID: Subject: Re: Stop offline mode artifact version renumbering From: Stephen Connolly To: Maven Users List Content-Type: multipart/alternative; boundary=047d7b62425250e49d04e2add6ac X-Virus-Checked: Checked by ClamAV on apache.org --047d7b62425250e49d04e2add6ac Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The issue here is that you want to subvert Maven and provide your own jars. When you decide to go down that road you *have* to provide *all* your own poms. If you were happy to take the poms and jars that you were given by a *trusted* repository manager, then you'd be fine. When you say something like "I want maven to ignore what the poms say about version and take the version number from what I have installed" then you don't want Maven. Maven takes as a given that what the poms say about version is the truth. If you want to use specific jars, you need to create the correct poms for those jars.... and you need to think about the correct transitive dependencies of those jars... and you need to do that for the closed graph that is your entire dependency tree. If you start from that place, you will get Maven to do what you need. On 29 July 2013 23:09, Bahmer, Eric V wrote: > I didn't pick the build system unfortunately. > I'm just using what came with the product=C5=A0 > And cursing their developers for using something that doesn't seem to mes= h > with high security environments. > > > On 7/29/13 8:18 AM, "Stephen Connolly" > wrote: > > >On 29 July 2013 15:04, Bahmer, Eric V wrote: > > > >> I was just hoping that maybe maven could use the local version numbers > >> without renumbering everything as a command line option, especially fo= r > >>my > >> environment where I can't have the maven going online and have to use > >>the > >> packages that I built from sources due to security requirements. > >> > >> > >In the on-going war between Maven and people who want to make Maven do > >things their way, chalk up another victory for Maven. > > > >You entered this battle determined to bend Maven to your will... that is > >the only surefire way to ensure your defeat by Maven. I suspect the fixi= ng > >of your issues will involve unwinding a lot of "hard won" battles on you= r > >behalf. > > > >I humbly suggest that you consider a different build system, as Maven do= es > >not share your philosophy, and as such you will only end up hating Maven > >(when you should be hating yourself for using it against an inappropriat= e > >use-case). That way, when you have an appropriate use case for a Maven > >style build of a project, you will still be open to using Maven for that > >project. > > > >-Stephen > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --047d7b62425250e49d04e2add6ac--