I want to be able to add a task of my own to the ArtifactHandler, without inheriting everything that comes with AbstractArchiveTask. The problem with AbstractArchiveTask is that it’s a CopyTask with a deep hierarchy. The list of Notation Parsers used for PublishArtifact’s only supports Files and AbstactArchiveTask. I can fulfill all the requirements needed for PublishArchive pretty simply, though I probably have to implement the builtBy in AbstractPublishArtifact, but that class is internal (odd that I can reference builtBy when defining an artifact, yet it’s internal).
It just seems that DefaultPublishArtifactFactory could do a little more than assume Files and AbstractArchiveTask.