-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
128 lines (117 loc) · 4.16 KB
/
pom.xml
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>de.faustedition</groupId>
<artifactId>faust-schema</artifactId>
<version>1.4-SNAPSHOT</version>
<name>Digitale Faust-Edition :: Faust TEI P5 schema</name>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<upload.url>wrzh074.rzhousing.uni-wuerzburg.de:/mnt/data/htdocs/schema/${project.version}</upload.url>
</properties>
<build>
<defaultGoal>verify</defaultGoal>
<resources>
<resource>
<directory>src/main/xsd</directory>
<includes><include>**/*.xsd</include></includes>
<targetPath>${project.build.directory}/schema</targetPath>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.4.0</version>
<executions>
<execution>
<id>create-schema</id>
<phase>generate-sources</phase>
<goals><goal>java</goal></goals>
<configuration>
<mainClass>com.xmlcalabash.drivers.Main</mainClass>
<commandlineArgs>${project.basedir}/src/main/xproc/generate-schemas.xpl</commandlineArgs>
</configuration>
</execution>
<execution>
<id>convert-transcripts</id>
<phase>pre-integration-test</phase>
<goals><goal>java</goal></goals>
<configuration>
<mainClass>com.xmlcalabash.drivers.Main</mainClass>
<commandlineArgs>${project.basedir}/src/main/xproc/convert-transcripts.xpl</commandlineArgs>
</configuration>
</execution>
<execution>
<id>validate-xml</id>
<phase>integration-test</phase>
<goals><goal>java</goal></goals>
<configuration>
<mainClass>com.xmlcalabash.drivers.Main</mainClass>
<arguments>
<argument>target=${project.build.directory}/</argument>
<argument>${project.basedir}/src/main/xproc/validate-all.xpl</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>deploy-rsync</id>
<phase>deploy</phase>
<goals><goal>exec</goal></goals>
<configuration>
<executable>rsync</executable>
<arguments>
<argument>-a</argument>
<argument>-u</argument>
<argument>${project.build.directory}/schema/</argument>
<argument>${upload.url}</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<!-- There's nothing really interesting to deploy to a maven repo -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>internal</id>
<url>http://dev.digital-humanities.de/nexus/content/repositories/releases/</url>
</repository>
<repository>
<id>snapshots</id>
<url>http://dev.digital-humanities.de/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>internal</id>
<url>http://dev.digital-humanities.de/nexus/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<url>http://dev.digital-humanities.de/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
<site>
<id>faustedition-schema</id>
<url>scp://faustedition.uni-wuerzburg.de/mnt/data/htdocs/schema/${project.version}</url>
</site>
</distributionManagement>
<dependencies>
<dependency>
<groupId>com.xmlcalabash</groupId>
<artifactId>xmlcalabash</artifactId>
<version>1.1.16-97</version>
</dependency>
</dependencies>
</project>