[jira] [Updated] (MNG-6432) Space in silently disables mirror

2019-06-11 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/MNG-6432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated MNG-6432:

Fix Version/s: wontfix-candidate

> Space in  silently disables mirror
> --
>
> Key: MNG-6432
> URL: https://issues.apache.org/jira/browse/MNG-6432
> Project: Maven
>  Issue Type: Bug
>  Components: Settings
>Affects Versions: 3.0.5, 3.3.9, 3.5.2
> Environment: Maven 3.5.2 (Red Hat 3.5.2-5 on Fedora 28).
> and
> Maven 3.0.5 (Red Hat 3.0.5-17 on RHEL 7.5)
> and
> Maven 3.3.9 on RHEL 7.5
>Reporter: Elias Elmqvist Wulcan
>Priority: Minor
>  Labels: newbie
> Fix For: wontfix-candidate
>
> Attachments: Possible list of hits.png
>
>
>  
> Maven silently ignores mirror configuration when there is a space in 
> mirrorOf. This could be a major problem if the developer's mirror 
> configuration is critical and this causes her to not notice that the mirror 
> is disabled.
> Without space inside mirrorOf, the mirror setting is respected.
> {code:java}
> 
>   
> 
>   loopback
>   loopback
>   http://127.0.0.1
>   !my-repo,*
> 
>   
> 
> {code}
> {noformat}
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] 
> 
> [INFO] Building mirrorOf-test 1
> [INFO] 
> 
> Downloading from loopback: 
> http://127.0.0.1/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
> {noformat}
>  
> With a space after the comma in mirrorOf, the mirror is ignored without 
> warning.
> {code:java}
> 
>   
> 
>   loopback
>   loopback
>   http://127.0.0.1
>   !my-repo, *
> 
>   
> 
> {code}
> {noformat}
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] 
> 
> [INFO] Building mirrorOf-test 1
> [INFO] 
> 
> Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
> ...
> {noformat}
>  
> The problem is reproducible with minimal pom.xm
> {code:java}
> 
>   4.0.0
>   com.example
>   mirrorOf-test
>   1
> 
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (MNG-6432) Space in silently disables mirror

2018-06-25 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/MNG-6432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated MNG-6432:

Attachment: Possible list of hits.png

> Space in  silently disables mirror
> --
>
> Key: MNG-6432
> URL: https://issues.apache.org/jira/browse/MNG-6432
> Project: Maven
>  Issue Type: Bug
>  Components: Settings
>Affects Versions: 3.0.5, 3.3.9, 3.5.2
> Environment: Maven 3.5.2 (Red Hat 3.5.2-5 on Fedora 28).
> and
> Maven 3.0.5 (Red Hat 3.0.5-17 on RHEL 7.5)
> and
> Maven 3.3.9 on RHEL 7.5
>Reporter: Elias Elmqvist Wulcan
>Priority: Minor
>  Labels: newbie
> Attachments: Possible list of hits.png
>
>
>  
> Maven silently ignores mirror configuration when there is a space in 
> mirrorOf. This could be a major problem if the developer's mirror 
> configuration is critical and this causes her to not notice that the mirror 
> is disabled.
> Without space inside mirrorOf, the mirror setting is respected.
> {code:java}
> 
>   
> 
>   loopback
>   loopback
>   http://127.0.0.1
>   !my-repo,*
> 
>   
> 
> {code}
> {noformat}
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] 
> 
> [INFO] Building mirrorOf-test 1
> [INFO] 
> 
> Downloading from loopback: 
> http://127.0.0.1/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
> {noformat}
>  
> With a space after the comma in mirrorOf, the mirror is ignored without 
> warning.
> {code:java}
> 
>   
> 
>   loopback
>   loopback
>   http://127.0.0.1
>   !my-repo, *
> 
>   
> 
> {code}
> {noformat}
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] 
> 
> [INFO] Building mirrorOf-test 1
> [INFO] 
> 
> Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
> ...
> {noformat}
>  
> The problem is reproducible with minimal pom.xm
> {code:java}
> 
>   4.0.0
>   com.example
>   mirrorOf-test
>   1
> 
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (MNG-6432) Space in silently disables mirror

2018-06-22 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/MNG-6432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated MNG-6432:

Summary: Space in  silently disables mirror  (was: Space in 
mirrorOf silently disables mirror.)

> Space in  silently disables mirror
> --
>
> Key: MNG-6432
> URL: https://issues.apache.org/jira/browse/MNG-6432
> Project: Maven
>  Issue Type: Bug
>  Components: Settings
>Affects Versions: 3.0.5, 3.3.9, 3.5.2
> Environment: Maven 3.5.2 (Red Hat 3.5.2-5 on Fedora 28).
> and
> Maven 3.0.5 (Red Hat 3.0.5-17 on RHEL 7.5)
> and
> Maven 3.3.9 on RHEL 7.5
>Reporter: Elias Elmqvist Wulcan
>Priority: Minor
>  Labels: newbie
>
>  
> Maven silently ignores mirror configuration when there is a space in 
> mirrorOf. This could be a major problem if the developer's mirror 
> configuration is critical and this causes her to not notice that the mirror 
> is disabled.
> Without space inside mirrorOf, the mirror setting is respected.
> {code:java}
> 
>   
> 
>   loopback
>   loopback
>   http://127.0.0.1
>   !my-repo,*
> 
>   
> 
> {code}
> {noformat}
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] 
> 
> [INFO] Building mirrorOf-test 1
> [INFO] 
> 
> Downloading from loopback: 
> http://127.0.0.1/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
> {noformat}
>  
> With a space after the comma in mirrorOf, the mirror is ignored without 
> warning.
> {code:java}
> 
>   
> 
>   loopback
>   loopback
>   http://127.0.0.1
>   !my-repo, *
> 
>   
> 
> {code}
> {noformat}
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] 
> 
> [INFO] Building mirrorOf-test 1
> [INFO] 
> 
> Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
> ...
> {noformat}
>  
> The problem is reproducible with minimal pom.xm
> {code:java}
> 
>   4.0.0
>   com.example
>   mirrorOf-test
>   1
> 
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)