We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello. I tried to turn on custom naming strategy as of https://stackoverflow.com/a/34096471 Maven project properties are:
<java.version>1.8</java.version> <hyperjaxb3.version>0.6.3-SNAPSHOT</hyperjaxb3.version> <maven-jaxb2-plugin.version>0.13.3</maven-jaxb2-plugin.version> <jaxb.version>2.2.11</jaxb.version>
And it is working with hyperjaxb3-maven-plugin:
<plugin> <groupId>org.jvnet.hyperjaxb3</groupId> <artifactId>hyperjaxb3-maven-plugin</artifactId> <version>${hyperjaxb3.version}</version> <executions> <execution> <goals> <goal>generate</goal> </goals> </execution> </executions> <configuration> <extension>true</extension> <roundtripTestClassName>RoundtripTest</roundtripTestClassName> </configuration> <dependencies> <dependency> <groupId>org.jvnet.hyperjaxb3</groupId> <artifactId>hyperjaxb3-ejb-extensions-custom-naming-pre_0_6_0</artifactId> <version>${hyperjaxb3.version}</version> </dependency> </dependencies> </plugin>
But I can't make it working with maven-jaxb2-plugin/hyperjaxb3-ejb-plugin . Tried like this (see comment <-- FIRST --> <-- SECOND --> <-- THIRD --> ):
<plugin> <groupId>org.jvnet.jaxb2.maven2</groupId> <artifactId>maven-jaxb2-plugin</artifactId> <version>${maven-jaxb2-plugin.version}</version> <executions> <execution> <goals> <goal>generate</goal> </goals> </execution> </executions> <configuration> <extension>true</extension> <-- some other .... --> <plugins> <plugin> <groupId>org.jvnet.hyperjaxb3</groupId> <artifactId>hyperjaxb3-ejb-plugin</artifactId> <version>${hyperjaxb3.version}</version> <-- FIRST --> <dependencies> <dependency> <groupId>org.jvnet.hyperjaxb3</groupId> <artifactId>hyperjaxb3-ejb-extensions-custom-naming-pre_0_6_0</artifactId> <version>${hyperjaxb3.version}</version> </dependency> </dependencies> <-- Gives error: Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.3:generate (default) on project entity-gen: Unable to parse configuration of mojo org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.3:generate for parameter dependencies: Cannot find 'dependencies' in class org.apache.maven.model.Dependency -> [Help 1] --> </plugin> <plugin> <groupId>org.jvnet.hyperjaxb3</groupId>--> <artifactId>hyperjaxb3-ejb-extensions-custom-naming-pre_0_6_0</artifactId> <version>${hyperjaxb3.version}</version> </plugin> <-- SECOND --> <dependencies> <dependency> <groupId>org.jvnet.hyperjaxb3</groupId> <artifactId>hyperjaxb3-ejb-extensions-custom-naming-pre_0_6_0</artifactId> <version>${hyperjaxb3.version}</version> </dependency> </dependencies> <-- Gives error: Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.3:generate (default) on project entity-gen: Unable to parse configuration of mojo org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.3:generate for parameter dependency: Cannot find 'dependency' in class org.apache.maven.model.Dependency -> [Help 1] --> </plugins> <args> <arg>-Xequals</arg> <-- some other .... --> </args> </configuration> <-- THIRD--> <dependencies> <dependency> <groupId>org.jvnet.hyperjaxb3</groupId> <artifactId>hyperjaxb3-ejb-extensions-custom-naming-pre_0_6_0</artifactId> <version>${hyperjaxb3.version}</version> </dependency> </dependencies> <-- NO EFFECT --> </plugin>
hyperjaxb3-ejb-extensions-custom-naming-pre_0_6_0 is also in main pom dependencies - no effect.
Is it possible to use custom naming strategy with maven-jaxb2-plugin/hyperjaxb3-ejb-plugin combo ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello.
I tried to turn on custom naming strategy as of https://stackoverflow.com/a/34096471
Maven project properties are:
And it is working with hyperjaxb3-maven-plugin:
But I can't make it working with maven-jaxb2-plugin/hyperjaxb3-ejb-plugin .
Tried like this (see comment <-- FIRST --> <-- SECOND --> <-- THIRD --> ):
hyperjaxb3-ejb-extensions-custom-naming-pre_0_6_0 is also in main pom dependencies - no effect.
Is it possible to use custom naming strategy with maven-jaxb2-plugin/hyperjaxb3-ejb-plugin combo ?
The text was updated successfully, but these errors were encountered: