Skip to content

Commit ef51e96

Browse files
committed
Version 1.0.3
1 parent cd49e0c commit ef51e96

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
<jaxb.version>2.2.11</jaxb.version>
130130
<jaxb-api.version>2.2.11</jaxb-api.version>
131131
<maven-jaxb2-plugin.version>0.13.1</maven-jaxb2-plugin.version>
132-
<annox.version>1.0.1</annox.version>
132+
<annox.version>1.0.2</annox.version>
133133
<jaxb2-basics.version>0.11.1-SNAPSHOT</jaxb2-basics.version>
134134
</properties>
135135
<dependencies>

tests/issues/pom.xml

+10
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
<groupId>org.jvnet.jaxb2_commons</groupId>
5252
<artifactId>jaxb2-basics-annotate</artifactId>
5353
</dependency>
54+
<dependency>
55+
<groupId>com.fasterxml.jackson.core</groupId>
56+
<artifactId>jackson-annotations</artifactId>
57+
<version>2.8.6</version>
58+
</dependency>
5459
</dependencies>
5560
<build>
5661
<defaultGoal>test</defaultGoal>
@@ -75,6 +80,11 @@
7580
<groupId>org.jvnet.jaxb2_commons</groupId>
7681
<artifactId>jaxb2-basics-annotate</artifactId>
7782
</plugin>
83+
<plugin>
84+
<groupId>com.fasterxml.jackson.core</groupId>
85+
<artifactId>jackson-annotations</artifactId>
86+
<version>2.8.6</version>
87+
</plugin>
7888
</plugins>
7989
</configuration>
8090
</plugin>

tests/issues/src/main/resources/binding.xjb

+3
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,8 @@
5454
<annox:annotate annox:class="java.lang.Deprecated" />
5555
</annox:annotate>
5656
</jaxb:bindings>
57+
<jaxb:bindings node="xsd:complexType[@name='gh36Type']">
58+
<annox:annotate>@com.fasterxml.jackson.annotation.JsonView(java.lang.Object.class)</annox:annotate>
59+
</jaxb:bindings>
5760
</jaxb:bindings>
5861
</jaxb:bindings>

tests/issues/src/main/resources/schema.xsd

+8
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,12 @@
6262
</xs:extension>
6363
</xs:simpleContent>
6464
</xs:complexType>
65+
66+
<xs:complexType name="gh36Type">
67+
<xs:simpleContent>
68+
<xs:extension base="xs:string">
69+
<xs:attribute name="attr" type="xs:normalizedString"/>
70+
</xs:extension>
71+
</xs:simpleContent>
72+
</xs:complexType>
6573
</xs:schema>

0 commit comments

Comments
 (0)