cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Scott Franko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-7358) cxf-xjc-plugin 3.1.0 for maven not generating enumerations
Date Tue, 02 May 2017 21:13:04 GMT
J. Scott Franko created CXF-7358:
------------------------------------

             Summary: cxf-xjc-plugin 3.1.0 for maven not generating enumerations
                 Key: CXF-7358
                 URL: https://issues.apache.org/jira/browse/CXF-7358
             Project: CXF
          Issue Type: Bug
          Components: JAXB Databinding
    Affects Versions: 3.1.11
         Environment: maven java project, eclipse external build, windows 7, 
            Reporter: J. Scott Franko


plugin

      <plugin>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-xjc-plugin</artifactId>
        <version>3.1.0</version>
        <configuration>
          <extensions>
            <extension>org.apache.cxf.xjcplugins:cxf-xjc-dv:3.1.0</extension>
            <extension>org.apache.cxf.xjcplugins:cxf-xjc-bug986:3.1.0</extension>
          </extensions>
        </configuration>
        <executions>
          <execution>
            <id>generate-sources</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>xsdtojava</goal>
            </goals>
            <configuration>
              <xsdOptions>
                <xsdOption>
                  <xsd>src/main/resources/RdsXmlSchema.xsd</xsd>
                  <packagename>com.fedex.vision.rds.schema</packagename>
                </xsdOption>
              </xsdOptions>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>

xsd

  <xsd:element name="message">
...
      <xsd:attribute name="messageType" use="required">
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:enumeration value="raw"/>
            <xsd:enumeration value="processed"/>
            <xsd:enumeration value="ids"/>
            <xsd:enumeration value="rfi"/>
            <xsd:enumeration value="rfiResponse"/>
          </xsd:restriction>
        </xsd:simpleType>
        </xsd:attribute>



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message