You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kr...@apache.org on 2012/08/01 16:31:46 UTC

svn commit: r1368021 - in /maven/surefire/trunk: maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/ maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/ maven-surefire-plugin/src/main/java/org/apache/maven/plugin/sur...

Author: krosenvold
Date: Wed Aug  1 14:31:45 2012
New Revision: 1368021

URL: http://svn.apache.org/viewvc?rev=1368021&view=rev
Log:
o Moved a bunch of setters/getters to the base class

Modified:
    maven/surefire/trunk/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
    maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
    maven/surefire/trunk/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java

Modified: maven/surefire/trunk/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java?rev=1368021&r1=1368020&r2=1368021&view=diff
==============================================================================
--- maven/surefire/trunk/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java (original)
+++ maven/surefire/trunk/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java Wed Aug  1 14:31:45 2012
@@ -471,95 +471,6 @@ public class IntegrationTestMojo
         return null;
     }
 
-    public List<String> getIncludes()
-    {
-        return includes;
-    }
-
-    public void setIncludes( List<String> includes )
-    {
-        this.includes = includes;
-    }
-
-    public List<String> getExcludes()
-    {
-        return excludes;
-    }
-
-    public void setExcludes( List<String> excludes )
-    {
-        this.excludes = excludes;
-    }
-
-    public ArtifactRepository getLocalRepository()
-    {
-        return localRepository;
-    }
-
-    public void setLocalRepository( ArtifactRepository localRepository )
-    {
-        this.localRepository = localRepository;
-    }
-
-    public Properties getSystemProperties()
-    {
-        return systemProperties;
-    }
-
-    public void setSystemProperties( Properties systemProperties )
-    {
-        this.systemProperties = systemProperties;
-    }
-
-    public Map<String, String> getSystemPropertyVariables()
-    {
-        return systemPropertyVariables;
-    }
-
-    public void setSystemPropertyVariables( Map<String, String> systemPropertyVariables )
-    {
-        this.systemPropertyVariables = systemPropertyVariables;
-    }
-
-    public File getSystemPropertiesFile()
-    {
-        return systemPropertiesFile;
-    }
-
-    public void setSystemPropertiesFile( File systemPropertiesFile )
-    {
-        this.systemPropertiesFile = systemPropertiesFile;
-    }
-
-    public Properties getProperties()
-    {
-        return properties;
-    }
-
-    public void setProperties( Properties properties )
-    {
-        this.properties = properties;
-    }
-
-    public Map<String, Artifact> getPluginArtifactMap()
-    {
-        return pluginArtifactMap;
-    }
-
-    public void setPluginArtifactMap( Map<String, Artifact> pluginArtifactMap )
-    {
-        this.pluginArtifactMap = pluginArtifactMap;
-    }
-
-    public Map getProjectArtifactMap()
-    {
-        return projectArtifactMap;
-    }
-
-    public void setProjectArtifactMap( Map projectArtifactMap )
-    {
-        this.projectArtifactMap = projectArtifactMap;
-    }
 
     public File getSummaryFile()
     {
@@ -591,16 +502,6 @@ public class IntegrationTestMojo
         this.reportFormat = reportFormat;
     }
 
-    public String getReportNameSuffix()
-    {
-        return reportNameSuffix;
-    }
-
-    public void setReportNameSuffix( String reportNameSuffix )
-    {
-        this.reportNameSuffix = reportNameSuffix;
-    }
-
     public boolean isUseFile()
     {
         return useFile;
@@ -611,56 +512,6 @@ public class IntegrationTestMojo
         this.useFile = useFile;
     }
 
-    public boolean isRedirectTestOutputToFile()
-    {
-        return redirectTestOutputToFile;
-    }
-
-    public void setRedirectTestOutputToFile( boolean redirectTestOutputToFile )
-    {
-        this.redirectTestOutputToFile = redirectTestOutputToFile;
-    }
-
-    public Boolean getFailIfNoTests()
-    {
-        return failIfNoTests;
-    }
-
-    public void setFailIfNoTests( Boolean failIfNoTests )
-    {
-        this.failIfNoTests = failIfNoTests;
-    }
-
-    public String getForkMode()
-    {
-        return forkMode;
-    }
-
-    public void setForkMode( String forkMode )
-    {
-        this.forkMode = forkMode;
-    }
-
-    public String getJvm()
-    {
-        return jvm;
-    }
-
-    public void setJvm( String jvm )
-    {
-        this.jvm = jvm;
-    }
-
-    public String getArgLine()
-    {
-        return argLine;
-    }
-
-    public void setArgLine( String argLine )
-    {
-        this.argLine = argLine;
-    }
-
     public String getDebugForkedProcess()
     {
         return debugForkedProcess;
@@ -681,176 +532,6 @@ public class IntegrationTestMojo
         this.forkedProcessTimeoutInSeconds = forkedProcessTimeoutInSeconds;
     }
 
-    public Map<String, String> getEnvironmentVariables()
-    {
-        return environmentVariables;
-    }
-
-    public void setEnvironmentVariables( Map<String, String> environmentVariables )
-    {
-        this.environmentVariables = environmentVariables;
-    }
-
-    public File getWorkingDirectory()
-    {
-        return workingDirectory;
-    }
-
-    public void setWorkingDirectory( File workingDirectory )
-    {
-        this.workingDirectory = workingDirectory;
-    }
-
-    public boolean isChildDelegation()
-    {
-        return childDelegation;
-    }
-
-    public void setChildDelegation( boolean childDelegation )
-    {
-        this.childDelegation = childDelegation;
-    }
-
-    public String getGroups()
-    {
-        return groups;
-    }
-
-    public void setGroups( String groups )
-    {
-        this.groups = groups;
-    }
-
-    public String getExcludedGroups()
-    {
-        return excludedGroups;
-    }
-
-    public void setExcludedGroups( String excludedGroups )
-    {
-        this.excludedGroups = excludedGroups;
-    }
-
-    public File[] getSuiteXmlFiles()
-    {
-        return suiteXmlFiles;
-    }
-
-    public void setSuiteXmlFiles( File[] suiteXmlFiles )
-    {
-        this.suiteXmlFiles = suiteXmlFiles;
-    }
-
-    public String getJunitArtifactName()
-    {
-        return junitArtifactName;
-    }
-
-    public void setJunitArtifactName( String junitArtifactName )
-    {
-        this.junitArtifactName = junitArtifactName;
-    }
-
-    public String getTestNGArtifactName()
-    {
-        return testNGArtifactName;
-    }
-
-    public void setTestNGArtifactName( String testNGArtifactName )
-    {
-        this.testNGArtifactName = testNGArtifactName;
-    }
-
-    public int getThreadCount()
-    {
-        return threadCount;
-    }
-
-    public void setThreadCount( int threadCount )
-    {
-        this.threadCount = threadCount;
-    }
-
-    public boolean getPerCoreThreadCount()
-    {
-        return perCoreThreadCount;
-    }
-
-    public void setPerCoreThreadCount( boolean perCoreThreadCount )
-    {
-        this.perCoreThreadCount = perCoreThreadCount;
-    }
-
-    public boolean getUseUnlimitedThreads()
-    {
-        return useUnlimitedThreads;
-    }
-
-    public void setUseUnlimitedThreads( boolean useUnlimitedThreads )
-    {
-        this.useUnlimitedThreads = useUnlimitedThreads;
-    }
-
-    public String getParallel()
-    {
-        return parallel;
-    }
-
-    public void setParallel( String parallel )
-    {
-        this.parallel = parallel;
-    }
-
-    public boolean isTrimStackTrace()
-    {
-        return trimStackTrace;
-    }
-
-    public void setTrimStackTrace( boolean trimStackTrace )
-    {
-        this.trimStackTrace = trimStackTrace;
-    }
-
-    public ArtifactResolver getArtifactResolver()
-    {
-        return artifactResolver;
-    }
-
-    public void setArtifactResolver( ArtifactResolver artifactResolver )
-    {
-        this.artifactResolver = artifactResolver;
-    }
-
-    public ArtifactFactory getArtifactFactory()
-    {
-        return artifactFactory;
-    }
-
-    public void setArtifactFactory( ArtifactFactory artifactFactory )
-    {
-        this.artifactFactory = artifactFactory;
-    }
-
-    public List getRemoteRepositories()
-    {
-        return remoteRepositories;
-    }
-
-    public void setRemoteRepositories( List remoteRepositories )
-    {
-        this.remoteRepositories = remoteRepositories;
-    }
-
-    public ArtifactMetadataSource getMetadataSource()
-    {
-        return metadataSource;
-    }
-
-    public void setMetadataSource( ArtifactMetadataSource metadataSource )
-    {
-        this.metadataSource = metadataSource;
-    }
-
     public Properties getOriginalSystemProperties()
     {
         return originalSystemProperties;
@@ -871,16 +552,6 @@ public class IntegrationTestMojo
         this.internalSystemProperties = internalSystemProperties;
     }
 
-    public boolean isDisableXmlReport()
-    {
-        return disableXmlReport;
-    }
-
-    public void setDisableXmlReport( boolean disableXmlReport )
-    {
-        this.disableXmlReport = disableXmlReport;
-    }
-
     public boolean isUseSystemClassLoader()
     {
         return useSystemClassLoader;
@@ -901,46 +572,6 @@ public class IntegrationTestMojo
         this.useManifestOnlyJar = useManifestOnlyJar;
     }
 
-    public boolean isEnableAssertions()
-    {
-        return enableAssertions;
-    }
-
-    public void setEnableAssertions( boolean enableAssertions )
-    {
-        this.enableAssertions = enableAssertions;
-    }
-
-    public MavenSession getSession()
-    {
-        return session;
-    }
-
-    public void setSession( MavenSession session )
-    {
-        this.session = session;
-    }
-
-    public String getObjectFactory()
-    {
-        return objectFactory;
-    }
-
-    public void setObjectFactory( String objectFactory )
-    {
-        this.objectFactory = objectFactory;
-    }
-
-    public ToolchainManager getToolchainManager()
-    {
-        return toolchainManager;
-    }
-
-    public void setToolchainManager( ToolchainManager toolchainManager )
-    {
-        this.toolchainManager = toolchainManager;
-    }
-
     // the following will be refactored out once the common code is all in one place
 
     public boolean isTestFailureIgnore()
@@ -953,21 +584,6 @@ public class IntegrationTestMojo
         // ignore
     }
 
-    public boolean isMavenParallel()
-    {
-        return parallelMavenExecution != null && parallelMavenExecution;
-    }
-
-    public String getRunOrder()
-    {
-        return runOrder;
-    }
-
-    public void setRunOrder( String runOrder )
-    {
-        this.runOrder = runOrder;
-    }
-
     protected void addPluginSpecificChecksumItems( ChecksumCalculator checksum )
     {
         checksum.add( skipITs );
@@ -983,10 +599,4 @@ public class IntegrationTestMojo
     {
         this.failIfNoSpecifiedTests = failIfNoSpecifiedTests;
     }
-
-    public PluginDescriptor getPluginDescriptor()
-    {
-        return pluginDescriptor;
-    }
-
 }

Modified: maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java?rev=1368021&r1=1368020&r2=1368021&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java (original)
+++ maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java Wed Aug  1 14:31:45 2012
@@ -1338,7 +1338,9 @@ public abstract class AbstractSurefireMo
 
     }
 
-    protected abstract void addPluginSpecificChecksumItems( ChecksumCalculator checksum );
+    protected void addPluginSpecificChecksumItems( ChecksumCalculator checksum ){
+
+    }
 
     protected boolean hasExecutedBefore()
     {
@@ -1881,4 +1883,407 @@ public abstract class AbstractSurefireMo
 
     }
 
+
+    public List<String> getIncludes()
+    {
+        return includes;
+    }
+
+    public void setIncludes( List<String> includes )
+    {
+        this.includes = includes;
+    }
+
+    public List<String> getExcludes()
+    {
+        return excludes;
+    }
+
+    public void setExcludes( List<String> excludes )
+    {
+        this.excludes = excludes;
+    }
+
+    public ArtifactRepository getLocalRepository()
+    {
+        return localRepository;
+    }
+
+    public void setLocalRepository( ArtifactRepository localRepository )
+    {
+        this.localRepository = localRepository;
+    }
+
+    /**
+     * @noinspection deprecation
+     */
+    public Properties getSystemProperties()
+    {
+        return systemProperties;
+    }
+
+    /**
+     * @noinspection deprecation
+     */
+    public void setSystemProperties( Properties systemProperties )
+    {
+        this.systemProperties = systemProperties;
+    }
+
+    public Map<String, String> getSystemPropertyVariables()
+    {
+        return systemPropertyVariables;
+    }
+
+    public void setSystemPropertyVariables( Map<String, String> systemPropertyVariables )
+    {
+        this.systemPropertyVariables = systemPropertyVariables;
+    }
+
+    public File getSystemPropertiesFile()
+    {
+        return systemPropertiesFile;
+    }
+
+    public void setSystemPropertiesFile( File systemPropertiesFile )
+    {
+        this.systemPropertiesFile = systemPropertiesFile;
+    }
+
+    public Properties getProperties()
+    {
+        return properties;
+    }
+
+    public void setProperties( Properties properties )
+    {
+        this.properties = properties;
+    }
+
+    public Map<String, Artifact> getPluginArtifactMap()
+    {
+        return pluginArtifactMap;
+    }
+
+    public void setPluginArtifactMap( Map<String, Artifact> pluginArtifactMap )
+    {
+        this.pluginArtifactMap = pluginArtifactMap;
+    }
+
+    public Map<String, Artifact> getProjectArtifactMap()
+    {
+        return projectArtifactMap;
+    }
+
+    public void setProjectArtifactMap( Map<String, Artifact> projectArtifactMap )
+    {
+        this.projectArtifactMap = projectArtifactMap;
+    }
+
+
+    public String getReportNameSuffix()
+    {
+        return reportNameSuffix;
+    }
+
+    public void setReportNameSuffix( String reportNameSuffix )
+    {
+        this.reportNameSuffix = reportNameSuffix;
+    }
+
+
+    public boolean isRedirectTestOutputToFile()
+    {
+        return redirectTestOutputToFile;
+    }
+
+    public void setRedirectTestOutputToFile( boolean redirectTestOutputToFile )
+    {
+        this.redirectTestOutputToFile = redirectTestOutputToFile;
+    }
+
+
+    public Boolean getFailIfNoTests()
+    {
+        return failIfNoTests;
+    }
+
+    public void setFailIfNoTests( Boolean failIfNoTests )
+    {
+        this.failIfNoTests = failIfNoTests;
+    }
+
+    public String getForkMode()
+    {
+        return forkMode;
+    }
+
+    public void setForkMode( String forkMode )
+    {
+        this.forkMode = forkMode;
+    }
+
+    public String getJvm()
+    {
+        return jvm;
+    }
+
+    public void setJvm( String jvm )
+    {
+        this.jvm = jvm;
+    }
+
+    public String getArgLine()
+    {
+        return argLine;
+    }
+
+    public void setArgLine( String argLine )
+    {
+        this.argLine = argLine;
+    }
+
+
+    public Map<String, String> getEnvironmentVariables()
+    {
+        return environmentVariables;
+    }
+
+    public void setEnvironmentVariables( Map<String, String> environmentVariables )
+    {
+        this.environmentVariables = environmentVariables;
+    }
+
+    public File getWorkingDirectory()
+    {
+        return workingDirectory;
+    }
+
+    public void setWorkingDirectory( File workingDirectory )
+    {
+        this.workingDirectory = workingDirectory;
+    }
+
+    public boolean isChildDelegation()
+    {
+        return childDelegation;
+    }
+
+    public void setChildDelegation( boolean childDelegation )
+    {
+        this.childDelegation = childDelegation;
+    }
+
+    public String getGroups()
+    {
+        return groups;
+    }
+
+    public void setGroups( String groups )
+    {
+        this.groups = groups;
+    }
+
+    public String getExcludedGroups()
+    {
+        return excludedGroups;
+    }
+
+    public void setExcludedGroups( String excludedGroups )
+    {
+        this.excludedGroups = excludedGroups;
+    }
+
+    public File[] getSuiteXmlFiles()
+    {
+        return suiteXmlFiles;
+    }
+
+    public void setSuiteXmlFiles( File[] suiteXmlFiles )
+    {
+        this.suiteXmlFiles = suiteXmlFiles;
+    }
+
+    public String getJunitArtifactName()
+    {
+        return junitArtifactName;
+    }
+
+    public void setJunitArtifactName( String junitArtifactName )
+    {
+        this.junitArtifactName = junitArtifactName;
+    }
+
+    public String getTestNGArtifactName()
+    {
+        return testNGArtifactName;
+    }
+
+    public void setTestNGArtifactName( String testNGArtifactName )
+    {
+        this.testNGArtifactName = testNGArtifactName;
+    }
+
+    public int getThreadCount()
+    {
+        return threadCount;
+    }
+
+    public void setThreadCount( int threadCount )
+    {
+        this.threadCount = threadCount;
+    }
+
+    public boolean getPerCoreThreadCount()
+    {
+        return perCoreThreadCount;
+    }
+
+    public void setPerCoreThreadCount( boolean perCoreThreadCount )
+    {
+        this.perCoreThreadCount = perCoreThreadCount;
+    }
+
+    public boolean getUseUnlimitedThreads()
+    {
+        return useUnlimitedThreads;
+    }
+
+    public void setUseUnlimitedThreads( boolean useUnlimitedThreads )
+    {
+        this.useUnlimitedThreads = useUnlimitedThreads;
+    }
+
+    public String getParallel()
+    {
+        return parallel;
+    }
+
+    public void setParallel( String parallel )
+    {
+        this.parallel = parallel;
+    }
+
+    public boolean isTrimStackTrace()
+    {
+        return trimStackTrace;
+    }
+
+    public void setTrimStackTrace( boolean trimStackTrace )
+    {
+        this.trimStackTrace = trimStackTrace;
+    }
+
+    public ArtifactResolver getArtifactResolver()
+    {
+        return artifactResolver;
+    }
+
+    public void setArtifactResolver( ArtifactResolver artifactResolver )
+    {
+        this.artifactResolver = artifactResolver;
+    }
+
+    public ArtifactFactory getArtifactFactory()
+    {
+        return artifactFactory;
+    }
+
+    public void setArtifactFactory( ArtifactFactory artifactFactory )
+    {
+        this.artifactFactory = artifactFactory;
+    }
+
+    public List<ArtifactRepository> getRemoteRepositories()
+    {
+        return remoteRepositories;
+    }
+
+    public void setRemoteRepositories( List<ArtifactRepository> remoteRepositories )
+    {
+        this.remoteRepositories = remoteRepositories;
+    }
+
+    public ArtifactMetadataSource getMetadataSource()
+    {
+        return metadataSource;
+    }
+
+    public void setMetadataSource( ArtifactMetadataSource metadataSource )
+    {
+        this.metadataSource = metadataSource;
+    }
+
+
+    public boolean isDisableXmlReport()
+    {
+        return disableXmlReport;
+    }
+
+    public void setDisableXmlReport( boolean disableXmlReport )
+    {
+        this.disableXmlReport = disableXmlReport;
+    }
+
+
+    public boolean isEnableAssertions()
+    {
+        return enableAssertions;
+    }
+
+    public void setEnableAssertions( boolean enableAssertions )
+    {
+        this.enableAssertions = enableAssertions;
+    }
+
+    public MavenSession getSession()
+    {
+        return session;
+    }
+
+    public void setSession( MavenSession session )
+    {
+        this.session = session;
+    }
+
+    public String getObjectFactory()
+    {
+        return objectFactory;
+    }
+
+    public void setObjectFactory( String objectFactory )
+    {
+        this.objectFactory = objectFactory;
+    }
+
+    public ToolchainManager getToolchainManager()
+    {
+        return toolchainManager;
+    }
+
+    public void setToolchainManager( ToolchainManager toolchainManager )
+    {
+        this.toolchainManager = toolchainManager;
+    }
+
+    public boolean isMavenParallel()
+    {
+        return parallelMavenExecution != null && parallelMavenExecution;
+    }
+
+    public String getRunOrder()
+    {
+        return runOrder;
+    }
+
+    public void setRunOrder( String runOrder )
+    {
+        this.runOrder = runOrder;
+    }
+
+    public PluginDescriptor getPluginDescriptor()
+    {
+        return pluginDescriptor;
+    }
+
 }

Modified: maven/surefire/trunk/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java?rev=1368021&r1=1368020&r2=1368021&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java (original)
+++ maven/surefire/trunk/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java Wed Aug  1 14:31:45 2012
@@ -407,105 +407,52 @@ public class SurefirePlugin
         return null;
     }
 
-    public void setTest( String test )
-    {
-        this.test = test;
-    }
-
-    public List<String> getIncludes()
-    {
-        return includes;
-    }
-
-    public void setIncludes( List<String> includes )
-    {
-        this.includes = includes;
-    }
-
-    public List<String> getExcludes()
-    {
-        return excludes;
-    }
-
-    public void setExcludes( List<String> excludes )
-    {
-        this.excludes = excludes;
-    }
-
-    public ArtifactRepository getLocalRepository()
-    {
-        return localRepository;
-    }
-
-    public void setLocalRepository( ArtifactRepository localRepository )
-    {
-        this.localRepository = localRepository;
-    }
-
-    /**
-     * @noinspection deprecation
-     */
-    public Properties getSystemProperties()
-    {
-        return systemProperties;
-    }
-
-    /**
-     * @noinspection deprecation
-     */
-    public void setSystemProperties( Properties systemProperties )
-    {
-        this.systemProperties = systemProperties;
-    }
-
-    public Map<String, String> getSystemPropertyVariables()
+    public Properties getOriginalSystemProperties()
     {
-        return systemPropertyVariables;
+        return originalSystemProperties;
     }
 
-    public void setSystemPropertyVariables( Map<String, String> systemPropertyVariables )
+    public void setOriginalSystemProperties( Properties originalSystemProperties )
     {
-        this.systemPropertyVariables = systemPropertyVariables;
+        this.originalSystemProperties = originalSystemProperties;
     }
 
-    public File getSystemPropertiesFile()
+    public Properties getInternalSystemProperties()
     {
-        return systemPropertiesFile;
+        return internalSystemProperties;
     }
 
-    public void setSystemPropertiesFile( File systemPropertiesFile )
+    public void setInternalSystemProperties( Properties internalSystemProperties )
     {
-        this.systemPropertiesFile = systemPropertiesFile;
+        this.internalSystemProperties = internalSystemProperties;
     }
-
-    public Properties getProperties()
+    public boolean isUseSystemClassLoader()
     {
-        return properties;
+        return useSystemClassLoader;
     }
 
-    public void setProperties( Properties properties )
+    public void setUseSystemClassLoader( boolean useSystemClassLoader )
     {
-        this.properties = properties;
+        this.useSystemClassLoader = useSystemClassLoader;
     }
 
-    public Map<String, Artifact> getPluginArtifactMap()
+    public boolean isUseManifestOnlyJar()
     {
-        return pluginArtifactMap;
+        return useManifestOnlyJar;
     }
 
-    public void setPluginArtifactMap( Map<String, Artifact> pluginArtifactMap )
+    public void setUseManifestOnlyJar( boolean useManifestOnlyJar )
     {
-        this.pluginArtifactMap = pluginArtifactMap;
+        this.useManifestOnlyJar = useManifestOnlyJar;
     }
-
-    public Map<String, Artifact> getProjectArtifactMap()
+    public Boolean getFailIfNoSpecifiedTests()
     {
-        return projectArtifactMap;
+        return failIfNoSpecifiedTests;
     }
 
-    public void setProjectArtifactMap( Map<String, Artifact> projectArtifactMap )
+    public void setFailIfNoSpecifiedTests( Boolean failIfNoSpecifiedTests )
     {
-        this.projectArtifactMap = projectArtifactMap;
+        this.failIfNoSpecifiedTests = failIfNoSpecifiedTests;
     }
 
     public boolean isPrintSummary()
@@ -528,16 +475,6 @@ public class SurefirePlugin
         this.reportFormat = reportFormat;
     }
 
-    public String getReportNameSuffix()
-    {
-        return reportNameSuffix;
-    }
-
-    public void setReportNameSuffix( String reportNameSuffix )
-    {
-        this.reportNameSuffix = reportNameSuffix;
-    }
-
     public boolean isUseFile()
     {
         return useFile;
@@ -548,66 +485,6 @@ public class SurefirePlugin
         this.useFile = useFile;
     }
 
-    public boolean isRedirectTestOutputToFile()
-    {
-        return redirectTestOutputToFile;
-    }
-
-    public void setRedirectTestOutputToFile( boolean redirectTestOutputToFile )
-    {
-        this.redirectTestOutputToFile = redirectTestOutputToFile;
-    }
-
-    public Boolean getFailIfNoSpecifiedTests()
-    {
-        return failIfNoSpecifiedTests;
-    }
-
-    public void setFailIfNoSpecifiedTests( Boolean failIfNoSpecifiedTests )
-    {
-        this.failIfNoSpecifiedTests = failIfNoSpecifiedTests;
-    }
-
-    public Boolean getFailIfNoTests()
-    {
-        return failIfNoTests;
-    }
-
-    public void setFailIfNoTests( Boolean failIfNoTests )
-    {
-        this.failIfNoTests = failIfNoTests;
-    }
-
-    public String getForkMode()
-    {
-        return forkMode;
-    }
-
-    public void setForkMode( String forkMode )
-    {
-        this.forkMode = forkMode;
-    }
-
-    public String getJvm()
-    {
-        return jvm;
-    }
-
-    public void setJvm( String jvm )
-    {
-        this.jvm = jvm;
-    }
-
-    public String getArgLine()
-    {
-        return argLine;
-    }
-
-    public void setArgLine( String argLine )
-    {
-        this.argLine = argLine;
-    }
-
     public String getDebugForkedProcess()
     {
         return debugForkedProcess;
@@ -628,288 +505,10 @@ public class SurefirePlugin
         this.forkedProcessTimeoutInSeconds = forkedProcessTimeoutInSeconds;
     }
 
-    public Map<String, String> getEnvironmentVariables()
-    {
-        return environmentVariables;
-    }
-
-    public void setEnvironmentVariables( Map<String, String> environmentVariables )
-    {
-        this.environmentVariables = environmentVariables;
-    }
-
-    public File getWorkingDirectory()
-    {
-        return workingDirectory;
-    }
-
-    public void setWorkingDirectory( File workingDirectory )
-    {
-        this.workingDirectory = workingDirectory;
-    }
-
-    public boolean isChildDelegation()
-    {
-        return childDelegation;
-    }
-
-    public void setChildDelegation( boolean childDelegation )
-    {
-        this.childDelegation = childDelegation;
-    }
-
-    public String getGroups()
-    {
-        return groups;
-    }
-
-    public void setGroups( String groups )
-    {
-        this.groups = groups;
-    }
-
-    public String getExcludedGroups()
-    {
-        return excludedGroups;
-    }
-
-    public void setExcludedGroups( String excludedGroups )
-    {
-        this.excludedGroups = excludedGroups;
-    }
-
-    public File[] getSuiteXmlFiles()
-    {
-        return suiteXmlFiles;
-    }
-
-    public void setSuiteXmlFiles( File[] suiteXmlFiles )
-    {
-        this.suiteXmlFiles = suiteXmlFiles;
-    }
-
-    public String getJunitArtifactName()
-    {
-        return junitArtifactName;
-    }
-
-    public void setJunitArtifactName( String junitArtifactName )
-    {
-        this.junitArtifactName = junitArtifactName;
-    }
-
-    public String getTestNGArtifactName()
-    {
-        return testNGArtifactName;
-    }
-
-    public void setTestNGArtifactName( String testNGArtifactName )
-    {
-        this.testNGArtifactName = testNGArtifactName;
-    }
-
-    public int getThreadCount()
-    {
-        return threadCount;
-    }
-
-    public void setThreadCount( int threadCount )
-    {
-        this.threadCount = threadCount;
-    }
-
-    public boolean getPerCoreThreadCount()
-    {
-        return perCoreThreadCount;
-    }
-
-    public void setPerCoreThreadCount( boolean perCoreThreadCount )
-    {
-        this.perCoreThreadCount = perCoreThreadCount;
-    }
-
-    public boolean getUseUnlimitedThreads()
-    {
-        return useUnlimitedThreads;
-    }
-
-    public void setUseUnlimitedThreads( boolean useUnlimitedThreads )
-    {
-        this.useUnlimitedThreads = useUnlimitedThreads;
-    }
-
-    public String getParallel()
-    {
-        return parallel;
-    }
-
-    public void setParallel( String parallel )
-    {
-        this.parallel = parallel;
-    }
-
-    public boolean isTrimStackTrace()
-    {
-        return trimStackTrace;
-    }
-
-    public void setTrimStackTrace( boolean trimStackTrace )
-    {
-        this.trimStackTrace = trimStackTrace;
-    }
-
-    public ArtifactResolver getArtifactResolver()
-    {
-        return artifactResolver;
-    }
-
-    public void setArtifactResolver( ArtifactResolver artifactResolver )
-    {
-        this.artifactResolver = artifactResolver;
-    }
-
-    public ArtifactFactory getArtifactFactory()
-    {
-        return artifactFactory;
-    }
-
-    public void setArtifactFactory( ArtifactFactory artifactFactory )
-    {
-        this.artifactFactory = artifactFactory;
-    }
-
-    public List<ArtifactRepository> getRemoteRepositories()
-    {
-        return remoteRepositories;
-    }
-
-    public void setRemoteRepositories( List<ArtifactRepository> remoteRepositories )
-    {
-        this.remoteRepositories = remoteRepositories;
-    }
-
-    public ArtifactMetadataSource getMetadataSource()
-    {
-        return metadataSource;
-    }
-
-    public void setMetadataSource( ArtifactMetadataSource metadataSource )
-    {
-        this.metadataSource = metadataSource;
-    }
-
-    public Properties getOriginalSystemProperties()
-    {
-        return originalSystemProperties;
-    }
-
-    public void setOriginalSystemProperties( Properties originalSystemProperties )
-    {
-        this.originalSystemProperties = originalSystemProperties;
-    }
-
-    public Properties getInternalSystemProperties()
-    {
-        return internalSystemProperties;
-    }
-
-    public void setInternalSystemProperties( Properties internalSystemProperties )
-    {
-        this.internalSystemProperties = internalSystemProperties;
-    }
-
-    public boolean isDisableXmlReport()
-    {
-        return disableXmlReport;
-    }
-
-    public void setDisableXmlReport( boolean disableXmlReport )
-    {
-        this.disableXmlReport = disableXmlReport;
-    }
-
-    public boolean isUseSystemClassLoader()
-    {
-        return useSystemClassLoader;
-    }
-
-    public void setUseSystemClassLoader( boolean useSystemClassLoader )
-    {
-        this.useSystemClassLoader = useSystemClassLoader;
-    }
-
-    public boolean isUseManifestOnlyJar()
-    {
-        return useManifestOnlyJar;
-    }
-
-    public void setUseManifestOnlyJar( boolean useManifestOnlyJar )
-    {
-        this.useManifestOnlyJar = useManifestOnlyJar;
-    }
-
-    public boolean isEnableAssertions()
-    {
-        return enableAssertions;
-    }
-
-    public void setEnableAssertions( boolean enableAssertions )
-    {
-        this.enableAssertions = enableAssertions;
-    }
-
-    public MavenSession getSession()
-    {
-        return session;
-    }
-
-    public void setSession( MavenSession session )
-    {
-        this.session = session;
-    }
-
-    public String getObjectFactory()
-    {
-        return objectFactory;
-    }
-
-    public void setObjectFactory( String objectFactory )
-    {
-        this.objectFactory = objectFactory;
-    }
-
-    public ToolchainManager getToolchainManager()
-    {
-        return toolchainManager;
-    }
-
-    public void setToolchainManager( ToolchainManager toolchainManager )
-    {
-        this.toolchainManager = toolchainManager;
-    }
-
-    public boolean isMavenParallel()
-    {
-        return parallelMavenExecution != null && parallelMavenExecution;
-    }
-
-    public String getRunOrder()
-    {
-        return runOrder;
-    }
-
-    public void setRunOrder( String runOrder )
-    {
-        this.runOrder = runOrder;
-    }
-
-    protected void addPluginSpecificChecksumItems( ChecksumCalculator checksum )
+    public void setTest( String test )
     {
+        this.test = test;
     }
 
-    public PluginDescriptor getPluginDescriptor()
-    {
-        return pluginDescriptor;
-    }
 
 }