1 // =================== DO NOT EDIT THIS FILE ==================== 2 // Generated by Modello 1.11, 3 // any modifications will be overwritten. 4 // ============================================================== 5 6 package org.apache.maven.model; 7 8 /** 9 * Contains the plugins management informations for the project. 10 * 11 * @version $Revision$ $Date$ 12 */ 13 @SuppressWarnings( "all" ) 14 public class PluginConfiguration 15 extends PluginContainer 16 implements java.io.Serializable, java.lang.Cloneable 17 { 18 19 //--------------------------/ 20 //- Class/Member Variables -/ 21 //--------------------------/ 22 23 /** 24 * Default plugin information to be made available for 25 * reference by projects 26 * derived from this one. This plugin configuration 27 * will not be resolved or bound to the 28 * lifecycle unless referenced. Any local 29 * configuration for a given plugin will override 30 * the plugin's entire definition here. 31 */ 32 private PluginManagement pluginManagement; 33 34 35 //-----------/ 36 //- Methods -/ 37 //-----------/ 38 39 /** 40 * Method clone. 41 * 42 * @return PluginConfiguration 43 */ 44 public PluginConfiguration clone() 45 { 46 try 47 { 48 PluginConfiguration copy = (PluginConfiguration) super.clone(); 49 50 if ( this.pluginManagement != null ) 51 { 52 copy.pluginManagement = (PluginManagement) this.pluginManagement.clone(); 53 } 54 55 return copy; 56 } 57 catch ( java.lang.Exception ex ) 58 { 59 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() 60 + " does not support clone()" ).initCause( ex ); 61 } 62 } //-- PluginConfiguration clone() 63 64 /** 65 * Get default plugin information to be made available for 66 * reference by projects 67 * derived from this one. This plugin configuration 68 * will not be resolved or bound to the 69 * lifecycle unless referenced. Any local 70 * configuration for a given plugin will override 71 * the plugin's entire definition here. 72 * 73 * @return PluginManagement 74 */ 75 public PluginManagement getPluginManagement() 76 { 77 return this.pluginManagement; 78 } //-- PluginManagement getPluginManagement() 79 80 /** 81 * Set default plugin information to be made available for 82 * reference by projects 83 * derived from this one. This plugin configuration 84 * will not be resolved or bound to the 85 * lifecycle unless referenced. Any local 86 * configuration for a given plugin will override 87 * the plugin's entire definition here. 88 * 89 * @param pluginManagement 90 */ 91 public void setPluginManagement( PluginManagement pluginManagement ) 92 { 93 this.pluginManagement = pluginManagement; 94 } //-- void setPluginManagement( PluginManagement ) 95 96 97 98 /** 99 * @see java.lang.Object#toString() 100 */ 101 public String toString() 102 { 103 return "PluginConfiguration {" + super.toString() + "}"; 104 } 105 106 107 }