org.apache.maven.plugin.descriptor.model.Dependency Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-plugin-api Show documentation
Show all versions of maven-plugin-api Show documentation
The API for plugins - Mojos - development.
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.7,
// any modifications will be overwritten.
// ==============================================================
package org.apache.maven.plugin.descriptor.model;
/**
* Definition of a dependency, needed by the plugin at runtime.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class Dependency
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* The group id of the dependency.
*/
private String groupId;
/**
* The artifact id of the dependency.
*/
private String artifactId;
/**
* The version of the dependency.
*/
private String version;
/**
* The type of dependency.
*/
private String type = "jar";
//-----------/
//- Methods -/
//-----------/
/**
* Get the artifact id of the dependency.
*
* @return String
*/
public String getArtifactId()
{
return this.artifactId;
} //-- String getArtifactId()
/**
* Get the group id of the dependency.
*
* @return String
*/
public String getGroupId()
{
return this.groupId;
} //-- String getGroupId()
/**
* Get the type of dependency.
*
* @return String
*/
public String getType()
{
return this.type;
} //-- String getType()
/**
* Get the version of the dependency.
*
* @return String
*/
public String getVersion()
{
return this.version;
} //-- String getVersion()
/**
* Set the artifact id of the dependency.
*
* @param artifactId
*/
public void setArtifactId( String artifactId )
{
this.artifactId = artifactId;
} //-- void setArtifactId( String )
/**
* Set the group id of the dependency.
*
* @param groupId
*/
public void setGroupId( String groupId )
{
this.groupId = groupId;
} //-- void setGroupId( String )
/**
* Set the type of dependency.
*
* @param type
*/
public void setType( String type )
{
this.type = type;
} //-- void setType( String )
/**
* Set the version of the dependency.
*
* @param version
*/
public void setVersion( String version )
{
this.version = version;
} //-- void setVersion( String )
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy