Tabnine Logo
ArchivaProjectModel.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.maven.archiva.model.ArchivaProjectModel
constructor

Best Java code snippets using org.apache.maven.archiva.model.ArchivaProjectModel.<init> (Showing top 2 results out of 315)

origin: org.apache.archiva/archiva-dependency-graph

  private ArchivaProjectModel createDefaultModel( ArtifactReference reference )
  {
    ArchivaProjectModel model = new ArchivaProjectModel();

    // Create default (dummy) model
    model = new ArchivaProjectModel();
    model.setGroupId( reference.getGroupId() );
    model.setArtifactId( reference.getArtifactId() );
    model.setVersion( reference.getVersion() );
    model.setPackaging( reference.getType() );
    return model;
  }
}
origin: org.apache.maven.archiva/archiva-model

public static ArchivaProjectModel clone( ArchivaProjectModel model )
{
  if ( model == null )
  {
    return null;
  }
  ArchivaProjectModel cloned = new ArchivaProjectModel();
  cloned.setGroupId( model.getGroupId() );
  cloned.setArtifactId( model.getArtifactId() );
  cloned.setVersion( model.getVersion() );
  cloned.setParentProject( clone( model.getParentProject() ) );
  cloned.setName( model.getName() );
  cloned.setDescription( model.getDescription() );
  cloned.setUrl( model.getUrl() );
  cloned.setPackaging( model.getPackaging() );
  cloned.setOrigin( model.getOrigin() );
  cloned.setMailingLists( cloneMailingLists( model.getMailingLists() ) );
  cloned.setCiManagement( clone( model.getCiManagement() ) );
  cloned.setIndividuals( cloneIndividuals( model.getIndividuals() ) );
  cloned.setIssueManagement( clone( model.getIssueManagement() ) );
  cloned.setLicenses( cloneLicenses( model.getLicenses() ) );
  cloned.setOrganization( clone( model.getOrganization() ) );
  cloned.setScm( clone( model.getScm() ) );
  cloned.setRepositories( cloneRepositories( model.getRepositories() ) );
  cloned.setDependencies( cloneDependencies( model.getDependencies() ) );
  cloned.setPlugins( clonePlugins( model.getPlugins() ) );
  cloned.setReports( cloneReports( model.getReports() ) );
  cloned.setDependencyManagement( cloneDependencies( model.getDependencyManagement() ) );
  return cloned;
}
org.apache.maven.archiva.modelArchivaProjectModel<init>

Popular methods of ArchivaProjectModel

  • getArtifactId
    Get The Artifact ID of the repository content.
  • getGroupId
    Get The Group ID of the repository content.
  • getVersion
    Get The version of the repository content.
  • setVersion
    Set The version of the repository content.
  • getPackaging
    Get The declared packaging for this project model.
  • getDependencies
    Method getDependencies
  • getDependencyManagement
    Method getDependencyManagement
  • setArtifactId
    Set The Artifact ID of the repository content.
  • setGroupId
    Set The Group ID of the repository content.
  • setOrigin
    Set The Origin of this Model. (Filesystem, Proxy, or Deploy)
  • setPackaging
    Set The declared packaging for this project model.
  • getBuildExtensions
    Method getBuildExtensions
  • setPackaging,
  • getBuildExtensions,
  • getCiManagement,
  • getDescription,
  • getIndividuals,
  • getIssueManagement,
  • getLicenses,
  • getMailingLists,
  • getName

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • ImageIO (javax.imageio)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now