I have a complex project setup. in one of my sub-modules i am referencing below plugin without the version.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
</plugin>
</plugins>
</build>
Maven then decides that it will try resolve this dependency with version org.apache.maven.plugins:maven-jar-plugin:jar:3.0.2
I get the failure that it cannot find it on my Nexus Server?
It resolved alot of my other dependencies but it cannot pull this specific one from central maven (https://repo1.maven.org/maven2/)?
can anyone please tell me what could be the issue?
Plugin org.apache.maven.plugins:maven-jar-plugin:3.0.2 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-jar-plugin:jar:3.0.2 in http://{nexus-server}:8082/repository/maven-public/
Nexus Server OSS 3.3.0-01