[jira] [Created] (MNG-6660) duplicate classes error with source in the root directory
Luke Usherwood created MNG-6660: --- Summary: 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 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)
[jira] [Updated] (MNG-6660) duplicate classes error with source in the root directory
[ https://issues.apache.org/jira/browse/MNG-6660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luke Usherwood updated MNG-6660: Attachment: 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)
[jira] [Commented] (MNG-6660) duplicate classes error with source in the root directory
[ https://issues.apache.org/jira/browse/MNG-6660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16851665#comment-16851665 ] Luke Usherwood commented on MNG-6660: - _(Sorry for the delay, email went to spam)_ Ah-ha, a clue! [DEBUG] Stale source detected: D:\work\workspace\H5tutrCmprss\H5tutrCmprss.java [DEBUG] Stale source detected: D:\work\workspace\H5tutrCmprss\.\H5tutrCmprss.java ... [INFO] Compiling 2 source files to D:\work\workspace\H5tutrCmprss\target\classes (There's only one source file.) [^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)
[jira] [Updated] (MNG-6660) duplicate classes error with source in the root directory
[ 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)
[jira] [Updated] (MNG-6660) duplicate classes error with source in the root directory
[ https://issues.apache.org/jira/browse/MNG-6660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luke Usherwood updated MNG-6660: Attachment: 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)
[jira] [Updated] (MNG-6660) duplicate classes error with source in the root directory
[ https://issues.apache.org/jira/browse/MNG-6660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luke Usherwood updated MNG-6660: Attachment: 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)
[jira] [Updated] (MNG-6660) duplicate classes error with source in the root directory
[ 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)