code: @Override
      public final RESOLVESTAGETYPE addDependency(final MavenDependency dependency) throws IllegalArgumentException {
          if (dependency == null) {
              throw new IllegalArgumentException("dependency must be specified");
          }
          final MavenDependency resolved = this.resolveDependency(dependency);
          this.session.getDependenciesForResolution().add(resolved);
          return this.covarientReturn();
      }
docs: {@inheritDoc}
  
  @see org.jboss.shrinkwrap.resolver.api.ResolveStage#addDependency(org.jboss.shrinkwrap.resolver.api.Coordinate)