Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2DC11734C for ; Sun, 9 Aug 2015 11:53:46 +0000 (UTC) Received: (qmail 74862 invoked by uid 500); 9 Aug 2015 11:53:46 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 74799 invoked by uid 500); 9 Aug 2015 11:53:46 -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 74786 invoked by uid 99); 9 Aug 2015 11:53:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Aug 2015 11:53:46 +0000 Date: Sun, 9 Aug 2015 11:53:46 +0000 (UTC) From: =?utf-8?Q?Herv=C3=A9_Boutemy_=28JIRA=29?= To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (MPIR-312) Subversion SCM module URLs incorrectly build when module name != artifactId MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MPIR-312?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D146791= 11#comment-14679111 ]=20 Herv=C3=A9 Boutemy edited comment on MPIR-312 at 8/9/15 11:53 AM: ------------------------------------------------------------- a new idea: during build, there is already the algorithm to use local path for artifacts from repo, perhaps we could use flatten-maven-plugin to detec= t that the "module directory =3D artifactId" convention is not used then ex= pand calculated info flattened pom.xml was (Author: hboutemy): a new idea: during build, there is already the algorithm to use local path for artifacts from repo, perhaps we could use flatten-maven-plugin to detec= t that the "module directory =3D artifactId" convention is not used then ex= pand calculated info flattened pom.xml > Subversion SCM module URLs incorrectly build when module name !=3D artifa= ctId > -------------------------------------------------------------------------= -- > > Key: MPIR-312 > URL: https://issues.apache.org/jira/browse/MPIR-312 > Project: Maven Project Info Reports Plugin > Issue Type: Bug > Components: scm > Affects Versions: 2.7 > Reporter: Michael Osipov > > Say you have this project structure: > {noformat} > / > |-- module1 > |-- module2 > {noformat} > and artifactIds are named: > {noformat} > my-parent > |-- my-module1 > |-- my-module2 > {noformat} > Prefix {{my-}} is omitted for brevity in module names. For instance, Jers= ey does that. > When the SCM report is built, the artifactId is always used for path comp= osition which leads to incorrect URLs. You can of course set the parameter = {{checkoutDirectoryName}} but this would be extremely tedious for all modul= es down the tree. > The code should obtain the module name and use it for URL composition. -- This message was sent by Atlassian JIRA (v6.3.4#6332)