001// =================== DO NOT EDIT THIS FILE ==================== 002// Generated by Modello 1.8.1, 003// any modifications will be overwritten. 004// ============================================================== 005 006package org.apache.maven.model; 007 008/** 009 * Contains the plugins management informations for the project. 010 * 011 * @version $Revision$ $Date$ 012 */ 013@SuppressWarnings( "all" ) 014public class PluginConfiguration 015 extends PluginContainer 016 implements java.io.Serializable, java.lang.Cloneable 017{ 018 019 //--------------------------/ 020 //- Class/Member Variables -/ 021 //--------------------------/ 022 023 /** 024 * Default plugin information to be made available for 025 * reference by projects 026 * derived from this one. This plugin configuration 027 * will not be resolved or bound to the 028 * lifecycle unless referenced. Any local 029 * configuration for a given plugin will override 030 * the plugin's entire definition here. 031 */ 032 private PluginManagement pluginManagement; 033 034 035 //-----------/ 036 //- Methods -/ 037 //-----------/ 038 039 /** 040 * Method clone. 041 * 042 * @return PluginConfiguration 043 */ 044 public PluginConfiguration clone() 045 { 046 try 047 { 048 PluginConfiguration copy = (PluginConfiguration) super.clone(); 049 050 if ( this.pluginManagement != null ) 051 { 052 copy.pluginManagement = (PluginManagement) this.pluginManagement.clone(); 053 } 054 055 return copy; 056 } 057 catch ( java.lang.Exception ex ) 058 { 059 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() 060 + " does not support clone()" ).initCause( ex ); 061 } 062 } //-- PluginConfiguration clone() 063 064 /** 065 * Get default plugin information to be made available for 066 * reference by projects 067 * derived from this one. This plugin configuration 068 * will not be resolved or bound to the 069 * lifecycle unless referenced. Any local 070 * configuration for a given plugin will override 071 * the plugin's entire definition here. 072 * 073 * @return PluginManagement 074 */ 075 public PluginManagement getPluginManagement() 076 { 077 return this.pluginManagement; 078 } //-- PluginManagement getPluginManagement() 079 080 /** 081 * Set default plugin information to be made available for 082 * reference by projects 083 * derived from this one. This plugin configuration 084 * will not be resolved or bound to the 085 * lifecycle unless referenced. Any local 086 * configuration for a given plugin will override 087 * the plugin's entire definition here. 088 * 089 * @param pluginManagement 090 */ 091 public void setPluginManagement( PluginManagement pluginManagement ) 092 { 093 this.pluginManagement = pluginManagement; 094 } //-- void setPluginManagement( PluginManagement ) 095 096}