Class WarAttachClassesConvention
- java.lang.Object
-
- io.freefair.gradle.plugins.maven.war.WarAttachClassesConvention
-
public class WarAttachClassesConvention extends Object
-
-
Constructor Summary
Constructors Constructor Description WarAttachClassesConvention()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetClassesClassifier()The classifier to use for the attached classes artifact.inthashCode()booleanisAttachClasses()Whether classes (that is the content of the WEB-INF/classes directory) should be attached to the project as an additional artifact.voidsetAttachClasses(boolean attachClasses)Whether classes (that is the content of the WEB-INF/classes directory) should be attached to the project as an additional artifact.voidsetClassesClassifier(String classesClassifier)The classifier to use for the attached classes artifact.StringtoString()
-
-
-
Method Detail
-
isAttachClasses
public boolean isAttachClasses()
Whether classes (that is the content of the WEB-INF/classes directory) should be attached to the project as an additional artifact.By default the classifier for the additional artifact is 'classes'. You can change it with the
classesClassifierparameter.- See Also:
classesClassifier, maven-war-plugin#attachClasses
-
getClassesClassifier
public String getClassesClassifier()
The classifier to use for the attached classes artifact.- See Also:
attachClasses
-
setAttachClasses
public void setAttachClasses(boolean attachClasses)
Whether classes (that is the content of the WEB-INF/classes directory) should be attached to the project as an additional artifact.By default the classifier for the additional artifact is 'classes'. You can change it with the
classesClassifierparameter.- See Also:
classesClassifier, maven-war-plugin#attachClasses
-
setClassesClassifier
public void setClassesClassifier(String classesClassifier)
The classifier to use for the attached classes artifact.- See Also:
attachClasses
-
canEqual
protected boolean canEqual(Object other)
-
-