Class IdentifiedScm

java.lang.Object
org.apache.maven.model.Scm
org.apache.maven.shared.release.scm.IdentifiedScm
All Implemented Interfaces:
Serializable, Cloneable, org.apache.maven.model.InputLocationTracker

public class IdentifiedScm extends org.apache.maven.model.Scm
Unlike repositories the scm of the Project Model doesn't have an id. This makes it quite hard to bind it to the credentials of a server as specified in the settings.xml
Since:
2.3
Author:
Robert Scholte
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for the field id.
    void
    Setter for the field id.

    Methods inherited from class org.apache.maven.model.Scm

    clone, getConnection, getDeveloperConnection, getLocation, getTag, getUrl, setConnection, setDeveloperConnection, setLocation, setTag, setUrl

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IdentifiedScm

      public IdentifiedScm()
  • Method Details

    • getId

      public String getId()

      Getter for the field id.

      Returns:
      the id
    • setId

      public void setId(String id)

      Setter for the field id.

      Parameters:
      id - the id to set