Skip to content
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

Eclipse Maven, codegen @DataObject(generateConverter=true) doesn't work #184

Open
githubhhb opened this issue Jun 1, 2018 · 0 comments
Open

Comments

@githubhhb
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant