Copy resources into test jar. Also minor layout tidyups.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427417 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
35
pom.xml
35
pom.xml
@@ -144,18 +144,29 @@
|
|||||||
<sourceDirectory>src/java</sourceDirectory>
|
<sourceDirectory>src/java</sourceDirectory>
|
||||||
<testSourceDirectory>src/test</testSourceDirectory>
|
<testSourceDirectory>src/test</testSourceDirectory>
|
||||||
|
|
||||||
|
<testResources>
|
||||||
|
<testResource>
|
||||||
|
<directory>src/test</directory>
|
||||||
|
<filtering>false</filtering>
|
||||||
|
<includes>
|
||||||
|
<include>**/*.properties</include>
|
||||||
|
</includes>
|
||||||
|
</testResource>
|
||||||
|
</testResources>
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<!--
|
|
||||||
- The custom test framework requires the unit test code to be
|
<!--
|
||||||
- in a jarfile so it can control its place in the classpath.
|
- The custom test framework requires the unit test code to be
|
||||||
-->
|
- in a jarfile so it can control its place in the classpath.
|
||||||
|
-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>testjar</id>
|
<id>testjar</id>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>test-jar</goal>
|
<goal>test-jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
@@ -260,6 +271,12 @@
|
|||||||
<include>**/*TestCase.java</include>
|
<include>**/*TestCase.java</include>
|
||||||
</includes>
|
</includes>
|
||||||
<systemProperties>
|
<systemProperties>
|
||||||
|
<!--
|
||||||
|
<property>
|
||||||
|
<name>org.apache.commons.logging.diagnostics.dest</name>
|
||||||
|
<value>STDOUT</value>
|
||||||
|
</property>
|
||||||
|
-->
|
||||||
<property>
|
<property>
|
||||||
<name>commons-logging</name>
|
<name>commons-logging</name>
|
||||||
<value>target/${project.build.finalName}.jar</value>
|
<value>target/${project.build.finalName}.jar</value>
|
||||||
|
|||||||
Reference in New Issue
Block a user