Hello,
to build my app I compile two differen xsd files to generate O/X mapping. I 
have duplicated the jaxb-maven-plugin in my pom. When I run the build from 
eclipse both xsds are compiled, when i run from the command lineonly one xsd is 
compiled. Is my solution at fault or is the maven failing?

Thank you for help. I'm a bloddy maven newbie, please excuse if the answer is 
obvious or the question dumb. 

jacques
<plugin>
                <groupId>com.sun.tools.xjc.maven2</groupId>
                <artifactId>maven-jaxb-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    
<generatePackage>com.danube.codes.ws.schema</generatePackage>
                    
<schemaDirectory>src/main/webapp/WEB-INF/xsd</schemaDirectory>
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.sun.tools.xjc.maven2</groupId>
                <artifactId>maven-jaxb-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    
<generatePackage>com.danube.codes.versioninfo.schema</generatePackage>          
          
<schemaDirectory>src/main/resources/com/danube/codes/versioninfo/xsd</schemaDirectory>
                </configuration>
            </plugin>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to