gnodet commented on PR #914:
URL: https://github.com/apache/maven/pull/914#issuecomment-1353655731

   @pzygielo the `toString()` methods generated by modello look very weird 
while the one that have been added manually in the modello schema looks ok.
   
   If you really need to target 3.x, I'd suggest to fix the [Modello 
`generateToString` 
method](https://github.com/codehaus-plexus/modello/blob/master/modello-plugins/modello-plugin-java/src/main/java/org/codehaus/modello/plugin/java/JavaModelloGenerator.java#L410-L456)
 or to modify the [modello 
model](https://github.com/apache/maven/blob/maven-3.8.x/maven-model/src/main/mdo/maven.mdo)
 to manually add sensible `toString()` method similar to the [existing 
ones](https://github.com/apache/maven/blob/maven-3.8.x/maven-model/src/main/mdo/maven.mdo#L1132-L1135).
   
   Or target the master branch where the generated classes can be more easily 
modified in the [velocity 
template](https://github.com/apache/maven/blob/master/api/maven-api-model/src/main/mdo/model.vm).
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to