GMaven Plugin still not working with enums if trying to generate stubs?

View: New views
1 Messages — Rating Filter:   Alert me  

GMaven Plugin still not working with enums if trying to generate stubs?

by Rick R-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd really like to have stubs generated with the gmaven-plugin, but for some reason it always complains about:

...LabelValue.java:[35,11] modifier public not allowed here
 
My enum lis pretty simple (and everyrthing is fine if I don't try generate stubs:)

public enum LabelValueEnum {
        PRODUCTS("SELECT productID,productName from NPPProduct  order by productName",  "productName", "productID"),
        SYSTEMS("SELECT nppSystemID AS systemID,nppSystemName AS systemName FROM NPPSystem  order by nppSystemName",  "systemName", "systemID")

        private String query
        private String label
        private String value
       
        public String getQuery() { return query }
        public String getLabel() { return label }
        public String getvalue() { return value }
       
        LabelValueEnum(String query, String label, String value) {
            this.query = query
            this.label = label
            this.value = value
        }

}