Tabnine Logo
ArchivaProjectModel.setOrigin
Code IndexAdd Tabnine to your IDE (free)

How to use
setOrigin
method
in
org.apache.maven.archiva.model.ArchivaProjectModel

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

origin: org.apache.maven.archiva/archiva-database-consumers

model.setOrigin( "filesystem" );
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.modelArchivaProjectModelsetOrigin

Javadoc

Set The Origin of this Model. (Filesystem, Proxy, or Deploy)

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.
  • <init>
  • getDependencies
    Method getDependencies
  • getDependencyManagement
    Method getDependencyManagement
  • setArtifactId
    Set The Artifact ID of the repository content.
  • setGroupId
    Set The Group ID of the repository content.
  • setPackaging
    Set The declared packaging for this project model.
  • getBuildExtensions
    Method getBuildExtensions
  • setPackaging,
  • getBuildExtensions,
  • getCiManagement,
  • getDescription,
  • getIndividuals,
  • getIssueManagement,
  • getLicenses,
  • getMailingLists,
  • getName

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • startActivity (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best plugins for Eclipse
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