This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Any hint how to solve the following issue is welcome.
I use Maven 2.2.1 with Nexus 1.6.0 as an internal repository manager (configured for central repo as a proxy).
The local Maven settings.xml file contains a mirror config as follows:
Nexus has a Proxy repository configured for Maven central repo with the id "central" (Nexus default settings) and a repository group named "public" with "central" assigned.
Execution of the maven goal
causes an error while Maven is generating the site report:
[INFO] Error building POM (may not be this project's POM).
Reason: Error getting POM for 'org.apache.maven.plugins:maven-javadoc-plugin' from the repository: Failed to resolve artifact, possibly due to a repository list that is not appropriately equipped for this artifact's metadata.
Martijn Verburg wrote:Have you read the excellent free online guides for Nexus and Maven by Sonatype? I suspect you'll spot the answer in there (hint: I think it's to do with setting up the pluginRepository correctly)