You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bartek Zdanowski (JIRA)" <ji...@apache.org> on 2013/11/19 14:53:21 UTC

[jira] [Created] (CXF-5397) wsdl2java marker file name can exceed 255 chars

Bartek Zdanowski created CXF-5397:
-------------------------------------

             Summary: wsdl2java marker file name can exceed 255 chars
                 Key: CXF-5397
                 URL: https://issues.apache.org/jira/browse/CXF-5397
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.7.7
         Environment: Linux, windows
            Reporter: Bartek Zdanowski
         Attachments: AbstractCodegenMoho.java

During wsdl2java generation a marker file is created. It's name is created from WSDL URI (location on disk). When it exceeds 255 chars it will produce error during plugin execution.

[ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.7.7:wsdl2java (generate-sources-projectName) on project bank-simulator: Failed to create marker file /marker/file/path

Additionally, if maven submode with wsdl2java is called from parent submodule eg.

mvn clean install -pl submoduleName

then markerfile nale length gets a lot bigger because base path to submodule is not stripped.



--
This message was sent by Atlassian JIRA
(v6.1#6144)