REVIEW-890 Better support/testing for project dependencies in maven-publish
- Ignore achivesBaseName and maven.deployer.artifactId when both source & target projects have maven-publish plugin installed
   - So we assume that we are consuming the result of publishing with the maven-publish plugin
- Where target project does not have maven-publish plugin installed, use old mechanism for calculating artifact id
REVIEW-889, REVIEW-892: Made JavaLibrary an internal type for now
REVIEW-898: Polishing
Attempt to fix concurrency issues in pom generation, by introducing a class-level lock
Tweaked docs and release-notes for maven-publish plugin