On Fri, 26 Feb 2021 at 16:06, robertlazarski <[email protected]>
wrote:

> On my linux mint 20 machine that file is a symbolic link to
> /etc/maven/m2.conf, a file to which everyone has read access.
>
>>
>> I've also updated the jre java security policy config to give everyone
>> read access to this file. It makes no difference.
>>
>
> I suspect an issue with selinux, I suggest trying "setenforce 0" to debug.
>

I tried building as root. That made the error go away. Hmm.
But then the next problem was a dependency issue in Apache Axis2 -
Transport - HTTP - Commons HttpClient 3.x where it failed with the error:

ERROR [m] Failed to execute goal on project axis2-transport-http-hc: Could
not resolve dependencies for project
org.apache.axis2:axis2-transport-http-hc3:jar:1.8.0-SNAPSHOT: Could not
find artifact
org.apache.axis2:axis2-transport-http:jar:tests:1.8.0-SNAPSHOT in
apache.snapshots (https://repository.apache.org/snapshots)

I am not a mint user however the /var/log/auth* or /var/log/secure* logs
> may have some clues. Axis2 builds fine for me on Centos 7 and OpenSuse.
>


-- 
Regards,

Andrew Marlow
http://www.andrewpetermarlow.co.uk

Reply via email to