Class UrlModelSource

  • All Implemented Interfaces:
    org.apache.maven.building.Source, ModelSource

    @Deprecated
    public class UrlModelSource
    extends org.apache.maven.building.UrlSource
    implements ModelSource
    Deprecated.
    instead use UrlSource
    Wraps an ordinary URL as a model source.
    Author:
    Benjamin Bentmann
    • Constructor Summary

      Constructors 
      Constructor Description
      UrlModelSource​(java.net.URL pomUrl)
      Deprecated.
      Creates a new model source backed by the specified URL.
    • Method Summary

      • Methods inherited from class org.apache.maven.building.UrlSource

        getInputStream, getLocation, getUrl, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.apache.maven.building.Source

        getInputStream, getLocation
    • Constructor Detail

      • UrlModelSource

        public UrlModelSource​(java.net.URL pomUrl)
        Deprecated.
        Creates a new model source backed by the specified URL.
        Parameters:
        pomUrl - The POM file, must not be null.