Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3540B200C37 for ; Sun, 19 Mar 2017 20:37:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 33BDD160B7D; Sun, 19 Mar 2017 19:37:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7D66B160B6D for ; Sun, 19 Mar 2017 20:37:48 +0100 (CET) Received: (qmail 82875 invoked by uid 500); 19 Mar 2017 19:37:47 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 82864 invoked by uid 99); 19 Mar 2017 19:37:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Mar 2017 19:37:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 19E6B1A5787 for ; Sun, 19 Mar 2017 19:37:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id QYQGdSqWn6cj for ; Sun, 19 Mar 2017 19:37:46 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E637A5FAE7 for ; Sun, 19 Mar 2017 19:37:45 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 418B7E0611 for ; Sun, 19 Mar 2017 19:37:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9BE4F254CF for ; Sun, 19 Mar 2017 19:37:41 +0000 (UTC) Date: Sun, 19 Mar 2017 19:37:41 +0000 (UTC) From: "Karl Heinz Marbaise (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (MDEPLOY-131) use default repository when no url specified MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 19 Mar 2017 19:37:49 -0000 [ https://issues.apache.org/jira/browse/MDEPLOY-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931904#comment-15931904 ] Karl Heinz Marbaise edited comment on MDEPLOY-131 at 3/19/17 7:37 PM: ---------------------------------------------------------------------- It was just an example having different artifacts attached to the same build without deploy-file...If you really need having shaded using different dependencies you need simply make different modules of them. Apart from that using [slf4j means|https://www.slf4j.org/images/concrete-bindings.png] you only define a dependency to slf4j-api and the user of that lib/jar decides what is really being used in the end. So maybe I misunderstand a thing but it sounds like the other created jars could be omitted and are not really needed... was (Author: khmarbaise): It was just an example having different artifacts attached to the same build without deploy-file...If you really need having shaded using different dependencies you need simply make different modules of them. Apart from that using slf4j means you only define a dependency to slf4j-api and the user of that lib/jar decides what is really being used in the end. So maybe I misunderstand a thing but it sounds like the other created jars could be omitted and are not really needed... > use default repository when no url specified > -------------------------------------------- > > Key: MDEPLOY-131 > URL: https://issues.apache.org/jira/browse/MDEPLOY-131 > Project: Maven Deploy Plugin > Issue Type: Improvement > Components: deploy:deploy-file > Reporter: raymond domingo > Labels: contributers-welcome > Attachments: DeployFileMojo.java, maven-deploy-useProjectRepo-20170319.patch, patch_deploy_file_mojo.diff > > > When using the deploy goal there is no need to specify the url of the repository. > When using deploy-file you DO need to specify the url. This is a problem, because during development I like to deploy to snapshot repository and when releasing i deploy to release repository and I can't add this logic to the pom. > Thas is why I like the url paramter to become optional (backwards compatible) and add default behaviour when it is null. It should just like the deploy plugin use the default repository. Snapshot for snapshots and release for none snapshot versions. > I added a patch file fixing this. > I also added complete source of patched Mojo -- This message was sent by Atlassian JIRA (v6.3.15#6346)