Rob Tompkins created COMMONSSITE-127:
----------------------------------------

             Summary: [release-plugin] ReadmeHtmlVelocityDelegate chops up 
artifactId too much to get to componentId
                 Key: COMMONSSITE-127
                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-127
             Project: Commons All
          Issue Type: Improvement
    Affects Versions: 1.5
            Reporter: Rob Tompkins
             Fix For: 1.6


Instead of parsing out the {{componentId}} from the {{artifactId}}, it is 
likely simpler to add {{componentId}} to the builder such that we build 
Delegate in the following fashion:

{code:java}
ReadmeHtmlVelocityDelegate delegate = ReadmeHtmlVelocityDelegate.builder()
                .withArtifactId("commons-lang3")
                .withComponentId("lang")
                .withVersion("3.8.1")
                .withSiteUrl("http://commons.apache.org/text";)
                .build();
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to