Thanks for the quick response Andres........ <xsdJars> <xsdJar implementation="java.lang.String">geronimo:geronimo-tomcat</xsdJar> </xsdJars> So you mean to say, repalcing the geronimo:geronimo-tomcat to my specific xsd file will work. like Let say my xsd names are one.xsd, and two.xsd then <xsdJars> <xsdJar implementation="java.lang.String">one.xsd</xsdJar> <xsdJar implementation="java.lang.String">two.xsd</xsdJar> </xsdJars>
Please suggest this.... On Wed, Sep 2, 2009 at 3:25 PM, Anders Hammar <and...@hammar.net> wrote: > Please, re-read the text in the link you provided carefully. It states that > IN THE EXAMPLE geronimo-tomcat jar is expected to be a dependency. In your > application, you would depend on some other artifact that contains the > schema. Just change the value of hte xsdJar element. > > /Anders > > On Wed, Sep 2, 2009 at 11:48, Stuff_Me <stuffme.h...@gmail.com> wrote: > > > Hi to All, > > > > I am using Maven with XMLBeans Plugin as mentioned in the > > http://mojo.codehaus.org/xmlbeans-maven-plugin/usage.html > > Now in the example, the geronimo-tomcat jar is expected to be a listed > > depedency of the project. As I am new to Maven, I don't want to use > > geronimo-tomcat and make the project messy. > > So do we have any other alternatives to generate the Jars for the schema > > for > > my XMLBeans.... > > > > Thanks in Advane.... > > > > > > <plugins> > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>xmlbeans-maven-plugin</artifactId> > > <version>2.3.2</version> > > <executions> > > <execution> > > <goals> > > <goal>xmlbeans</goal> > > <goal>xmlbeans-test</goal> > > </goals> > > </execution> > > </executions> > > <inherited>true</inherited> > > <configuration> > > <schemaDirectory>src/main/xsd</schemaDirectory> > > </configuration> > > </plugin> > > </plugins> > > >