Packages link private/testdata, so that mvn test -Dsting.serialunittests.skipped=false works.

This commit is contained in:
Khalid Shakir 2014-02-06 14:31:30 +08:00
parent 3848159086
commit b21c35482e
2 changed files with 46 additions and 0 deletions

View File

@ -234,6 +234,25 @@
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<!-- TODO: All tests require access to private. For now. -->
<plugin>
<groupId>com.pyx4j</groupId>
<artifactId>maven-junction-plugin</artifactId>
<executions>
<execution>
<id>link-private-testdata</id>
<phase>process-test-resources</phase>
</execution>
<execution>
<id>unlink-private-testdata</id>
<phase>clean</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>packagetests-enabled</id>

View File

@ -248,6 +248,33 @@
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<!-- TODO: All tests require access to private. For now. -->
<plugin>
<groupId>com.pyx4j</groupId>
<artifactId>maven-junction-plugin</artifactId>
<executions>
<execution>
<id>link-private-testdata</id>
<phase>process-test-resources</phase>
</execution>
<execution>
<id>unlink-private-testdata</id>
<phase>clean</phase>
</execution>
<execution>
<id>link-private-qscript</id>
<phase>process-test-resources</phase>
</execution>
<execution>
<id>unlink-private-qscript</id>
<phase>clean</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>packagetests-enabled</id>