Fix documentation URL for Spring Data.
Use the commons artifact instead of build. Closes #72
This commit is contained in:
@@ -89,18 +89,18 @@ public class DocumentationMetadata {
|
||||
*/
|
||||
public String getReferenceDocUrl() {
|
||||
|
||||
Project project = this.project;
|
||||
|
||||
if (Projects.BUILD.equals(project)) { // Report Commons Docs for Spring Data Build
|
||||
project = Projects.COMMONS;
|
||||
}
|
||||
|
||||
if (documentationFormat == DocumentationFormat.ASCIIDOC) {
|
||||
|
||||
if (version.isSnapshotVersion()) {
|
||||
return "";
|
||||
}
|
||||
|
||||
Project project = this.project;
|
||||
|
||||
if (Projects.BUILD.equals(project)) { // Report Commons Docs for Spring Data Build
|
||||
project = Projects.COMMONS;
|
||||
}
|
||||
|
||||
return String.format(DOCS, getProjectName(project), getDocumentationVersion());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user