pom.xml 2.61 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<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>
	<version>0.0.1-SNAPSHOT</version>

	<parent>
		<groupId>org.aktin</groupId>
		<artifactId>dwh-import</artifactId>
		<version>0.0.1-SNAPSHOT</version>
	</parent>
	<properties>
		<schematronVersion>20150824T134031</schematronVersion>            
		<examplesVersion>20150824T134031</examplesVersion>            
		<schematronArchive>aktin-runtime-${schematronVersion}</schematronArchive>            
		<examplesArchive>aktin-xml-${examplesVersion}</examplesArchive>            
	</properties>
	<build>
		<resources>
			<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 -->
								<get src="http://aktin.art-decor.org/${schematronArchive}.zip"
									dest="${project.build.directory}/schematron.zip"
									verbose="false"
									usetimestamp="true"/>
								<unzip src="${project.build.directory}/schematron.zip" dest="${project.build.directory}/schematron" />
								<!-- download examples -->
								<get src="http://aktin.art-decor.org/${examplesArchive}.zip"
									dest="${project.build.directory}/examples.zip"
									verbose="false"
									usetimestamp="true"/>
								<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>