code: @Override
      public T addAsManifestResource(URL resource, ArchivePath target) throws IllegalArgumentException {
          Validate.notNull(resource, "Resource should be specified");
          Validate.notNull(target, "Target should be specified");
  
          File file = new File(resource.getFile());
          if (file.exists()) {
              return addAsManifestResource(file, target);
          }
  
          return addAsManifestResource(new UrlAsset(resource), target);
      }
docs: /*
  (non-Javadoc)
  
  @see org.jboss.shrinkwrap.api.container.ManifestContainer#addManifestResource(java.net.URL,
  org.jboss.shrinkwrap.api.Path)