Utility methods for manipulating the plugin-list.xml file used when publishing plugins to a Grails plugin repository.
Type | Name and description |
---|---|
java.io.File |
baseDir |
java.lang.String |
repositoryURL |
java.lang.String |
revision |
Constructor and description |
---|
DefaultPluginPublisher
(java.io.File baseDir, java.lang.String revNumber, java.lang.String repositoryURL) |
DefaultPluginPublisher
(java.lang.String revNumber, java.lang.String repositoryURL) |
Type | Name and description |
---|---|
protected groovy.util.slurpersupport.GPathResult |
getPluginMetadata(java.lang.String pluginName) |
protected groovy.util.slurpersupport.GPathResult |
parsePluginList(org.springframework.core.io.Resource pluginsListFile) |
groovy.util.slurpersupport.GPathResult |
publishRelease(java.lang.String pluginName, org.springframework.core.io.Resource pluginsList, boolean makeLatest) Publishes a plugin release to the given plugin list. |
groovy.util.slurpersupport.GPathResult |
publishRelease(java.lang.String pluginName, org.springframework.core.io.Resource pluginsList) |
void |
writePluginList(groovy.util.slurpersupport.GPathResult pluginList, java.io.Writer targetWriter) Writes the given plugin list to the given writer. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Publishes a plugin release to the given plugin list.
pluginName
- the name of the pluginpluginsListFile
- The plugin list filemakeLatest
- Whether to make the release the latest releaseWrites the given plugin list to the given writer.
Groovy Documentation