Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 1386 invoked from network); 9 Dec 2010 04:28:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Dec 2010 04:28:27 -0000 Received: (qmail 16065 invoked by uid 500); 9 Dec 2010 04:28:26 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 15944 invoked by uid 500); 9 Dec 2010 04:28:26 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 15931 invoked by uid 99); 9 Dec 2010 04:28:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 04:28:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 04:28:23 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB94S2IA004374 for ; Thu, 9 Dec 2010 04:28:02 GMT Message-ID: <15051484.30771291868882477.JavaMail.jira@thor> Date: Wed, 8 Dec 2010 23:28:02 -0500 (EST) From: "Nithya (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-3129) wsdl2java: place @Generated annotation on generated code In-Reply-To: <32624541.107791289913614000.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969625#action_12969625 ] Nithya commented on CXF-3129: ----------------------------- Made changes in 2 places 1. Passing -mark-generated attribute to XJC 2. Changes in velocity templates > wsdl2java: place @Generated annotation on generated code > -------------------------------------------------------- > > Key: CXF-3129 > URL: https://issues.apache.org/jira/browse/CXF-3129 > Project: CXF > Issue Type: New Feature > Components: Tooling > Affects Versions: 2.3.0 > Reporter: Andrew Spencer > Priority: Minor > Attachments: Patch for CXF 3129.txt > > > It would be considerate on the part of CXF to place @Generated on the Java source generated by wsdl2java. > @Generated is in the javax.annotation package and is a marker for generated code. It allows code quality tools to ignore the generated code, as described in this feature request for Sonar: http://jira.codehaus.org/browse/SONAR-1042 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.