org.apache.maven.model.Activation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-model Show documentation
Show all versions of maven-model Show documentation
Model for Maven POM (Project Object Model)
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.7,
// any modifications will be overwritten.
// ==============================================================
package org.apache.maven.model;
/**
* The conditions within the build runtime environment which will
* trigger the
* automatic inclusion of the build profile.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class Activation
implements java.io.Serializable, java.lang.Cloneable, org.apache.maven.model.InputLocationTracker
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* If set to true, this profile will be active unless another
* profile in this
* pom is activated using the command line -P
* option or by one of that profile's
* activators.
*/
private boolean activeByDefault = false;
/**
*
*
* Specifies that this profile will be activated
* when a matching JDK is detected.
* For example, 1.4
only activates on
* JDKs versioned 1.4,
* while !1.4
matches any JDK that is
* not version 1.4.
*
*
*/
private String jdk;
/**
* Specifies that this profile will be activated when matching
* operating system
* attributes are detected.
*/
private ActivationOS os;
/**
* Specifies that this profile will be activated when this
* system property is
* specified.
*/
private ActivationProperty property;
/**
* Specifies that this profile will be activated based on
* existence of a file.
*/
private ActivationFile file;
/**
* Field locations.
*/
private java.util.Map