From users-return-144174-archive-asf-public=cust-asf.ponee.io@maven.apache.org Thu Aug 1 20:10:16 2019 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C7697180644 for ; Thu, 1 Aug 2019 22:10:15 +0200 (CEST) Received: (qmail 69399 invoked by uid 500); 1 Aug 2019 20:10:10 -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 69387 invoked by uid 99); 1 Aug 2019 20:10:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Aug 2019 20:10:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 4535AC26B7 for ; Thu, 1 Aug 2019 20:10:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.101 X-Spam-Level: *** X-Spam-Status: No, score=3.101 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_ALL=1.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=procentive-com.20150623.gappssmtp.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id EHF78aTOeqBA for ; Thu, 1 Aug 2019 20:10:06 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::136; helo=mail-lf1-x136.google.com; envelope-from=jason.young@procentive.com; receiver= Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 1D2AC7D3FC for ; Thu, 1 Aug 2019 20:10:06 +0000 (UTC) Received: by mail-lf1-x136.google.com with SMTP id q26so51240514lfc.3 for ; Thu, 01 Aug 2019 13:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=procentive-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=YWHMquq6thBeTy1FJlJJBLMjLSuJTtRoDuCvSj4JtXI=; b=dARUH2J9bnZQMv4BzD78wHooIEKlrXqHIXmgcNFHYejMN23D9R/jSZnDfgzwVYK23X kzJpPIxXTfTyWf2e26vIx90T+iUGYXGs1Cpv8gIiUE4+Alovlid+Y+ibKHMFsUhVaQ1A myw0jM11M/5yxJboZZFnr1VjSuE4oiqkGVufxPqFukjqCRjflTqta+YyboV6oUinNDnJ IuT1TNu0mhuxB8SX/fsCzYpdT3EpU3ozzLbTITjjHffEqF0eyaYaUmTOQSL4a5VGpJcD iHhDBd5azrBwyfWrh7YLUNA4Tt121s+G0GidID6mIXiP6JDpA5McMAUKTW38CO2HQyWr xiiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=YWHMquq6thBeTy1FJlJJBLMjLSuJTtRoDuCvSj4JtXI=; b=NzHjlfxOYY/u3ql41G7XBS74zlNw6sh1U9ggIV5i0q6WgxNGPKooQq9peGQ2WAT9CK ULAC6CXmKQefMp2+syMMzN6J5mIR0ByJQwGyF0y1Me6d2Hb6zuNCGydDVLd97e5rwJ4k Wnvyxt0uUzsR/rvfKRitORpapUR0wmMRo+gL6iN5lWStwG5Ai86f9K2cJbvF/DHIxQ+z 2W1+n40CfCnLKYfM8jDKr8UVOqZEwlmiHM0x61dHsyeLXtjrLV3Aw3Hd7JNyfh7SIdSp f7G5YuBdSKhm3VTAyknQoc0tTY99+XUyhUe1B3Ns0QO+Nv0AbnpD+97AKS9Dnt0FyV16 3ZCA== X-Gm-Message-State: APjAAAX5QYgHymV5AOG8VJDAOfG1LNizK9UbHs77hAY8XhyQU2hyMurI skih2rDQgC4p/zNG6gvFQBMP0jOEkpXdzSauNgmrhg1E X-Google-Smtp-Source: APXvYqzdptHCYtu5laE1s2z3AmT2pSUk2azHs+XrWF2qV9w++Re5T/ky4MnXTUCMbUyd/9zt6Ar88EokGc47xLve7p4= X-Received: by 2002:a19:f007:: with SMTP id p7mr1609465lfc.24.1564690204976; Thu, 01 Aug 2019 13:10:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jason Young Date: Thu, 1 Aug 2019 15:09:28 -0500 Message-ID: Subject: Re: Maven question - how to pull code from bitbucket repository as dependency To: Maven Users List Content-Type: multipart/alternative; boundary="000000000000da03d6058f13d38c" --000000000000da03d6058f13d38c Content-Type: text/plain; charset="UTF-8" On Wed, Jun 12, 2019 at 1:04 AM Anders Hammar wrote: > Having a dependency to some other scm repo is not a good approach. If that > changes your build could fail all of a sudden and you want consistency. > This is not true. The "big 3" VCSes each allow you to checkout a specific tag or revision if you like. If both projects (the dependent and the dependency) use the same VCS, then, at least in the cases of Git and SVN, you have a VCS-specific feature, e.g. Git subrepos or SVN externals, to work with the dependency's repo pretty seamlessly (though admittedly their use is controversial, but let's not go on a tangent about it :) ). > Your Maven project should typically be self contained. Any dependency > should be a Maven artifact (that is immutable). > It is certainly preferable to make one Maven project depend on another when possible, but keep in mind there are by necessity other kinds of dependencies too: The JDK, system-level libraries not provided by some JVMs, a SQL database, etc. You _can_ mavenize a lot of dependencies (like a SQL database project) and gain Maven's dependency management, but that is not invariably worth the cost of implementing and maintaining that mavenization. /Anders > > On Wed, Jun 12, 2019 at 7:50 AM Rajesh Deshpande < > rajesh.deshpande@gmail.com> > wrote: > > > Hello, > > I have a maven project that builds Java jar files. I wan to run a python > > script as one of the goals in the verify phase. I am planning to use the > > ant run plugin for running the python script. The python script is stored > > in a separate repository that I would like to copy to my project root > > folder using maven. Is this possible? What's the best way to approach > this? > > > > Thanks! > > > --000000000000da03d6058f13d38c--