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>
>

Reply via email to