Returns the basename of the artifact's file, using Maven's conventions.

        In particular, it will be:

            <artifactId>-<version>[-<suffix>][.<extension>]

def getFileName(self, suffix=None, extension="jar"):
        """
        Returns the basename of the artifact's file, using Maven's conventions.

        In particular, it will be:

            <artifactId>-<version>[-<suffix>][.<extension>]
        """

        assert (self._artifactId is not None)
        assert (self._version is not None)

        return "{0}-{1}{2}{3}".format(
            self._artifactId,
            self._version.getRawString(),
            "-" + suffix.lstrip("-") if suffix is not None else "",
            "." + extension.lstrip(".") if extension is not None else ""
        )