Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing up tests to run in IDEA

I don't know if this had anything to do with it or not, or if it was
just me setting up IDEA correctly, but I can now run the tests for the
various test suites.

I think besides setting up IDEA correctly was getting the unpacking done
at a phase I can tell IDEA to execute. I sincerely hope eclipse and m2e
can be setup similarly.
  • Loading branch information...
commit 83abd16f79c1fcb543b9034af38462fff1d65d84 1 parent c082b27
Jason Porter LightGuard authored
Showing with 11 additions and 12 deletions.
  1. +11 −12 testsuite/internals/jbossas/pom.xml
23 testsuite/internals/jbossas/pom.xml
View
@@ -55,6 +55,10 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.jboss.seam.catch</groupId>
+ <artifactId>seam-catch-testsuite-integration-internals-base</artifactId>
+ </dependency>
</dependencies>
<build>
@@ -72,20 +76,15 @@
<executions>
<execution>
<id>unpack-base-tests</id>
- <phase>process-test-classes</phase>
+ <phase>generate-test-sources</phase>
<goals>
- <goal>unpack</goal>
+ <goal>unpack-dependencies</goal>
</goals>
<configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.jboss.seam.catch</groupId>
- <artifactId>seam-catch-testsuite-integration-internals-base</artifactId>
- <version>${project.version}</version>
- <type>jar</type>
- <outputDirectory>${project.build.directory}/test-classes/</outputDirectory>
- </artifactItem>
- </artifactItems>
+ <includeArtifactIds>
+ seam-catch-testsuite-integration-internals-base
+ </includeArtifactIds>
+ <outputDirectory>${project.build.directory}/test-classes/</outputDirectory>
</configuration>
</execution>
</executions>
@@ -120,7 +119,7 @@
<executions>
<execution>
<id>unpack-as7</id>
- <phase>process-test-classes</phase>
+ <phase>generate-test-sources</phase>
<!-- So run before testing -->
<goals>
<goal>unpack</goal>
Please sign in to comment.
Something went wrong with that request. Please try again.