Commit 2cd02769 authored by Brian Long's avatar Brian Long
Browse files

better test resource handling for APS testing

parent 23c010b9
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -21,19 +21,41 @@
	<build>
		<testResources>
			<!-- need to split certain test resources to load before webapp -->
			<!-- these will load before the WAR, are accessible earlier, and could be shadowed by it -->
			<testResource>
				<directory>src/test/resources</directory>
				<filtering>true</filtering>
				<excludes>
					<exclude>activiti/**/*</exclude>
					<exclude>**/*.properties</exclude>
					<exclude>**/README*</exclude>
				</excludes>
			</testResource>
			<testResource>
				<directory>src/it/resources</directory>
				<filtering>true</filtering>
				<excludes>
					<exclude>activiti/**/*</exclude>
					<exclude>**/*.properties</exclude>
					<exclude>**/README*</exclude>
				</excludes>
			</testResource>
			<!-- these will load after the WAR and could shadow it -->
			<testResource>
				<directory>src/test/resources</directory>
				<filtering>true</filtering>
				<includes>
					<include>activiti/**/*</include>
					<include>**/*.properties</include>
				</includes>
				<targetPath>${project.build.directory}/rt-test-resources</targetPath>
			</testResource>
			<testResource>
				<directory>src/it/resources</directory>
				<filtering>true</filtering>
				<includes>
					<include>activiti/**/*</include>
					<include>**/*.properties</include>
				</includes>
				<targetPath>${project.build.directory}/rt-test-resources</targetPath>
			</testResource>
+22 −0
Original line number Diff line number Diff line
@@ -29,19 +29,41 @@
			<build>
				<testResources>
					<!-- need to split certain test resources to load before webapp -->
					<!-- these will load before the WAR, are accessible earlier, and could be shadowed by it -->
					<testResource>
						<directory>src/test/resources</directory>
						<filtering>true</filtering>
						<excludes>
							<exclude>activiti/**/*</exclude>
							<exclude>**/*.properties</exclude>
							<exclude>**/README*</exclude>
						</excludes>
					</testResource>
					<testResource>
						<directory>src/it/resources</directory>
						<filtering>true</filtering>
						<excludes>
							<exclude>activiti/**/*</exclude>
							<exclude>**/*.properties</exclude>
							<exclude>**/README*</exclude>
						</excludes>
					</testResource>
					<!-- these will load after the WAR and could shadow it -->
					<testResource>
						<directory>src/test/resources</directory>
						<filtering>true</filtering>
						<includes>
							<include>activiti/**/*</include>
							<include>**/*.properties</include>
						</includes>
						<targetPath>${project.build.directory}/rt-test-resources</targetPath>
					</testResource>
					<testResource>
						<directory>src/it/resources</directory>
						<filtering>true</filtering>
						<includes>
							<include>activiti/**/*</include>
							<include>**/*.properties</include>
						</includes>
						<targetPath>${project.build.directory}/rt-test-resources</targetPath>
					</testResource>