From issues-return-149927-archive-asf-public=cust-asf.ponee.io@maven.apache.org Thu May 30 09:14:03 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 A7E13180638 for ; Thu, 30 May 2019 11:14:02 +0200 (CEST) Received: (qmail 39471 invoked by uid 500); 30 May 2019 09:14:01 -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 39390 invoked by uid 99); 30 May 2019 09:14:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 May 2019 09:14:01 +0000 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 7C030E2CCF for ; Thu, 30 May 2019 09:14:00 +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 3189320FEB for ; Thu, 30 May 2019 09:14:00 +0000 (UTC) Date: Thu, 30 May 2019 09:14:00 +0000 (UTC) From: "Luke Usherwood (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MNG-6660) duplicate classes error with source in the root directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MNG-6660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luke Usherwood updated MNG-6660: -------------------------------- Attachment: (was: debug.log) > duplicate classes error with source in the root directory > --------------------------------------------------------- > > Key: MNG-6660 > URL: https://issues.apache.org/jira/browse/MNG-6660 > Project: Maven > Issue Type: Bug > Affects Versions: 3.6.1 > Reporter: Luke Usherwood > Priority: Minor > Attachments: debug.log > > > Trying to follow the instructions from [here|[https://github.com/bytedeco/javacpp-presets/tree/master/hdf5#sample-usage]] which entails adding this little pom: > {{ > 4.0.0 > org.bytedeco.hdf5 > H5tutrCmprss > 1.5 > > H5tutrCmprss > > > > org.bytedeco > hdf5-platform > 1.10.5-1.5 > > > > . > > }} > and a Java source file to the root directory. (There's code in the same link, but actually anything I think anything with a `main` function will do.) > It does not seem to work with: > {{.}} > Yielding the strange error > Compilation failure > [ERROR] /D:/work/workspace/hdf5/H5tutrCmprss.java:[7,8] duplicate class: H5tutrCmprss > (Seen also in: MCOMPILER-235) > However if I move the source under a sub-directory `src` and update the pom accordingly, it works fine. I assume that this pom worked "out of the box" once, so I wonder if this is a regression? -- This message was sent by Atlassian JIRA (v7.6.3#76005)