jaxws-maven-plugin не использует catalog

Хочу сгенерить классы из схем https://github.com/fpompermaier/onvif/tree/master/onvif-ws-client/src/main/resources/wsdl с помощью jaxws-maven-plugin вместо apache cxf. По какой-то причине jaxws-maven-plugin не ипользует правила замены из jax-ws-catalog.xml. Получаю ошибку при компиляции.

schema_reference.4: Failed to read schema document '../../../ver10/schema/onvif.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

pom.xml

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
        </plugin>
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>jaxws-maven-plugin</artifactId>
            <version>2.6</version>
            <executions>
                <execution>
                    <goals>
                        <goal>wsimport</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <catalog>${basedir}/src/main/resources/wsdl/jax-ws-catalog.xml</catalog>
                <wsdlDirectory>${basedir}/src/main/resources/wsdl</wsdlDirectory>
            </configuration>
        </plugin>
    </plugins>
</build>

UPD Решил не использовать catalog разложил структуру согласно запросу схемы

введите сюда описание изображения

pom.xml

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
        </plugin>
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>jaxws-maven-plugin</artifactId>
            <version>2.6</version>
            <executions>
                <execution>
                    <goals>
                        <goal>wsimport</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <wsdlDirectory>${basedir}/src/main/resources/xml/wsdl/org/onvif</wsdlDirectory>
                <args>
                    <arg>-extension</arg>
                </args>
            </configuration>
        </plugin>
    </plugins>
</build>

Ответы (0 шт):