Skip to content

Commit

Permalink
Issue highsource#14. Test project.
Browse files Browse the repository at this point in the history
  • Loading branch information
highsource committed Dec 15, 2014
1 parent 2ef3e40 commit 4fd7b8d
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/JAXB-1058/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/target/
.classpath
.project
.settings
60 changes: 60 additions & 0 deletions tests/JAXB-1058/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics-tests</artifactId>
<version>0.9.2-SNAPSHOT</version>
</parent>
<artifactId>jaxb2-basics-test-JAXB-1058</artifactId>
<packaging>jar</packaging>
<name>JAXB2 Basics - Test [JAXB-1058]</name>
<dependencies>
<dependency>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin-testing</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
</dependency>
</dependencies>
<build>
<defaultGoal>test</defaultGoal>
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<configuration>
<extension>true</extension>
<args>
<arg>-XtoString</arg>
<arg>-Xequals</arg>
<arg>-XhashCode</arg>
<!--arg>-Xcopyable</arg>
<arg>-Xmergeable</arg-->
<!--arg>-Xinheritance</arg>
<arg>-Xsetters</arg>
<arg>-Xsetters-mode=direct</arg>
<arg>-Xwildcard</arg>
<arg>-XautoInheritance</arg>
<arg>-XautoInheritance-xmlRootElementsExtend=org.jvnet.jaxb2_commons.tests.issues.IssueJIIB14BaseClass</arg>
<arg>-XautoInheritance-xmlRootElementsImplement=org.jvnet.jaxb2_commons.tests.issues.IssueJIIB14BaseInterfaceOne</arg>
<arg>-XautoInheritance-xmlRootElementsImplement=org.jvnet.jaxb2_commons.tests.issues.IssueJIIB14BaseInterfaceTwo</arg>
<arg>-XautoInheritance-jaxbElementsImplement=org.jvnet.jaxb2_commons.tests.issues.IssueJIIB14BaseInterfaceThree</arg>
<arg>-XautoInheritance-jaxbElementsImplement=org.jvnet.jaxb2_commons.tests.issues.IssueJIIB14BaseInterfaceFour</arg>
<arg>-XenumValue</arg-->
</args>
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
</plugin>
</plugins>
</configuration>
</plugin>
</plugins>
</build>
</project>
34 changes: 34 additions & 0 deletions tests/JAXB-1058/src/main/resources/schema.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:test="urn:test"
targetNamespace="urn:test"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
jaxb:version="2.1">

<xs:annotation>
<xs:appinfo>
<jaxb:globalBindings generateMixedExtensions="true" generateIsSetMethod="true"/>

<jaxb:schemaBindings>
<jaxb:package name="org.jvnet.jaxb2_commons.tests.JAXB_1058" />
</jaxb:schemaBindings>
</xs:appinfo>
</xs:annotation>

<xs:complexType name="AbstractMetaDataType" abstract="true" mixed="true">
<xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:complexType>

<xs:complexType name="GenericMetaDataType" mixed="true">
<xs:complexContent mixed="true">
<xs:extension base="test:AbstractMetaDataType">
<xs:sequence>
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>

0 comments on commit 4fd7b8d

Please sign in to comment.