Nexus server is used as a proxy instead of downloading from central maven

I see in my logs that the same package is downloaded from nexus and from maven. I’m not sure why. in my code, there is only one option to go to Nexus. do I need to change the configuration on my nexus server?