Questions tagged [xmlbeans-maven-plugin]

The plugin that allows for XMLBean generation within a Maven build.

The plugin that allows for XMLBean generation within a Maven build. It is the Maven equivalent of the scomp script that comes with XMLbeans. It is part of the Mojo project. It is available at the MVN Repository.

23 questions
5
votes
3 answers

How to generate two xmlbeans in one pom file

I tried to generate two xmlbeans in one project. Each one, for example, gets participant object, so I can't put them in one configuration. The way I did was using two excution, here is my pom file:
Luke
  • 113
  • 1
  • 6
4
votes
1 answer

Maven: Exclude generated-sources from jar artifact

Duplicate but no answers and cannot comment on Background info: I have a module that uses the xmlbeans-maven-plugin to generate java sources files from xsd and compile into its own jar. This works and also creates a module1/target/generated-sources…
Mos No
  • 159
  • 1
  • 14
3
votes
1 answer

Eclipse Maven multi module project with xmlbeans

I have a multi module project, in which one of the module ( say MODULE-A) generates sources and classes using xmlbeans plugin. So everytime when I do a clean install of parent project, eclipse recognizes all of the generated sources as new classes,…
Lavanya
  • 319
  • 1
  • 6
2
votes
3 answers

Can't compile XMLBean generated classes with Maven due to 'ñ"

I am working on a project and I can't compile that generates XMLBeans from a WSDL. The files are generated ok, but when I want to compile the project, I have problems with a few classes. The main problem, I guess, is that the name of the class has…
iVela
  • 1,160
  • 1
  • 19
  • 40
2
votes
0 answers

schema Class Generations Failing with XMLBeans version 4.0.0 and xmlbeans-maven-plugin 2.3.3

while generating schema with xmlbeans version 4.0.0 and xmlbeans-maven-plugin 2.3.3, I am facing following issue. It is because xmlbeans verion 4.0.0 have removed XMLStreamException and XMLInputStream classes.But question is why it is trying to…
2
votes
1 answer

Maven - xmlbeans : working with multiple schema files to generate a single jar file

I have different service schema files(more than 5), from which I wanted to generate a jar file using xmlbeans. I was using xmlbean plugin as follows org.codehaus.mojo
coder1608
  • 171
  • 6
  • 14
2
votes
2 answers

Add XMLBeans classes to the classpath in Eclipse using Maven

I use the XMLBeans Maven plugin to generate classes based on an XSD file. I am able to write code using my generated classes and Eclipse shows target/generated-sources/xmlbeans as a source folder. However, when I try to run my test code I get the…
Duncan Jones
  • 67,400
  • 29
  • 193
  • 254
1
vote
1 answer

Maven2:List return type methods not getting generated from .xsd files while using xmlbeans plugin

I am tring to build my project using maven2.This project was succesfully build using ANT in netbeans IDE. Now the problem is, I am able to generate the .java files from .xsd files using xmlbeans maven plugin.But some getter setter methods having…
sanal
  • 11
  • 1
1
vote
0 answers

Latest poi 5.2.1 version is having issue with HSSFWorkbook(fis)

I have updated poi version from 4.1.1 to 5.2.1. After upgrade I am facing issues with xls and xlsx format files. I currently have poi-5.2.1.jar, poi-ooxml-5.2.1.jar, xmlbeans 3.1.0, commons-io-2.8.0 version and commons-compress-1.21.jar. may I know…
1
vote
1 answer

Schema Class Generations Failing with XMLBeans version 5.0.1 and xmlbeans-maven-plugin 5.0.1

While generating classes using below new xmlbeans-maven-plugin 5.0.1, i am getting exception org.apache.xmlbeans xmlbeans 5.0.1
Gomathy
  • 31
  • 2
1
vote
1 answer

XMLBeans schema compilation - scomp utility

I have a set of schemas which are not JAXB compatible but are XMLBeans compatible. According to the documentation on XMLBeans, I can use scomp to compile my schema. But I can't find this tool anywhere or documentation on its versions. I can use a…
Cheetah
  • 13,785
  • 31
  • 106
  • 190
1
vote
1 answer

Maven Xmlbeans Plugin - Generate & Retain files for specified schemas

I'm trying to develop XML-based software. I'm using Maven & XmlBeans. I have a base-project which provides base-xml-schemas which define some elements, abstract types, etc,. All other sub-projects also provides xml-schemas. But, these sub-projects…
R Kaja Mohideen
  • 909
  • 1
  • 8
  • 24
1
vote
1 answer

XMLBeans creates different code when running via Ant and Maven

Apache POI usually compiles via Ant and has some steps where the xmlbeans-Ant-task is used to transform OfficeOpenXML Schemas into code. I am currently in the process of building a corresponding set of Maven pom.xml files which also compile the…
centic
  • 15,565
  • 9
  • 68
  • 125
1
vote
0 answers

Generating constants with XmlBeans

We are using XmlBeans 2.6.0 to generate classes from .xsd. A complex type has an attribute An earlier version based on Apache CXF generated from this stuff public static final int…
darkled
  • 257
  • 2
  • 11
1
vote
1 answer

xmlbeans-maven-plugin not finding javac

I am trying to setup xmlbeans-maven-plugin 2.3.3 in my Eclipse and while everything seems to go OK, It fails with an java.io.IOException due to inability to find the file C:\Users\Daniel\Workspace\MyProject\javac. This is strange because javac is on…
Withheld
  • 4,603
  • 10
  • 45
  • 76
1
2