Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#184 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
tooling

Research direction

Start by reviewing the pom.xml annotation-processor configuration and the package-info.java declaration for com.vertx.entity, then run the Maven build using the reported Vert.x 3.5.1 setup. Check whether CodeGenProcessor processes SysLog and whether the expected entity converter is generated; done means the converter appears after a clean compile.

Written by the indexing model from the issue text.

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.

Dominant language
Java
Stars
111
Forks
88
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-vertx/vertx-codegen

All issues in eclipse-vertx/vertx-codegen

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.