You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This location is then passed on to isWsdlLocatedInMainResources() which tests the path for the occurrence of "/main/" || "\main\" in order to determine if the Java code should be generated. This test fails in some cases due to FileUtils.listFiles() not guaranteeing any specific order. In my case, a copy of the WSDL file in the output directory is returned as the first entry, leading to a failure of the test. As a consequence, steps 2 and 3 are skipped altogether and no code is generated.
As a fix, in addition to testing for "/main/" || "\main\", the path check should also exclude any files in the output directory.
The text was updated successfully, but these errors were encountered:
Due to an implementation detail of
findWsdl()
, the first WSDL file found inmavenProject.getBasedir()
is selected:cxf-spring-boot-starter-maven-plugin/src/main/java/de/codecentric/cxf/BootCxfMojo.java
Line 193 in ce5fb2d
This location is then passed on to
isWsdlLocatedInMainResources()
which tests the path for the occurrence of "/main/" || "\main\" in order to determine if the Java code should be generated. This test fails in some cases due toFileUtils.listFiles()
not guaranteeing any specific order. In my case, a copy of the WSDL file in the output directory is returned as the first entry, leading to a failure of the test. As a consequence, steps 2 and 3 are skipped altogether and no code is generated.As a fix, in addition to testing for "/main/" || "\main\", the path check should also exclude any files in the output directory.
The text was updated successfully, but these errors were encountered: