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