File tree 4 files changed +44
-7
lines changed
4 files changed +44
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ dependency-reduced-pom.xml
8
8
buildNumber.properties
9
9
.mvn /timing.properties
10
10
profile
11
+ junkyard /
11
12
.idea
12
13
* .iml
14
+ * .zip
13
15
src /main /resources /xsd /
14
16
* .zip
Original file line number Diff line number Diff line change 1
1
<jxb:bindings xmlns:jxb="https://jakarta.ee/xml/ns/jaxb"
2
2
xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
3
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
- xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jxb:version="3.0" jxb:extensionBindingPrefixes="xjc">
5
-
4
+ xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
5
+ jxb:version="3.0"
6
+ jxb:extensionBindingPrefixes="xjc">
7
+
6
8
<jxb:bindings>
7
9
<jxb:globalBindings underscoreBinding="asCharInWord">
8
10
<xjc:javaType name="java.time.LocalDateTime" xmlType="xs:dateTime" adapter="org.rutebanken.util.LocalDateTimeISO8601XmlAdapter" />
9
11
<xjc:javaType name="java.time.ZonedDateTime" xmlType="xs:dateTime" adapter="org.rutebanken.util.ZonedDateTimeISO8601XmlAdapter" />
10
12
<xjc:javaType name="java.time.LocalTime" xmlType="xs:time" adapter="org.rutebanken.util.LocalTimeISO8601XmlAdapter" />
11
13
<xjc:javaType name="java.time.LocalDateTime" xmlType="xs:date" adapter="org.rutebanken.util.LocalDateXmlAdapter" />
12
14
<xjc:javaType name="java.time.Duration" xmlType="xs:duration" adapter="org.rutebanken.util.DurationXmlAdapter" />
13
- </jxb:globalBindings>
15
+ </jxb:globalBindings>
14
16
</jxb:bindings>
15
17
16
18
<!-- See the script bin/version_updater.sh It updates version in schema locations-->
20
22
<jxb:package name="de.vdv.ojp20.model" />
21
23
</jxb:schemaBindings>
22
24
</jxb:bindings>
23
-
24
25
</jxb:bindings>
Original file line number Diff line number Diff line change
1
+ @ jakarta .xml .bind .annotation .XmlSchema (
2
+ namespace = "http://www.siri.org.uk/siri" ,
3
+ elementFormDefault = jakarta .xml .bind .annotation .XmlNsForm .QUALIFIED ,
4
+ xmlns = {
5
+ @ jakarta .xml .bind .annotation .XmlNs (prefix = "ojp" , namespaceURI = "http://www.vdv.de/ojp" ),
6
+ @ jakarta .xml .bind .annotation .XmlNs (prefix = "ifopt" , namespaceURI = "http://www.ifopt.org.uk/ifopt" ),
7
+ @ jakarta .xml .bind .annotation .XmlNs (prefix = "acsb" , namespaceURI = "http://www.ifopt.org.uk/acsb" ),
8
+ @ jakarta .xml .bind .annotation .XmlNs (prefix = "siri" , namespaceURI = "http://www.siri.org.uk/siri" )
9
+ }
10
+ )
11
+ package de .vdv .ojp .model ;
12
+
13
+ import jakarta .xml .bind .annotation .XmlNs ;
14
+ import jakarta .xml .bind .annotation .XmlNsForm ;
15
+ import jakarta .xml .bind .annotation .XmlSchema ;
Original file line number Diff line number Diff line change 18
18
<modelVersion >4.0.0</modelVersion >
19
19
<groupId >de.vdv</groupId >
20
20
<artifactId >ojp-java-model</artifactId >
21
- <version >2.0.0 </version >
21
+ <version >2.0.1 </version >
22
22
23
23
<name >ojp-java-model</name >
24
24
<description >Generates Java model from OJP xsds using jaxb.</description >
323
323
</dependency >
324
324
</dependencies >
325
325
</plugin >
326
-
326
+ <plugin >
327
+ <groupId >org.apache.maven.plugins</groupId >
328
+ <artifactId >maven-antrun-plugin</artifactId >
329
+ <version >3.0.0</version >
330
+ <executions >
331
+ <execution >
332
+ <id >copy-package-info</id >
333
+ <phase >generate-sources</phase >
334
+ <goals >
335
+ <goal >run</goal >
336
+ </goals >
337
+ <configuration >
338
+ <target >
339
+ <copy file =" ${project.basedir}/package-info.java"
340
+ todir =" ${project.build.directory}/generated-sources/xjc/de/vdv/ojp/model" overwrite =" true" />
341
+ </target >
342
+ </configuration >
343
+ </execution >
344
+ </executions >
345
+ </plugin >
327
346
<plugin >
328
347
<groupId >org.apache.maven.plugins</groupId >
329
348
<artifactId >maven-compiler-plugin</artifactId >
462
481
<artifactId >maven-surefire-plugin</artifactId >
463
482
<version >${maven-surefire-plugin.version} </version >
464
483
</plugin >
465
-
484
+
466
485
<plugin >
467
486
<groupId >org.apache.maven.plugins</groupId >
468
487
<artifactId >maven-gpg-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments