-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only the first execution bloc works #15
Comments
This is a duplicate for:
See the recommendations here: Why do you need multiple executions? Because of the
Technicaly this issue will not be fixed. If you need several executions (I The reason why it will not be fixed is that if you have different On Thu, Oct 30, 2014 at 10:04 AM, Thierry Leriche-Dessirier <
|
Thx for the quick answer. I do have multiple executions because of the generatePackage and because I need to setup different super class for each domain. I've tried this :
with bindings-abcde.xml :
And bindings-xyz.xml :
All the class are generated into the package "com.mycorp.foo". I expected the class from "xyz.xsd" to be generated into "net.acmee.xyz". |
I added true and it makes my first example work. with specific binding files and removed. Thx |
Sorry, did not quite understood your last comment: "I added true and it Where did you add "true", what was "removed"? Different superclass per domain may be a valid reason. Is it resolved for you or there's something I can do? On Thu, Oct 30, 2014 at 10:54 AM, Thierry Leriche-Dessirier <
|
Hi High, Humm the tag was removed from the comment. I wrote :
So my pom.xml now looks like :
I added the tag "forceRegenerate" and removed "generatePackage". Actually, no more help is needed for my problem. Thx a lot. |
Hello,
In my project, I have many XSD files (a.xsd, b.xsd, c.xsd, d.xsd, etc.) that represent my domain and I use the maven-jaxb2-plugin to generate the class files.
I also have another XSD file (xyz.xsd) that represents another part of my domain.
Therefore, in my pom.xml, i've setup 2 executions :
I've tried each execution bloc separately and they both work. But when there is more than one execution bloc, only the first one is executed.
Did I write something wrong ?
Th.
Tested on Java 8, Maven 3
The text was updated successfully, but these errors were encountered: