[ 
https://issues.apache.org/jira/browse/CXF-8436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17299117#comment-17299117
 ] 

Jurrie Overgoor commented on CXF-8436:
--------------------------------------

Hi [~ffang],

I see, there is xjc as well! 😀 I think I indeed need to make a plugin for 
that...

But still, there is WSDL2Java, and there are timestamps in the code it 
generates as well. Please see my [pull request 
#759|https://github.com/apache/cxf/pull/759] for an example of what I mean. 
Please note: this pull request is primarily to clarify my point. Because of 
that, I went for the quick route, and reused `--suppress-generated-date`. I 
know you tend to disagree on that point; please do not take offense. I'm more 
than happy to introduce a different flag.

With kind regards,

Jurrie

> Support reproducable builds together with @Generated
> ----------------------------------------------------
>
>                 Key: CXF-8436
>                 URL: https://issues.apache.org/jira/browse/CXF-8436
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 3.3.8
>            Reporter: Jurrie Overgoor
>            Priority: Major
>
> We are trying to get our build reproducable. We use wsdl2java for generating 
> Java classes from WSDL files, and currently have -mark-generated in effect.
> This causes problems, as there are timestamps written to the @Generated tag. 
> I hoped that -suppress-generated-date would suppress this, but it only 
> affects the generated Javadoc comment.
> Can we get -suppress-generated-date to also suppress outputting timestamps in 
> the @Generated annotations?
>  
> When we settle on how to approach this, I would be happy to submit a pull 
> request.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to