Slight change. Need to have:

<noJavac>false</noJavac>

Else the schemaorg_apache_xmlbeans classes aren't generated.

Also needed to include this dependency in my pm.xml for Eclipse:

  <dependency>
      <groupId>xmlbeans</groupId>
      <artifactId>xmlbeans-jsr173-api</artifactId>
      <version>2.0-dev</version>
    </dependency> 

Note that the jar doesn't actually exist in the repository though, so I need to create that jar in my local repository also.

Regards

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering - +34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]

On 23 Nov 2005, at 08:07, Nathan Sowatskey wrote:

Hi

Thanks for that. I am using Maven 2 and it works for me :-)

Regards

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering - +34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]

On 23 Nov 2005, at 02:49, David Jencks wrote:

The maven plugin at xmlbeans is for maven 1. The "mojo" one at codehaus is for maven 2. They are not closely related. I'm pretty sure the maven 1 plugin works pretty well since we have been using it in the geronimo build for a long time. I have some doubts about the maturity of the maven 2 plugin, but intend to look at it when geronimo moves to maven 2.

thanks
david jencks

On Nov 22, 2005, at 1:47 PM, Nathan Sowatskey wrote:

Oddly enough, no, and I added a Jira issue for that. The schemaDirectory configuration was being ignored.

Regards

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering - +34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]

On 22 Nov 2005, at 21:58, Radu Preotiuc-Pietro wrote:

org.codehaus.mojo, nice name... What about the maven plugin from
XmlBeans svn (the "maven-plugin" dir)? Did that not work for you?

Radu

-----Original Message-----
From: Nathan Sowatskey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 22, 2005 4:39 AM
To: [email protected]
Subject: Re: Maven2 plugin?

And finally ...

<build>
                <plugins>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
        
<artifactId>xmlbeans-maven-plugin</artifactId>
                                <version>2.0-beta-1</version>
                                <executions>
                                <execution>
                                <goals>
                                        <goal>xmlbeans</goal>
                                </goals>
                                </execution>
                                </executions>
                                <inherited>true</inherited>
                                <configuration>
        
<schemaDirectory>src/main/resources/xsd/interfaces</
schemaDirectory>
                                <noJavac>true</noJavac>
                                <quiet>false</quiet>
                                </configuration>
                </plugin>
                </plugins>
        </build>



Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]

On 22 Nov 2005, at 11:56, Nathan Sowatskey wrote:

That got me started. Thanks!

:-)

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco -
[EMAIL PROTECTED]

On 21 Nov 2005, at 19:50, Peter Lynch wrote:

No official release but u can build it svn. Works for me.

http://mojo.codehaus.org/xmlbeans-maven-plugin/

-Peter

Nathan Sowatskey wrote:
Hi
Is there a Maven plugin for XML Beans please?
Is anyone out there using it with Maven at all?
Many thanks
Nathan
Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco -
[EMAIL PROTECTED]
---------------------------------------------------------------- ----

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

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

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

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



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

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



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

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

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

Reply via email to