pom.xml 2.63 KB
Newer Older
1
2
3
4
5
6
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<name>AKTIN : DWH Import : CDA Validation</name>

	<groupId>org.aktin</groupId>
	<artifactId>cda-validation</artifactId>
7
	<version>0.5-SNAPSHOT</version>
8
9
10
11

	<parent>
		<groupId>org.aktin</groupId>
		<artifactId>dwh-import</artifactId>
12
		<version>0.5-SNAPSHOT</version>
13
14
	</parent>
	<properties>
Volker Thiemann's avatar
Volker Thiemann committed
15
16
		<schematronVersion>20151118T102028</schematronVersion>          
		<examplesVersion>20151118T102028</examplesVersion>            
17
18
19
20
21
		<schematronArchive>aktin-runtime-${schematronVersion}</schematronArchive>            
		<examplesArchive>aktin-xml-${examplesVersion}</examplesArchive>            
	</properties>
	<build>
		<resources>
rwm's avatar
rwm committed
22
23
24
			<resource>
				<directory>src/main/resources</directory>
			</resource>
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
			<resource>
				<directory>${project.build.directory}/schematron/${schematronArchive}</directory>
			</resource>
			<resource>
				<directory>${project.build.directory}/examples/${examplesArchive}</directory>
				<excludes>
					<exclude>**/.DS_Store</exclude>
				</excludes>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>1.8</version>
				<executions>
					<execution>
						<id>download-files</id>
						<phase>validate</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<target>
								<!-- schematron files -->
50
								<get src="http://aktin.art-decor.org/${schematronArchive}.zip" dest="${project.build.directory}/schematron.zip" verbose="false" usetimestamp="true" />
51
52
								<unzip src="${project.build.directory}/schematron.zip" dest="${project.build.directory}/schematron" />
								<!-- download examples -->
53
								<get src="http://aktin.art-decor.org/${examplesArchive}.zip" dest="${project.build.directory}/examples.zip" verbose="false" usetimestamp="true" />
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
								<unzip src="${project.build.directory}/examples.zip" dest="${project.build.directory}/examples" />
							</target>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
	<dependencies>
		<!-- XSLT and XPath processor -->
		<dependency>
			<groupId>net.sf.saxon</groupId>
			<artifactId>Saxon-HE</artifactId><!--
			<version>9.6.0-7</version>-->
		</dependency>
		<!-- unit tests -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId><!--
			<version>4.11</version>
			<scope>test</scope>-->
		</dependency>
	</dependencies>
</project>