[
https://issues.apache.org/jira/browse/MNG-6916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17115307#comment-17115307
]
axin commented on MNG-6916:
---------------------------
This issue is caused by IntelliJ IDEA 2020.1.1 and 2020.1.2. Maven works fine
from the command line.
> A hyphen sign in name of local repository causes build failure
> --------------------------------------------------------------
>
> Key: MNG-6916
> URL: https://issues.apache.org/jira/browse/MNG-6916
> Project: Maven
> Issue Type: Bug
> Components: Bootstrap & Build
> Affects Versions: 3.6.3
> Environment: Windows 10 Professional Build 1909
> Oracle JDK 11.0.7
> IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Maven 3.6.3
> Reporter: axin
> Priority: Trivial
> Labels: build, test
> Fix For: waiting-for-feedback
>
>
> I created a maven project in IntelliJ idea. And there is only one dependency:
> JUnit 4.13. I found that if the name of the local maven repository contains a
> hyphen sign, the build will fail.
> local maven repository name example: E:\Dev\maven-repository
> The error is: package org.junit does not exist
> ------------
> Update: This issue is caused by IntelliJ IDEA 2020.1.1 and 2020.1.2
> Maven works fine from the command line.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)