You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Nicolò Boschi - Diennea <ni...@diennea.com> on 2019/02/20 11:07:51 UTC

Attach sources button not working with maven mirror configured

Hi everyone,

I usually work on java project managed with maven, using Netbeans 10. I recently configured a mirror in my settings.xml:
<mirrors>
        <mirror>
            <id>mavencentralproxy</id>
            <name>Maven Central mirror</name>
            <url>https://xxxx</url>
            <mirrorOf>central</mirrorOf>
        </mirror>
</mirrors>

It works well as a maven repository mirror but now I'm not able to use "Attach Source" button in order to download dependency's code source

Removing the mirror, the feature resumes to work.

I did not found any issue about this on netbean JIRA

If someone could indicate me where looking for in source code I will be happy to send a PR

Maven: 3.6.0
Netbeans: 10
OS: Fedora

Thanks

Nicolò Boschi

________________________________

CONFIDENTIALITY & PRIVACY NOTICE
This e-mail (including any attachments) is strictly confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and destroy this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur in penalties.
The use of this e-mail is only for professional purposes; there is no guarantee that the correspondence towards this e-mail will be read only by the recipient, because, under certain circumstances, there may be a need to access this email by third subjects belonging to the Company.