public class GrailsCloverPomIntegrator extends AbstractGrailsCloverIntegrator
CLOVER_CORE_ARTIFACTID, CLOVER_GRAILS_ARTIFACTID, CLOVER_GRAILS_GROUPID, CLOVER3_CORE_GROUPID, CLOVER4_CORE_GROUPID, CLOVER4_MIN_VER
Constructor and Description |
---|
GrailsCloverPomIntegrator(String pluginVersion) |
Modifier and Type | Method and Description |
---|---|
protected Element |
getCloverCoreDependency(Document document)
Returns:
|
protected Element |
getGrailsCloverPluginDependency(Document document)
Returns:
|
boolean |
integrate(File xmlFile)
Integrate Clover in pom.xml file
|
boolean |
integrate(InputStream input,
OutputStream output)
Integrate Clover using I/O streams
|
protected boolean |
isAlreadyIntegrated(Element dependenciesElem)
Returns true if the <dependencies> element already contains Clover plugin.
|
getCloverCoreArtifactId, getCloverCoreGroupId, getPluginVersion
public GrailsCloverPomIntegrator(@NotNull String pluginVersion)
public boolean integrate(@NotNull File xmlFile) throws Exception
integrate
in class AbstractGrailsCloverIntegrator
Exception
protected boolean isAlreadyIntegrated(@NotNull Element dependenciesElem)
dependenciesElem
- elementpublic boolean integrate(@NotNull InputStream input, @NotNull OutputStream output) throws Exception
AbstractGrailsCloverIntegrator
integrate
in class AbstractGrailsCloverIntegrator
Exception
@NotNull protected Element getCloverCoreDependency(@NotNull Document document)
com.atlassian.clover or com.cenqua.clover clover X.Y.Z compile jar
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.