All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.mojo.nbm.model.Dependency Maven / Gradle / Ivy

Go to download

Maven plugin for creating NetBeans modules. It defines a custom lifecycle called "nbm". During packaging, the module JAR is enhanced with NetBeans-specific manifest entries and, along with other required files, packed into a *.nbm file, ready for distribution. Additionally the plugin provides aggregator goals to create an update site or cluster for your module projects.

The newest version!
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.8.3,
// any modifications will be overwritten.
// ==============================================================

package org.codehaus.mojo.nbm.model;

/**
 * Class Dependency.
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class Dependency
    implements java.io.Serializable
{

      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * groupId:artifactId of the dependency defined in the POM (or
     * a transitive dependency).
     */
    private String id;

    /**
     * 
     *                         Type of module dependency. 3
     * possible values allowed.
     *                         

spec - specification * dependency, module can only use public APIs in public * packages. Works with the version defined and any later * version.

*

impl - implementation * dependency, module can use any class in the dependency * module, but works with just the one version of the * module.

*

loose - similar to spec, * but isa very loose connection, no version is required, just * the module presence.

* * */ private String type = "spec"; /** * * The plugin tries to resolve the * correct module name and module specification/implementation * version by examining the * dependency jar's manifest. * You can override this behaviour by * explicitly defining the value here. For example * org.openide.io/1 > 10.1 for a "spec" type of dependency. * * * */ private String explicitValue; //-----------/ //- Methods -/ //-----------/ /** * Get the plugin tries to resolve the correct module name and * module specification/implementation version by examining the * dependency jar's manifest. * You can override this behaviour by * explicitly defining the value here. For example * org.openide.io/1 > 10.1 for a "spec" type of dependency. * * @return String */ public String getExplicitValue() { return this.explicitValue; } //-- String getExplicitValue() /** * Get groupId:artifactId of the dependency defined in the POM * (or a transitive dependency). * * @return String */ public String getId() { return this.id; } //-- String getId() /** * Get type of module dependency. 3 possible values allowed. *

spec - specification * dependency, module can only use public APIs in public * packages. Works with the version defined and any later * version.

*

impl - implementation * dependency, module can use any class in the dependency * module, but works with just the one version of the * module.

*

loose - similar to spec, * but isa very loose connection, no version is required, just * the module presence.

* * @return String */ public String getType() { return this.type; } //-- String getType() /** * Set the plugin tries to resolve the correct module name and * module specification/implementation version by examining the * dependency jar's manifest. * You can override this behaviour by * explicitly defining the value here. For example * org.openide.io/1 > 10.1 for a "spec" type of dependency. * * @param explicitValue */ public void setExplicitValue( String explicitValue ) { this.explicitValue = explicitValue; } //-- void setExplicitValue( String ) /** * Set groupId:artifactId of the dependency defined in the POM * (or a transitive dependency). * * @param id */ public void setId( String id ) { this.id = id; } //-- void setId( String ) /** * Set type of module dependency. 3 possible values allowed. *

spec - specification * dependency, module can only use public APIs in public * packages. Works with the version defined and any later * version.

*

impl - implementation * dependency, module can use any class in the dependency * module, but works with just the one version of the * module.

*

loose - similar to spec, * but isa very loose connection, no version is required, just * the module presence.

* * @param type */ public void setType( String type ) { this.type = type; } //-- void setType( String ) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy