A PublishException is thrown when a dependency configuration cannot be published for some reason.
PublishException