Class WarAttachClassesConvention


  • public class WarAttachClassesConvention
    extends Object
    • Constructor Detail

      • WarAttachClassesConvention

        public WarAttachClassesConvention()
    • 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 classesClassifier parameter.

        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 classesClassifier parameter.

        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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object