[ 
http://jira.magnolia-cms.com/browse/BUILD-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grégory Joseph updated BUILD-88:
--------------------------------

          Summary: Allow annotations at package level in checkstyle rules  
(was: Check Style task should not reject package-info.java classes)
    Fix Version/s: Build Tools 1.5.10
                   POMs 21
      Description: 
When {{package-info.java}} contains annotations before the package declaration, 
the current rules fail, since we explicitly expect a {{package}} declaration 
after the license header.
Since Checkstyle doesn't seem to differentiate between actual java sources and 
package-info, we could relax the regexp for header checks, and let is pass with 
annotations as well.

  was:
package-info.java could contains annotations before the package declaration.

This is currently rejected by the maven check style task. 

      Component/s: poms

> Allow annotations at package level in checkstyle rules
> ------------------------------------------------------
>
>                 Key: BUILD-88
>                 URL: http://jira.magnolia-cms.com/browse/BUILD-88
>             Project: Build
>          Issue Type: Bug
>          Components: build-tools, poms
>    Affects Versions: POMs 19
>            Reporter: Eric Hechinger
>            Assignee: Grégory Joseph
>             Fix For: Build Tools 1.5.10, POMs 21
>
>
> When {{package-info.java}} contains annotations before the package 
> declaration, the current rules fail, since we explicitly expect a {{package}} 
> declaration after the license header.
> Since Checkstyle doesn't seem to differentiate between actual java sources 
> and package-info, we could relax the regexp for header checks, and let is 
> pass with annotations as well.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to