-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
123 lines (118 loc) · 5.09 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
<?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>io.openepcis</groupId>
<artifactId>xerces-xmlschema1.1</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<properties>
<java.version>8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<bnd.version>6.1.0</bnd.version>
<xerces.zip>Xerces-J-bin.2.12.2-xml-schema-1.1.zip</xerces.zip>
<xerces.dir>${project.build.directory}/xerces-2_12_2-xml-schema-1.1</xerces.dir>
</properties>
<modules>
<module>thirdparty/java_cup-runtime</module>
<module>thirdparty/xpath2-processor</module>
<module>thirdparty/xercesImpl</module>
<module>xml-validator</module>
<module>console-xml-validator</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>${bnd.version}</version>
<executions>
<execution>
<goals>
<goal>bnd-process</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.8</version>
<executions>
<execution>
<id>download-xerces</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
</execution>
</executions>
<configuration>
<url>https://dlcdn.apache.org//xerces/j/binaries/${xerces.zip}</url>
<unpack>true</unpack>
<outputDirectory>${project.build.directory}</outputDirectory>
<md5>ad5272835ff8fefe3878e3ed528c6fdc</md5>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<phase>process-resources</phase>
<configuration>
<target name="copy thirdparty jars" >
<copy file="${xerces.dir}/xercesImpl.jar" tofile="thirdparty/xercesImpl/lib/xercesImpl.jar" />
<copy file="${xerces.dir}/cupv10k-runtime.jar" tofile="thirdparty/java_cup-runtime/lib/cupv10k-runtime.jar" />
<copy file="${xerces.dir}/org.eclipse.wst.xml.xpath2.processor_1.2.1.jar" tofile="thirdparty/xpath2-processor/lib/org.eclipse.wst.xml.xpath2.processor_1.2.1.jar" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub OpenEPCIS XML Validator Apache Maven Packages</name>
<url>https://maven.pkg.github.com/openepcis/xerces-xmlschema-1.1</url>
</repository>
</distributionManagement>
</project>