Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Applid patch for FLEXMOJOS-415

  • Loading branch information...
commit 2f8f2d30ac9be3dfd6d7119c6c36c8fc8b262160 1 parent 54e91dd
@velo velo authored
View
4 flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/plugin/AbstractMavenMojo.java
@@ -8,7 +8,9 @@
import static org.sonatype.flexmojos.matcher.artifact.ArtifactMatcher.classifier;
import static org.sonatype.flexmojos.matcher.artifact.ArtifactMatcher.groupId;
import static org.sonatype.flexmojos.matcher.artifact.ArtifactMatcher.type;
-import static org.sonatype.flexmojos.plugin.common.FlexExtension.*;
+import static org.sonatype.flexmojos.plugin.common.FlexExtension.AS;
+import static org.sonatype.flexmojos.plugin.common.FlexExtension.MXML;
+import static org.sonatype.flexmojos.plugin.common.FlexExtension.SWC;
import static org.sonatype.flexmojos.util.PathUtil.path;
import java.io.File;
View
7 flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/plugin/test/TestCompilerMojo.java
@@ -199,12 +199,6 @@
*/
private File testRunnerTemplate;
- /**
- * @parameter expression="${project.build.testSourceDirectory}"
- * @readonly
- */
- private File testSourceDirectory;
-
public Result buildTest( String testFilename, List<? extends String> testClasses, Integer testControlPort,
Integer testPort )
throws MojoExecutionException, MojoFailureException
@@ -641,6 +635,7 @@ else if ( !testRunnerTemplate.exists() )
List<String> testClasses = filterClasses( asList( fs ), files( testCompileSourceRoots ) );
getLog().debug( "Test classes: " + testClasses );
+
return testClasses;
}
Please sign in to comment.
Something went wrong with that request. Please try again.