eclipse-vertx / eclipse-vertx/vertx-codegen
Eclipse Maven, codegen @DataObject(generateConverter=true) doesn't work
- Dominant language
- Java
- Stars
- 111
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Hi, thank you for seeing this little problem!
environment: Eclipse neon, Maven, jdk8
I'm using Vertx 3.5.1 and I already done the work below:
1.add plugin CodeGenProcessor in the file pom.xml
maven-compiler-plugin
3.1
1.8
1.8
UTF8
false
default-compile
io.vertx.codegen.CodeGenProcessor
-AoutputDirectory=${basedir}/src/main/java
2.add vertx-codegen jar in the file pom.xml
io.vertx
vertx-codegen
3.5.1
processor
provided
3.add @DataObject(generateConverter=true) to the entity class:
@DataObject(generateConverter=true)
public class SysLog{
……
}
4.add package-info.java file at the entity's path
@ModuleGen(name = "entity", groupPackage="com.vertx.entity")
package com.vertx.entity;
import io.vertx.codegen.annotations.ModuleGen;
but still not entity converter no matter how many times I edit the entity file or compiled the whole project.
Please check this problem.
Contributor guide
Assessment
This issue has not been assessed yet.