kamilfb / mqtt-spy

Please use the new Eclipse Paho GitHub repo instead.
https://github.com/eclipse/paho.mqtt-spy/wiki
345 stars 68 forks source link

Warning: "The plugin is configured to use catalogs and strict at the same time." #75

Closed pfurbacher closed 8 years ago

pfurbacher commented 8 years ago

In the Eclipse Error Log, I'm seeing the following warning multiple times when Maven rebuilds:

The plugin is configured to use catalogs and strict at the same time. Using catalogs to resolve schema URI in strict mode is known to be problematic and may fail. Please refer to the following linkfor more information: https://github.com/highsource/maven-jaxb2-plugin/wiki/Catalogs-in-Strict-Mode Consider setting false

To resolve this warning, you would add <strict>false</strict> as shown in the following pom.xml snippet:

<plugin>
    <groupId>org.jvnet.jaxb2.maven2</groupId>
    <artifactId>maven-jaxb2-plugin</artifactId>
    <version>0.12.0</version>
    <executions>
        <execution>
            . . .
            <goals>. . .</goals>
            <configuration>
                . . .
                <strict>false</strict> 
                <catalogs>
                    . . .

This warning occurs when Eclipse automatically builds/updates the pom.xml file in the following projects:

There is no <catalogs> element in spy-common; hence, no warning.

kamilfb commented 8 years ago

Thanks for reporting this! I'll look into it.

kamilfb commented 8 years ago

That should be in the dev branch now - could you confirm it is working as expected?

pfurbacher commented 8 years ago

Looks like it is fixed.

kamilfb commented 8 years ago

Cool - thank you!