You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2009/08/18 00:30:51 UTC

svn commit: r805190 [2/2] - in /maven/enforcer/trunk/enforcer-rules/src: main/java/org/apache/maven/plugins/enforcer/ main/java/org/apache/maven/plugins/enforcer/utils/ test/java/org/apache/maven/plugins/enforcer/ test/java/org/apache/maven/plugins/enf...

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockProject.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockProject.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockProject.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockProject.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.File;
 import java.io.IOException;
@@ -54,7 +55,6 @@
 import org.codehaus.plexus.PlexusTestCase;
 import org.codehaus.plexus.util.xml.Xpp3Dom;
 
-// TODO: Auto-generated Javadoc
 /**
  * very simple stub of maven project, going to take a lot of work to make it useful as a stub though.
  */
@@ -209,7 +209,7 @@
     // kinda dangerous...
     /**
      * Instantiates a new mock project.
-     * 
+     *
      * @param model the model
      */
     public MockProject( Model model )
@@ -221,7 +221,7 @@
     // kinda dangerous...
     /**
      * Instantiates a new mock project.
-     * 
+     *
      * @param project the project
      */
     public MockProject( MavenProject project )
@@ -232,7 +232,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getModulePathAdjustment(org.apache.maven.project.MavenProject)
      */
     public String getModulePathAdjustment( MavenProject mavenProject )
@@ -243,7 +243,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getArtifact()
      */
     public Artifact getArtifact()
@@ -253,7 +253,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setArtifact(org.apache.maven.artifact.Artifact)
      */
     public void setArtifact( Artifact artifact )
@@ -263,7 +263,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getModel()
      */
     public Model getModel()
@@ -273,7 +273,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getParent()
      */
     public MavenProject getParent()
@@ -283,7 +283,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setParent(org.apache.maven.project.MavenProject)
      */
     public void setParent( MavenProject mavenProject )
@@ -293,7 +293,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setRemoteArtifactRepositories(java.util.List)
      */
     public void setRemoteArtifactRepositories( List list )
@@ -303,7 +303,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getRemoteArtifactRepositories()
      */
     public List getRemoteArtifactRepositories()
@@ -313,7 +313,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#hasParent()
      */
     public boolean hasParent()
@@ -330,7 +330,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getFile()
      */
     public File getFile()
@@ -340,7 +340,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setFile(java.io.File)
      */
     public void setFile( File file )
@@ -350,7 +350,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getBasedir()
      */
     public File getBasedir()
@@ -364,7 +364,7 @@
 
     /**
      * Sets the base dir.
-     * 
+     *
      * @param base the new base dir
      */
     public void setBaseDir( File base )
@@ -374,7 +374,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setDependencies(java.util.List)
      */
     public void setDependencies( List list )
@@ -384,7 +384,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getDependencies()
      */
     public List getDependencies()
@@ -398,7 +398,7 @@
 
     /**
      * Sets the dependency management.
-     * 
+     *
      * @param depMgt the new dependency management
      */
     public void setDependencyManagement( DependencyManagement depMgt )
@@ -408,7 +408,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getDependencyManagement()
      */
     public DependencyManagement getDependencyManagement()
@@ -423,7 +423,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addCompileSourceRoot(java.lang.String)
      */
     public void addCompileSourceRoot( String string )
@@ -440,7 +440,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addScriptSourceRoot(java.lang.String)
      */
     public void addScriptSourceRoot( String string )
@@ -457,7 +457,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addTestCompileSourceRoot(java.lang.String)
      */
     public void addTestCompileSourceRoot( String string )
@@ -474,7 +474,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getCompileSourceRoots()
      */
     public List getCompileSourceRoots()
@@ -484,7 +484,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getScriptSourceRoots()
      */
     public List getScriptSourceRoots()
@@ -494,7 +494,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getTestCompileSourceRoots()
      */
     public List getTestCompileSourceRoots()
@@ -504,7 +504,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getCompileClasspathElements()
      */
     public List getCompileClasspathElements()
@@ -515,7 +515,7 @@
 
     /**
      * Sets the compile artifacts.
-     * 
+     *
      * @param compileArtifacts the new compile artifacts
      */
     public void setCompileArtifacts( List compileArtifacts )
@@ -525,7 +525,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getCompileArtifacts()
      */
     public List getCompileArtifacts()
@@ -535,7 +535,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getCompileDependencies()
      */
     public List getCompileDependencies()
@@ -545,7 +545,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getTestClasspathElements()
      */
     public List getTestClasspathElements()
@@ -556,7 +556,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getTestArtifacts()
      */
     public List getTestArtifacts()
@@ -566,7 +566,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getTestDependencies()
      */
     public List getTestDependencies()
@@ -576,7 +576,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getRuntimeClasspathElements()
      */
     public List getRuntimeClasspathElements()
@@ -587,7 +587,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getRuntimeArtifacts()
      */
     public List getRuntimeArtifacts()
@@ -597,7 +597,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getRuntimeDependencies()
      */
     public List getRuntimeDependencies()
@@ -607,7 +607,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getSystemClasspathElements()
      */
     public List getSystemClasspathElements()
@@ -618,7 +618,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getSystemArtifacts()
      */
     public List getSystemArtifacts()
@@ -628,7 +628,7 @@
 
     /**
      * Sets the runtime classpath elements.
-     * 
+     *
      * @param runtimeClasspathElements the new runtime classpath elements
      */
     public void setRuntimeClasspathElements( List runtimeClasspathElements )
@@ -638,7 +638,7 @@
 
     /**
      * Sets the attached artifacts.
-     * 
+     *
      * @param attachedArtifacts the new attached artifacts
      */
     public void setAttachedArtifacts( List attachedArtifacts )
@@ -648,7 +648,7 @@
 
     /**
      * Sets the compile source roots.
-     * 
+     *
      * @param compileSourceRoots the new compile source roots
      */
     public void setCompileSourceRoots( List compileSourceRoots )
@@ -658,7 +658,7 @@
 
     /**
      * Sets the test compile source roots.
-     * 
+     *
      * @param testCompileSourceRoots the new test compile source roots
      */
     public void setTestCompileSourceRoots( List testCompileSourceRoots )
@@ -668,7 +668,7 @@
 
     /**
      * Sets the script source roots.
-     * 
+     *
      * @param scriptSourceRoots the new script source roots
      */
     public void setScriptSourceRoots( List scriptSourceRoots )
@@ -678,7 +678,7 @@
 
     /**
      * Sets the artifact map.
-     * 
+     *
      * @param artifactMap the new artifact map
      */
     public void setArtifactMap( Map artifactMap )
@@ -688,7 +688,7 @@
 
     /**
      * Sets the plugin artifact map.
-     * 
+     *
      * @param pluginArtifactMap the new plugin artifact map
      */
     public void setPluginArtifactMap( Map pluginArtifactMap )
@@ -698,7 +698,7 @@
 
     /**
      * Sets the report artifact map.
-     * 
+     *
      * @param reportArtifactMap the new report artifact map
      */
     public void setReportArtifactMap( Map reportArtifactMap )
@@ -708,7 +708,7 @@
 
     /**
      * Sets the extension artifact map.
-     * 
+     *
      * @param extensionArtifactMap the new extension artifact map
      */
     public void setExtensionArtifactMap( Map extensionArtifactMap )
@@ -718,7 +718,7 @@
 
     /**
      * Sets the project references.
-     * 
+     *
      * @param projectReferences the new project references
      */
     public void setProjectReferences( Map projectReferences )
@@ -728,7 +728,7 @@
 
     /**
      * Sets the builds the overlay.
-     * 
+     *
      * @param buildOverlay the new builds the overlay
      */
     public void setBuildOverlay( Build buildOverlay )
@@ -738,7 +738,7 @@
 
     /**
      * Sets the compile dependencies.
-     * 
+     *
      * @param compileDependencies the new compile dependencies
      */
     public void setCompileDependencies( List compileDependencies )
@@ -748,7 +748,7 @@
 
     /**
      * Sets the system dependencies.
-     * 
+     *
      * @param systemDependencies the new system dependencies
      */
     public void setSystemDependencies( List systemDependencies )
@@ -758,7 +758,7 @@
 
     /**
      * Sets the test classpath elements.
-     * 
+     *
      * @param testClasspathElements the new test classpath elements
      */
     public void setTestClasspathElements( List testClasspathElements )
@@ -768,7 +768,7 @@
 
     /**
      * Sets the test dependencies.
-     * 
+     *
      * @param testDependencies the new test dependencies
      */
     public void setTestDependencies( List testDependencies )
@@ -778,7 +778,7 @@
 
     /**
      * Sets the system classpath elements.
-     * 
+     *
      * @param systemClasspathElements the new system classpath elements
      */
     public void setSystemClasspathElements( List systemClasspathElements )
@@ -788,7 +788,7 @@
 
     /**
      * Sets the system artifacts.
-     * 
+     *
      * @param systemArtifacts the new system artifacts
      */
     public void setSystemArtifacts( List systemArtifacts )
@@ -798,7 +798,7 @@
 
     /**
      * Sets the test artifacts.
-     * 
+     *
      * @param testArtifacts the new test artifacts
      */
     public void setTestArtifacts( List testArtifacts )
@@ -808,7 +808,7 @@
 
     /**
      * Sets the runtime artifacts.
-     * 
+     *
      * @param runtimeArtifacts the new runtime artifacts
      */
     public void setRuntimeArtifacts( List runtimeArtifacts )
@@ -818,7 +818,7 @@
 
     /**
      * Sets the runtime dependencies.
-     * 
+     *
      * @param runtimeDependencies the new runtime dependencies
      */
     public void setRuntimeDependencies( List runtimeDependencies )
@@ -828,7 +828,7 @@
 
     /**
      * Sets the model.
-     * 
+     *
      * @param model the new model
      */
     public void setModel( Model model )
@@ -838,7 +838,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getSystemDependencies()
      */
     public List getSystemDependencies()
@@ -848,7 +848,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setModelVersion(java.lang.String)
      */
     public void setModelVersion( String string )
@@ -858,7 +858,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getModelVersion()
      */
     public String getModelVersion()
@@ -868,7 +868,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getId()
      */
     public String getId()
@@ -878,7 +878,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setGroupId(java.lang.String)
      */
     public void setGroupId( String string )
@@ -888,7 +888,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getGroupId()
      */
     public String getGroupId()
@@ -898,7 +898,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setArtifactId(java.lang.String)
      */
     public void setArtifactId( String string )
@@ -908,7 +908,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getArtifactId()
      */
     public String getArtifactId()
@@ -918,7 +918,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setName(java.lang.String)
      */
     public void setName( String string )
@@ -928,7 +928,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getName()
      */
     public String getName()
@@ -938,7 +938,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setVersion(java.lang.String)
      */
     public void setVersion( String string )
@@ -948,7 +948,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getVersion()
      */
     public String getVersion()
@@ -958,7 +958,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getPackaging()
      */
     public String getPackaging()
@@ -968,7 +968,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setPackaging(java.lang.String)
      */
     public void setPackaging( String string )
@@ -978,7 +978,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setInceptionYear(java.lang.String)
      */
     public void setInceptionYear( String string )
@@ -988,7 +988,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getInceptionYear()
      */
     public String getInceptionYear()
@@ -998,7 +998,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setUrl(java.lang.String)
      */
     public void setUrl( String string )
@@ -1008,7 +1008,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getUrl()
      */
     public String getUrl()
@@ -1018,7 +1018,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getPrerequisites()
      */
     public Prerequisites getPrerequisites()
@@ -1028,7 +1028,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setIssueManagement(org.apache.maven.model.IssueManagement)
      */
     public void setIssueManagement( IssueManagement issueManagement )
@@ -1038,7 +1038,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getCiManagement()
      */
     public CiManagement getCiManagement()
@@ -1048,7 +1048,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setCiManagement(org.apache.maven.model.CiManagement)
      */
     public void setCiManagement( CiManagement ciManagement )
@@ -1058,7 +1058,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getIssueManagement()
      */
     public IssueManagement getIssueManagement()
@@ -1068,7 +1068,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setDistributionManagement(org.apache.maven.model.DistributionManagement)
      */
     public void setDistributionManagement( DistributionManagement distributionManagement )
@@ -1078,7 +1078,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getDistributionManagement()
      */
     public DistributionManagement getDistributionManagement()
@@ -1088,7 +1088,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setDescription(java.lang.String)
      */
     public void setDescription( String string )
@@ -1098,7 +1098,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getDescription()
      */
     public String getDescription()
@@ -1108,7 +1108,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setOrganization(org.apache.maven.model.Organization)
      */
     public void setOrganization( Organization organization )
@@ -1118,7 +1118,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getOrganization()
      */
     public Organization getOrganization()
@@ -1128,7 +1128,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setScm(org.apache.maven.model.Scm)
      */
     public void setScm( Scm scm )
@@ -1138,7 +1138,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getScm()
      */
     public Scm getScm()
@@ -1148,7 +1148,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setMailingLists(java.util.List)
      */
     public void setMailingLists( List list )
@@ -1158,7 +1158,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getMailingLists()
      */
     public List getMailingLists()
@@ -1168,7 +1168,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addMailingList(org.apache.maven.model.MailingList)
      */
     public void addMailingList( MailingList mailingList )
@@ -1178,7 +1178,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setDevelopers(java.util.List)
      */
     public void setDevelopers( List list )
@@ -1188,7 +1188,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getDevelopers()
      */
     public List getDevelopers()
@@ -1198,7 +1198,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addDeveloper(org.apache.maven.model.Developer)
      */
     public void addDeveloper( Developer developer )
@@ -1208,7 +1208,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setContributors(java.util.List)
      */
     public void setContributors( List list )
@@ -1218,7 +1218,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getContributors()
      */
     public List getContributors()
@@ -1228,7 +1228,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addContributor(org.apache.maven.model.Contributor)
      */
     public void addContributor( Contributor contributor )
@@ -1238,7 +1238,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setBuild(org.apache.maven.model.Build)
      */
     public void setBuild( Build build )
@@ -1248,7 +1248,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getBuild()
      */
     public Build getBuild()
@@ -1258,7 +1258,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getResources()
      */
     public List getResources()
@@ -1268,7 +1268,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getTestResources()
      */
     public List getTestResources()
@@ -1278,7 +1278,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addResource(org.apache.maven.model.Resource)
      */
     public void addResource( Resource resource )
@@ -1288,7 +1288,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addTestResource(org.apache.maven.model.Resource)
      */
     public void addTestResource( Resource resource )
@@ -1298,7 +1298,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setReporting(org.apache.maven.model.Reporting)
      */
     public void setReporting( Reporting reporting )
@@ -1308,7 +1308,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getReporting()
      */
     public Reporting getReporting()
@@ -1318,7 +1318,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setLicenses(java.util.List)
      */
     public void setLicenses( List list )
@@ -1328,7 +1328,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getLicenses()
      */
     public List getLicenses()
@@ -1338,7 +1338,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addLicense(org.apache.maven.model.License)
      */
     public void addLicense( License license )
@@ -1348,7 +1348,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setArtifacts(java.util.Set)
      */
     public void setArtifacts( Set set )
@@ -1358,7 +1358,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getArtifacts()
      */
     public Set getArtifacts()
@@ -1375,7 +1375,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getArtifactMap()
      */
     public Map getArtifactMap()
@@ -1385,7 +1385,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setPluginArtifacts(java.util.Set)
      */
     public void setPluginArtifacts( Set set )
@@ -1395,7 +1395,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getPluginArtifacts()
      */
     public Set getPluginArtifacts()
@@ -1405,7 +1405,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getPluginArtifactMap()
      */
     public Map getPluginArtifactMap()
@@ -1415,7 +1415,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setReportArtifacts(java.util.Set)
      */
     public void setReportArtifacts( Set set )
@@ -1425,7 +1425,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getReportArtifacts()
      */
     public Set getReportArtifacts()
@@ -1435,7 +1435,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getReportArtifactMap()
      */
     public Map getReportArtifactMap()
@@ -1445,7 +1445,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setExtensionArtifacts(java.util.Set)
      */
     public void setExtensionArtifacts( Set set )
@@ -1455,7 +1455,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getExtensionArtifacts()
      */
     public Set getExtensionArtifacts()
@@ -1465,7 +1465,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getExtensionArtifactMap()
      */
     public Map getExtensionArtifactMap()
@@ -1475,7 +1475,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setParentArtifact(org.apache.maven.artifact.Artifact)
      */
     public void setParentArtifact( Artifact artifact )
@@ -1485,23 +1485,23 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getParentArtifact()
      */
     public Artifact getParentArtifact()
     {
         if (parent !=null)
         {
-            return parent.getArtifact();    
+            return parent.getArtifact();
         }
         else
             return null;
-        
+
     }
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getRepositories()
      */
     public List getRepositories()
@@ -1511,7 +1511,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getReportPlugins()
      */
     public List getReportPlugins()
@@ -1521,7 +1521,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getBuildPlugins()
      */
     public List getBuildPlugins()
@@ -1531,7 +1531,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getModules()
      */
     public List getModules()
@@ -1541,7 +1541,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getPluginManagement()
      */
     public PluginManagement getPluginManagement()
@@ -1551,7 +1551,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addPlugin(org.apache.maven.model.Plugin)
      */
     public void addPlugin( Plugin plugin )
@@ -1561,7 +1561,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#injectPluginManagementInfo(org.apache.maven.model.Plugin)
      */
     public void injectPluginManagementInfo( Plugin plugin )
@@ -1571,7 +1571,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getCollectedProjects()
      */
     public List getCollectedProjects()
@@ -1581,7 +1581,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setCollectedProjects(java.util.List)
      */
     public void setCollectedProjects( List list )
@@ -1591,7 +1591,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setPluginArtifactRepositories(java.util.List)
      */
     public void setPluginArtifactRepositories( List list )
@@ -1601,7 +1601,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getPluginArtifactRepositories()
      */
     public List getPluginArtifactRepositories()
@@ -1611,7 +1611,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getDistributionManagementArtifactRepository()
      */
     public ArtifactRepository getDistributionManagementArtifactRepository()
@@ -1621,7 +1621,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getPluginRepositories()
      */
     public List getPluginRepositories()
@@ -1631,7 +1631,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setActiveProfiles(java.util.List)
      */
     public void setActiveProfiles( List list )
@@ -1641,7 +1641,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getActiveProfiles()
      */
     public List getActiveProfiles()
@@ -1651,7 +1651,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addAttachedArtifact(org.apache.maven.artifact.Artifact)
      */
     public void addAttachedArtifact( Artifact theArtifact )
@@ -1668,7 +1668,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getAttachedArtifacts()
      */
     public List getAttachedArtifacts()
@@ -1678,7 +1678,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getGoalConfiguration(java.lang.String, java.lang.String,
      *      java.lang.String, java.lang.String)
      */
@@ -1689,7 +1689,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getReportConfiguration(java.lang.String, java.lang.String,
      *      java.lang.String)
      */
@@ -1700,7 +1700,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getExecutionProject()
      */
     public MavenProject getExecutionProject()
@@ -1710,7 +1710,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setExecutionProject(org.apache.maven.project.MavenProject)
      */
     public void setExecutionProject( MavenProject mavenProject )
@@ -1720,7 +1720,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#writeModel(java.io.Writer)
      */
     public void writeModel( Writer writer )
@@ -1731,7 +1731,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#writeOriginalModel(java.io.Writer)
      */
     public void writeOriginalModel( Writer writer )
@@ -1742,7 +1742,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getDependencyArtifacts()
      */
     public Set getDependencyArtifacts()
@@ -1752,7 +1752,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setDependencyArtifacts(java.util.Set)
      */
     public void setDependencyArtifacts( Set set )
@@ -1762,7 +1762,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setReleaseArtifactRepository(org.apache.maven.artifact.repository.ArtifactRepository)
      */
     public void setReleaseArtifactRepository( ArtifactRepository artifactRepository )
@@ -1772,7 +1772,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setSnapshotArtifactRepository(org.apache.maven.artifact.repository.ArtifactRepository)
      */
     public void setSnapshotArtifactRepository( ArtifactRepository artifactRepository )
@@ -1782,7 +1782,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setOriginalModel(org.apache.maven.model.Model)
      */
     public void setOriginalModel( Model model )
@@ -1792,7 +1792,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getOriginalModel()
      */
     public Model getOriginalModel()
@@ -1802,7 +1802,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getBuildExtensions()
      */
     public List getBuildExtensions()
@@ -1812,7 +1812,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#createArtifacts(org.apache.maven.artifact.factory.ArtifactFactory,
      *      java.lang.String, org.apache.maven.artifact.resolver.filter.ArtifactFilter)
      */
@@ -1824,7 +1824,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#addProjectReference(org.apache.maven.project.MavenProject)
      */
     public void addProjectReference( MavenProject mavenProject )
@@ -1834,7 +1834,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#attachArtifact(java.lang.String, java.lang.String, java.io.File)
      */
     public void attachArtifact( String string, String string1, File theFile )
@@ -1844,7 +1844,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getProperties()
      */
     public Properties getProperties()
@@ -1854,7 +1854,7 @@
 
     /**
      * Sets the property.
-     * 
+     *
      * @param key the key
      * @param value the value
      */
@@ -1865,7 +1865,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getFilters()
      */
     public List getFilters()
@@ -1875,7 +1875,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getProjectReferences()
      */
     public Map getProjectReferences()
@@ -1885,7 +1885,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#isExecutionRoot()
      */
     public boolean isExecutionRoot()
@@ -1895,7 +1895,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#setExecutionRoot(boolean)
      */
     public void setExecutionRoot( boolean b )
@@ -1905,7 +1905,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#getDefaultGoal()
      */
     public String getDefaultGoal()
@@ -1915,7 +1915,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.MavenProject#replaceWithActiveArtifact(org.apache.maven.artifact.Artifact)
      */
     public Artifact replaceWithActiveArtifact( Artifact theArtifact )

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockRuntimeInformation.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockRuntimeInformation.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockRuntimeInformation.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockRuntimeInformation.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,16 +18,14 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import org.apache.maven.artifact.versioning.ArtifactVersion;
 import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
 import org.apache.maven.execution.RuntimeInformation;
 
-// TODO: Auto-generated Javadoc
 /**
  * Just a mock object hard coded to return version 2.0.5
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class MockRuntimeInformation
@@ -34,7 +34,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.execution.RuntimeInformation#getApplicationVersion()
      */
     public ArtifactVersion getApplicationVersion()

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAbstractVersionEnforcer.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAbstractVersionEnforcer.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAbstractVersionEnforcer.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAbstractVersionEnforcer.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import junit.framework.TestCase;
 
@@ -31,7 +32,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class TestAbstractVersionEnforcer.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class TestAbstractVersionEnforcer
@@ -40,7 +41,7 @@
 
     /**
      * Test contains version.
-     * 
+     *
      * @throws InvalidVersionSpecificationException the invalid version specification exception
      */
     public void testContainsVersion()
@@ -83,12 +84,12 @@
         version = new DefaultArtifactVersion ("2.1.0-M1-RC12");
         assertTrue( AbstractVersionEnforcer.containsVersion( VersionRange.createFromVersionSpec( "[2.1.0-M1-RC12,)" ), version ) );
         assertFalse( AbstractVersionEnforcer.containsVersion( VersionRange.createFromVersionSpec( "[2.1.0-M1,)" ), version ) );
-        
+
     }
 
     /**
      * Enforce false.
-     * 
+     *
      * @param rule the rule
      * @param log the log
      * @param var the var

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAlwaysFail.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAlwaysFail.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAlwaysFail.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAlwaysFail.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import junit.framework.TestCase;
 

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAlwaysPass.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAlwaysPass.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAlwaysPass.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAlwaysPass.java Mon Aug 17 22:30:49 2009
@@ -1,5 +1,24 @@
 package org.apache.maven.plugins.enforcer;
 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 import junit.framework.TestCase;
 
 import org.apache.maven.enforcer.rule.api.EnforcerRuleException;

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestBannedDependencies.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestBannedDependencies.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestBannedDependencies.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestBannedDependencies.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.IOException;
 import java.util.ArrayList;
@@ -30,7 +31,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class TestBannedDependencies.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class TestBannedDependencies
@@ -39,7 +40,7 @@
 
     /**
      * Test rule.
-     * 
+     *
      * @throws IOException Signals that an I/O exception has occurred.
      */
     public void testRule()
@@ -130,7 +131,7 @@
 
     /**
      * Test includes.
-     * 
+     *
      * @throws IOException Signals that an I/O exception has occurred.
      */
     public void testIncludes()
@@ -170,7 +171,7 @@
 
     /**
      * Simpler wrapper to execute and deal with the expected result.
-     * 
+     *
      * @param rule the rule
      * @param helper the helper
      * @param shouldFail the should fail

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestEvaluateBeanshell.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestEvaluateBeanshell.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestEvaluateBeanshell.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestEvaluateBeanshell.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import junit.framework.TestCase;
 
@@ -28,7 +29,7 @@
 
 /**
  * The Class TestEvaluateBeanshell.
- * 
+ *
  * @author hugonnem
  */
 public class TestEvaluateBeanshell

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestMavenVersion.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestMavenVersion.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestMavenVersion.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestMavenVersion.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import junit.framework.TestCase;
 
@@ -27,7 +28,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class TestMavenVersion.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class TestMavenVersion
@@ -36,7 +37,7 @@
 
     /**
      * Test rule.
-     * 
+     *
      * @throws EnforcerRuleException the enforcer rule exception
      */
     public void testRule()

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestNoSnapshots.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestNoSnapshots.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestNoSnapshots.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestNoSnapshots.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.IOException;
 
@@ -28,7 +29,7 @@
 
 /**
  * The Class TestNoSnapshots.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class TestNoSnapshots
@@ -37,13 +38,13 @@
 
     /**
      * Test rule.
-     * 
+     *
      * @throws IOException Signals that an I/O exception has occurred.
      */
     public void testRule()
         throws IOException
     {
-        
+
         ArtifactStubFactory factory = new ArtifactStubFactory();
         MockProject project = new MockProject();
         EnforcerRuleHelper helper = EnforcerTestUtils.getHelper( project );
@@ -59,9 +60,9 @@
         TestEnforcerRuleUtils.execute( rule, helper, true );
 
         project.setArtifact( factory.getSnapshotArtifact() );
-        
+
         TestEnforcerRuleUtils.execute( rule, helper, true );
-    } 
+    }
 
     /**
      * Test id.

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireFilesSize.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireFilesSize.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireFilesSize.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireFilesSize.java Mon Aug 17 22:30:49 2009
@@ -23,20 +23,16 @@
 import java.io.File;
 import java.io.FileWriter;
 import java.io.IOException;
-import java.io.OutputStreamWriter;
 
 import org.apache.maven.artifact.Artifact;
-import org.apache.maven.artifact.DefaultArtifact;
-import org.apache.maven.artifact.factory.ArtifactFactory;
 import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
 import org.apache.maven.plugin.testing.ArtifactStubFactory;
-import org.codehaus.plexus.PlexusTestCase;
 
 import junit.framework.TestCase;
 
 /**
  * Test the "require files exist" rule.
- * 
+ *
  * @author <a href="brianf@apache.org">Brian Fox</a>
  */
 public class TestRequireFilesSize
@@ -99,14 +95,14 @@
         ArtifactStubFactory factory = new ArtifactStubFactory();
         Artifact a = factory.getReleaseArtifact();
         a.setFile( f );
-        
+
         project.setArtifact(a);
 
         // sanity check the mockProject
         assertSame( f, project.getArtifact().getFile() );
 
         rule.execute( EnforcerTestUtils.getHelper(project) );
-        
+
     }
 
     public void testFileDoesNotExist()

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireJavaVersion.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireJavaVersion.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireJavaVersion.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireJavaVersion.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import junit.framework.TestCase;
 
@@ -27,7 +28,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class TestRequireJavaVersion.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class TestRequireJavaVersion
@@ -61,7 +62,7 @@
 
     /**
      * Test rule.
-     * 
+     *
      * @throws EnforcerRuleException the enforcer rule exception
      */
     public void testRule()

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireOS.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireOS.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireOS.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireOS.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.util.Iterator;
 
@@ -30,7 +31,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * Exhaustively check the OS mojo.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class TestRequireOS

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequirePluginVersions.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequirePluginVersions.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequirePluginVersions.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequirePluginVersions.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.File;
 import java.io.IOException;
@@ -40,7 +41,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class TestRequirePluginVersions.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class TestRequirePluginVersions
@@ -79,9 +80,9 @@
         plugins.add( EnforcerTestUtils.newPlugin( "group", "f-artifact", "1.0-SNAPSHOT" ) );
         plugins.add( EnforcerTestUtils.newPlugin( "group", "g-artifact", "1.0-12345678.123456-1" ) );
 
-        
+
         plugins = PluginWrapper.addAll( plugins, "unit" );
-        
+
         RequirePluginVersions rule = new RequirePluginVersions();
         rule.setBanLatest( false );
         rule.setBanRelease( false );
@@ -144,7 +145,7 @@
         plugins.add( EnforcerTestUtils.newPlugin( "group", "f-artifact", "${   }" ) );
 
         plugins = PluginWrapper.addAll( plugins, "unit" );
-        
+
         RequirePluginVersions rule = new RequirePluginVersions();
         rule.setBanLatest( false );
         rule.setBanRelease( false );
@@ -191,7 +192,7 @@
 
     /**
      * Test get all plugins.
-     * 
+     *
      * @throws ArtifactResolutionException the artifact resolution exception
      * @throws ArtifactNotFoundException the artifact not found exception
      * @throws IOException Signals that an I/O exception has occurred.
@@ -222,7 +223,7 @@
 
     /**
      * Test get additional plugins null.
-     * 
+     *
      * @throws MojoExecutionException the mojo execution exception
      */
     public void testGetAdditionalPluginsNull()
@@ -270,7 +271,7 @@
 
     /**
      * Test get additional plugins empty set.
-     * 
+     *
      * @throws MojoExecutionException the mojo execution exception
      */
     public void testGetAdditionalPluginsEmptySet()
@@ -298,7 +299,7 @@
 
     /**
      * Test get additional plugins.
-     * 
+     *
      * @throws MojoExecutionException the mojo execution exception
      */
     public void testGetAdditionalPlugins()
@@ -327,7 +328,7 @@
 
     /**
      * Test remove Unchecked plugins.
-     * 
+     *
      * @throws MojoExecutionException the mojo execution exception
      */
     public void testGetUncheckedPlugins()
@@ -345,7 +346,7 @@
         unchecked.add( "group : a-artifact" );
 
         Collection results = rule.removeUncheckedPlugins( unchecked, plugins );
-        
+
 
         // make sure only one new plugin has been added
         assertNotNull( results );
@@ -355,7 +356,7 @@
         assertNotContainPlugin( "group", "a-artifact", results );
 
     }
-    
+
     /**
      * Test combining values from both lists
      */
@@ -368,7 +369,7 @@
         plugins.add( "group:foo" );
         plugins.add( "group:foo2" );
 
-        Collection results = rule.combineUncheckedPlugins( plugins, "group2:a,group3:b" ); 
+        Collection results = rule.combineUncheckedPlugins( plugins, "group2:a,group3:b" );
 
         // make sure only one new plugin has been added
         assertNotNull( results );
@@ -379,7 +380,7 @@
         assertTrue( results.contains( "group2:a") );
         assertTrue( results.contains( "group3:b") );
     }
-    
+
     /**
      * Test combining with an empty list
      */
@@ -388,8 +389,8 @@
         RequirePluginVersions rule = new RequirePluginVersions();
 
         Set plugins = new HashSet();
-        Collection results = rule.combineUncheckedPlugins( plugins, "group2:a,group3:b" ); 
-        
+        Collection results = rule.combineUncheckedPlugins( plugins, "group2:a,group3:b" );
+
 
         // make sure only one new plugin has been added
         assertNotNull( results );
@@ -405,8 +406,8 @@
     {
         RequirePluginVersions rule = new RequirePluginVersions();
 
-        Collection results = rule.combineUncheckedPlugins( null, "group2:a,group3:b" ); 
-        
+        Collection results = rule.combineUncheckedPlugins( null, "group2:a,group3:b" );
+
 
         // make sure only one new plugin has been added
         assertNotNull( results );
@@ -426,8 +427,8 @@
         plugins.add( "group:a-artifact" );
         plugins.add( "group:foo" );
         plugins.add( "group:foo2" );
-                     
-        Collection results = rule.combineUncheckedPlugins( plugins, "" ); 
+
+        Collection results = rule.combineUncheckedPlugins( plugins, "" );
         assertNotNull( results );
         assertEquals( 3, results.size() );
         assertTrue( results.contains( "group:foo") );
@@ -446,14 +447,14 @@
         plugins.add( "group:a-artifact" );
         plugins.add( "group:foo" );
         plugins.add( "group:foo2" );
-                     
-        Collection results = rule.combineUncheckedPlugins( plugins, null ); 
+
+        Collection results = rule.combineUncheckedPlugins( plugins, null );
         assertNotNull( results );
-        assertEquals( 3, results.size() );   
+        assertEquals( 3, results.size() );
         assertTrue( results.contains( "group:foo") );
         assertTrue( results.contains( "group:foo2") );
         assertTrue( results.contains( "group:a-artifact") );
-    } 
+    }
 
     /**
      * Test combining with an invalid plugin string
@@ -466,20 +467,20 @@
         plugins.add( "group:a-artifact" );
         plugins.add( "group:foo" );
         plugins.add( "group:foo2" );
-        
-        Collection results = rule.combineUncheckedPlugins( plugins, "a" ); 
+
+        Collection results = rule.combineUncheckedPlugins( plugins, "a" );
         assertNotNull( results );
-        assertEquals( 4, results.size() ); 
+        assertEquals( 4, results.size() );
         assertTrue( results.contains( "group:foo") );
         assertTrue( results.contains( "group:foo2") );
         //this should be here, the checking of a valid plugin string happens in another method.
         assertTrue( results.contains( "a") );
     }
 
-    
+
     /**
      * Assert contains plugin.
-     * 
+     *
      * @param group the group
      * @param artifact the artifact
      * @param theSet the the set
@@ -494,7 +495,7 @@
 
     /**
      * Assert doesn't contain plugin.
-     * 
+     *
      * @param group the group
      * @param artifact the artifact
      * @param theSet the the set
@@ -506,7 +507,7 @@
         p.setArtifactId( artifact );
         assertFalse( theSet.contains( p ) );
     }
-    
+
     /**
      * Test id.
      */

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireProperty.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireProperty.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireProperty.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireProperty.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import junit.framework.TestCase;
 
@@ -26,7 +27,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class TestRequireProperty.
- * 
+ *
  * @author Paul Gier
  */
 public class TestRequireProperty
@@ -35,7 +36,7 @@
 
     /**
      * Test rule.
-     * 
+     *
      * @throws EnforcerRuleException the enforcer rule exception
      */
     public void testRule()
@@ -74,7 +75,7 @@
 
     /**
      * Test rule with regex.
-     * 
+     *
      * @throws EnforcerRuleException the enforcer rule exception
      */
     public void testRuleWithRegex()

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireReleaseDeps.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireReleaseDeps.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireReleaseDeps.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireReleaseDeps.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.IOException;
 
@@ -29,7 +30,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class TestNoSnapshots.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class TestRequireReleaseDeps
@@ -38,13 +39,13 @@
 
     /**
      * Test rule.
-     * 
+     *
      * @throws IOException Signals that an I/O exception has occurred.
      */
     public void testRule()
         throws IOException
     {
-        
+
         ArtifactStubFactory factory = new ArtifactStubFactory();
         MockProject project = new MockProject();
         EnforcerRuleHelper helper = EnforcerTestUtils.getHelper( project );
@@ -60,34 +61,34 @@
         TestEnforcerRuleUtils.execute( rule, helper, true );
 
         // test onlyWhenRelease in each case
-        
+
         project.setArtifact( factory.getSnapshotArtifact() );
-        
+
         TestEnforcerRuleUtils.execute( rule, helper, true );
-        
+
         rule.onlyWhenRelease = true;
 
         TestEnforcerRuleUtils.execute( rule, helper, false );
 
         project.setArtifact( factory.getReleaseArtifact() );
-        
+
         TestEnforcerRuleUtils.execute( rule, helper, true );
-        
+
         MockProject parent = new MockProject();
         parent.setArtifact( factory.getSnapshotArtifact() );
         project.setParent( parent );
         project.setArtifacts( null );
         project.setDependencyArtifacts( null );
         helper = EnforcerTestUtils.getHelper(project);
-         
+
         rule.setFailWhenParentIsSnapshot( true );
         TestEnforcerRuleUtils.execute( rule, helper, true );
-        
+
         rule.setFailWhenParentIsSnapshot( false );
         TestEnforcerRuleUtils.execute( rule, helper, false );
-        
-        
-    } 
+
+
+    }
 
     /**
      * Test id.

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireReleaseVersion.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireReleaseVersion.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireReleaseVersion.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireReleaseVersion.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.IOException;
 
@@ -30,7 +31,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class TestRequireReleaseVersion.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class TestRequireReleaseVersion
@@ -39,7 +40,7 @@
 
     /**
      * Test mojo.
-     * 
+     *
      * @throws IOException Signals that an I/O exception has occurred.
      */
     public void testMojo()
@@ -58,17 +59,17 @@
         project.setArtifact( factory.getSnapshotArtifact() );
 
         TestEnforcerRuleUtils.execute( rule, helper, true );
-    
+
         project.setArtifact( factory.getReleaseArtifact() );
-        
+
         MockProject parent = new MockProject();
         parent.setArtifact( factory.getSnapshotArtifact() );
         project.setParent( parent );
         helper = EnforcerTestUtils.getHelper(project);
-         
+
         ( (RequireReleaseVersion) rule ).setFailWhenParentIsSnapshot( true );
         TestEnforcerRuleUtils.execute( rule, helper, true );
-        
+
         ( (RequireReleaseVersion) rule ).setFailWhenParentIsSnapshot( false );
         TestEnforcerRuleUtils.execute( rule, helper, false );
 

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/MockEnforcerExpressionEvaluator.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/MockEnforcerExpressionEvaluator.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/MockEnforcerExpressionEvaluator.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/MockEnforcerExpressionEvaluator.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer.utils;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer.utils;
 
 import org.apache.maven.execution.MavenSession;
 import org.apache.maven.plugins.enforcer.EnforcerExpressionEvaluator;
@@ -34,7 +35,7 @@
 
     /**
      * Instantiates a new mock enforcer expression evaluator.
-     * 
+     *
      * @param theContext the the context
      * @param thePathTranslator the the path translator
      * @param theProject the the project
@@ -48,7 +49,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.plugin.PluginParameterExpressionEvaluator#evaluate(java.lang.String)
      */
     public Object evaluate( String expr )

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/TestEnforcerRuleUtils.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/TestEnforcerRuleUtils.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/TestEnforcerRuleUtils.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/TestEnforcerRuleUtils.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer.utils;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer.utils;
 
 import java.io.File;
 import java.io.IOException;
@@ -38,7 +39,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class TestEnforcerRuleUtils.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class TestEnforcerRuleUtils
@@ -84,7 +85,7 @@
 
     /**
      * Test get models recursively bottom.
-     * 
+     *
      * @throws ArtifactResolutionException the artifact resolution exception
      * @throws ArtifactNotFoundException the artifact not found exception
      * @throws IOException Signals that an I/O exception has occurred.
@@ -122,7 +123,7 @@
 
     /**
      * Test get models recursively top.
-     * 
+     *
      * @throws ArtifactResolutionException the artifact resolution exception
      * @throws ArtifactNotFoundException the artifact not found exception
      * @throws IOException Signals that an I/O exception has occurred.
@@ -167,10 +168,10 @@
         parent.setGroupId( "org.apache.maven.plugins.enforcer.test" );
         parent.setArtifactId( "parent" );
         parent.setVersion( "1.0-SNAPSHOT" );
-        
+
         MockProject project = new MockProject();
         project.setParent( parent );
-        
+
         EnforcerRuleUtils utils = new EnforcerRuleUtils( EnforcerTestUtils.getHelper( project ) );
 
         List models =
@@ -236,7 +237,7 @@
 
     /**
      * Simpler wrapper to execute and deal with the expected result.
-     * 
+     *
      * @param rule the rule
      * @param helper the helper
      * @param shouldFail the should fail

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/TestMockEnforcerExpressionEvaluator.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/TestMockEnforcerExpressionEvaluator.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/TestMockEnforcerExpressionEvaluator.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/TestMockEnforcerExpressionEvaluator.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer.utils;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer.utils;
 
 import junit.framework.TestCase;
 
@@ -53,7 +54,7 @@
 
     /**
      * Assert match.
-     * 
+     *
      * @param ev the ev
      * @param exp the exp
      */