You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "PJ Fanning (Jira)" <ji...@apache.org> on 2022/01/28 17:56:00 UTC

[jira] [Created] (XMLBEANS-594) handle case where schema generation derives a name with hyphen

PJ Fanning created XMLBEANS-594:
-----------------------------------

             Summary: handle case where schema generation derives a name with hyphen
                 Key: XMLBEANS-594
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-594
             Project: XMLBeans
          Issue Type: Improvement
          Components: Compiler
    Affects Versions: Version 5.0.3
            Reporter: PJ Fanning


Relates to https://issues.apache.org/jira/browse/XMLBEANS-593

The java package defaults to being derived based on the group and artifactId. They can contain hyphens but Java compiler will not accept hyphens.

There is a repackage param that allows you to set an explicit package name and avoid issues.

Still might be nice to automatically replace hyphens with underscores when deriving java package name.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org