Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Having trouble adding lifecycle mapping for jsonschema2pojo

I work on a project that has started to use the jsonschema2pojo maven plugin. I'm finding that Eclipse isn't generating the source automatically, so I assume this requires a lifecycle mapping entry.

In the "Lifecycle Mappings" preferences, I clicked "Open" to edit the file.  There were already two entries in it, for swagger and the compiler plugin.

I added the following new entry:

I saved the file, but I'm not sure what else I need to do to enable this.  I tried:
* clicking "Reload" in the preferences section
* project clean
* maven project update
* restarting Eclipse

None of these appeared to make any difference.

I also thought perhaps the "goal" might be "generate-sources", so I tried that, along with all the other steps, but that made no difference.

I checked in the eclipse log, and I didn't see any problems associated with this.

I am currently trying to get this working in eclipse 2021-03.

Back to the top