Coverage Report - org.apache.maven.plugin.resources.CopyResourcesMojo
 
Classes in this File Line Coverage Branch Coverage Complexity
CopyResourcesMojo
0%
0/10
N/A
1
 
 1  
 package org.apache.maven.plugin.resources;
 2  
 
 3  
 /*
 4  
  * Licensed to the Apache Software Foundation (ASF) under one
 5  
  * or more contributor license agreements.  See the NOTICE file
 6  
  * distributed with this work for additional information
 7  
  * regarding copyright ownership.  The ASF licenses this file
 8  
  * to you under the Apache License, Version 2.0 (the
 9  
  * "License"); you may not use this file except in compliance
 10  
  * with the License.  You may obtain a copy of the License at
 11  
  *
 12  
  *   http://www.apache.org/licenses/LICENSE-2.0
 13  
  *
 14  
  * Unless required by applicable law or agreed to in writing,
 15  
  * software distributed under the License is distributed on an
 16  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 17  
  * KIND, either express or implied.  See the License for the
 18  
  * specific language governing permissions and limitations
 19  
  * under the License.
 20  
  */
 21  
 
 22  
 import java.io.File;
 23  
 import java.util.List;
 24  
 
 25  
 /**
 26  
  * Copy resources of the configured plugin attribute resources
 27  
  * 
 28  
  * @author <a href="mailto:olamy@apache.org">olamy</a>
 29  
  * @since 2.3
 30  
  * @version $Id: CopyResourcesMojo.java 728546 2008-12-21 22:56:51Z bentmann $
 31  
  * @goal copy-resources
 32  
  * @phase
 33  
  */
 34  0
 public class CopyResourcesMojo
 35  
     extends ResourcesMojo
 36  
 {
 37  
     
 38  
     /**
 39  
      * The output directory into which to copy the resources.
 40  
      *
 41  
      * @parameter 
 42  
      * @required
 43  
      */
 44  
     private File outputDirectory;
 45  
 
 46  
     /**
 47  
      * The list of resources we want to transfer.
 48  
      *
 49  
      * @parameter 
 50  
      * @required
 51  
      */
 52  
     private List resources;
 53  
 
 54  
 
 55  
     public File getOutputDirectory()
 56  
     {
 57  0
         return outputDirectory;
 58  
     }
 59  
 
 60  
     public void setOutputDirectory( File outputDirectory )
 61  
     {
 62  0
         this.outputDirectory = outputDirectory;
 63  0
     }
 64  
 
 65  
     public List getResources()
 66  
     {
 67  0
         return resources;
 68  
     }
 69  
 
 70  
     public void setResources( List resources )
 71  
     {
 72  0
         this.resources = resources;
 73  0
     }
 74  
 
 75  
     public List getFilters()
 76  
     {
 77  0
         return filters;
 78  
     }
 79  
 
 80  
     public void setFilters( List filters )
 81  
     {
 82  0
         this.filters = filters;
 83  0
     }    
 84  
 
 85  
 }