# File lib/buildr/packaging/artifact.rb, line 389
    def content(string = nil)
      return @content unless string

      unless @content
        enhance do
          write name, @content
        end

        class << self
          # Force overwriting target since we don't have source file
          # to check for timestamp modification
          def needed?
            true
          end
        end
      end
      @content = string
      pom.content pom_xml unless pom == self || pom.has_content?
      self
    end