मैंने एक परियोजना में दो xmlbeans उत्पन्न करने का प्रयास किया। उदाहरण के लिए, प्रत्येक व्यक्ति प्रतिभागी वस्तु प्राप्त करता है, इसलिए मैं उन्हें एक कॉन्फ़िगरेशन में नहीं डाल सकता। जिस तरह से मैंने दो उत्तेजना का उपयोग किया था, यहां मेरी पोम फ़ाइल है:एक पोम फ़ाइल में दो xmlbeans कैसे उत्पन्न करें
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xmlbeans-maven-plugin</artifactId>
<version>2.3.3</version>
<executions>
<execution>
<id>xmlbean1</id>
<phase>generate-sources</phase>
<goals>
<goal>xmlbeans</goal>
</goals>
<configuration>
<xmlConfigs>
<xmlConfig implementation="java.io.File">src/main/xsdconfig/xmlbean1</xmlConfig>
</xmlConfigs>
<verbose>true</verbose>
<schemaDirectory>src/main/xsd/xmlbean1</schemaDirectory>
</configuration>
</execution>
<execution>
<id>xmlbean2</id>
<phase>generate-sources</phase>
<goals>
<goal>xmlbeans</goal>
</goals>
<configuration>
<xmlConfigs>
<xmlConfig implementation="java.io.File">src/main/xsdconfig/xmlbean2</xmlConfig>
</xmlConfigs>
<verbose>true</verbose>
<schemaDirectory>src/main/xsd/xmlbean2</schemaDirectory>
</configuration>
</execution>
</executions>
<inherited>true</inherited>
</plugin>
लेकिन यह बिल्कुल काम नहीं कर रहा है। क्या कोई मुझे इसके साथ मदद कर सकता है, धन्यवाद
हैं कोई त्रुटि है? – drekka
क्या एकल xmlbeans की पीढ़ी काम करता है? –
सभी को धन्यवाद, मुझे जवाब मिला, निम्नलिखित पोम ठीक काम कर रहा है: – Luke