I can confirm that the xml beans plugin works on jdk1.4/jdk1.5 with maven2 without the xmlbeans-jsr-173 message.

prompt>mvn xmlbeans:xmlbeans
[OK]

But later on when compiling the generated code (which hasnt "anything" to do with the plugin) i get this message:

>>cannot access javax.xml.stream.XMLStreamReader
>>file javax/xml/stream/XMLStreamReader.class not found

I guess that is the jsr-173 ... so I added the closest thing to jsr-173 ive found at the maven2 repo (ibiblo):

   <dependency>
      <groupId>servicemix</groupId>
      <artifactId>jaxp</artifactId>
      <version>1.4-20050623</version>
      <scope>compile</scope>
    </dependency>

 
Adding this dependency will make the "xmlbean" generated code to compile.  

..I havent tried run it yet :-)


/Rickard Ludde Lundin





View this message in context: Re: xmlbeans-jsr173-api is missing - problem with xmlbean plugin
Sent from the mojo - user forum at Nabble.com.

Reply via email to