getting error only one globalBindings customization is allowed in a whole compilation while using maven-jaxb2-plugin
问题 I am using maven-jaxb2-plugin. Here is my plugin configuration <plugin> <groupId>org.jvnet.jaxb2.maven2</groupId> <artifactId>maven-jaxb2-plugin</artifactId> <executions> <execution> <id>xjc-serviceoperations</id> <phase>generate-sources</phase> <goals> <goal>generate</goal> </goals> <configuration> <generateDirectory>${basedir}/src/main/java/</generateDirectory> <schemaDirectory>src/main/resources/schemas/lmsapi/serviceoperations</schemaDirectory> <removeOldOutput>false</removeOldOutput> <