We had this at our site, the way we got around this was to grab the xmlbeans tarball (the orginal one) from the apache xmlbeans site and install the jsr jar manually into our repo.
Ludde (sent by Nabble.com) wrote: > 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): > > > servicemix > jaxp > 1.4-20050623 > compile > > > > 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: > http://www.nabble.com/xmlbeans-jsr173-api-is-missing---problem-with-xmlbean-plugin-t856000.html#a2567760 > Sent from the mojo - user forum at Nabble.com. >
