[midPoint] Build from source

Lucie Rút Bittnerová lucie.bittnerova at ami.cz
Thu Oct 17 13:10:49 CEST 2013


Hello,

I'd like to build midpoint from source code. Initially I tryed to build 
the latest version from git repository, but there is some source code 
inconsistency (unknown symbols), so I'm trying to build the version 
v2.2. But I get following error. Does anybody know where is the problem?

Thanks
Lucie

[ERROR] Failed to execute goal 
org.apache.cxf:cxf-codegen-plugin:2.4.3:wsdl2java (generate-sources) on 
project model-cli
ent: org.apache.cxf.wsdl11.WSDLRuntimeException: Fail to create wsdl 
definition from : file:/C:/Users/hobit/git/midpoint
/model/model-client/target/midpoint-schema/xml/ns/private/model/modelWrapper.wsdl
[ERROR] Caused by : WSDLException (at /definitions/import): 
faultCode=PARSER_ERROR: Problem parsing 'http://midpoint.evo
lveum.com/xml/ns/public/model/model-1.wsdl'.: 
org.xml.sax.SAXParseException: White spaces are required between publicId
and systemId.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to 
execute goal org.apache.cxf:cxf-codegen-plugin:2.4.3:w
sdl2java (generate-sources) on project model-client: 
org.apache.cxf.wsdl11.WSDLRuntimeException: Fail to create wsdl def
inition from : 
file:/C:/Users/hobit/git/midpoint/model/model-client/target/midpoint-schema/xml/ns/private/model/modelWra
pper.wsdl
Caused by : WSDLException (at /definitions/import): 
faultCode=PARSER_ERROR: Problem parsing 'http://midpoint.evolveum.co
m/xml/ns/public/model/model-1.wsdl'.: org.xml.sax.SAXParseException: 
White spaces are required between publicId and syst
emId.
         at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
         at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
         at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
         at 
org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:364)
         at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:198)
         at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
         at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
         at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
         at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
         at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
         at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
Caused by: org.apache.maven.plugin.MojoExecutionException: 
org.apache.cxf.wsdl11.WSDLRuntimeException: Fail to create ws
dl definition from : 
file:/C:/Users/hobit/git/midpoint/model/model-client/target/midpoint-schema/xml/ns/private/model/mo
delWrapper.wsdl
Caused by : WSDLException (at /definitions/import): 
faultCode=PARSER_ERROR: Problem parsing 'http://midpoint.evolveum.co
m/xml/ns/public/model/model-1.wsdl'.: org.xml.sax.SAXParseException: 
White spaces are required between publicId and syst
emId.
         at 
org.apache.cxf.maven_plugin.WSDL2JavaMojo.callWsdl2Java(WSDL2JavaMojo.java:613)
         at 
org.apache.cxf.maven_plugin.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:436)
         at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
         at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
         ... 23 more
Caused by: org.apache.cxf.tools.common.ToolException: 
org.apache.cxf.wsdl11.WSDLRuntimeException: Fail to create wsdl de
finition from : 
file:/C:/Users/hobit/git/midpoint/model/model-client/target/midpoint-schema/xml/ns/private/model/modelWr
apper.wsdl
Caused by : WSDLException (at /definitions/import): 
faultCode=PARSER_ERROR: Problem parsing 'http://midpoint.evolveum.co
m/xml/ns/public/model/model-1.wsdl'.: org.xml.sax.SAXParseException: 
White spaces are required between publicId and syst
emId.
         at 
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:294)
         at 
org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
         at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
         at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
         at 
org.apache.cxf.maven_plugin.WSDL2JavaMojo.callWsdl2Java(WSDL2JavaMojo.java:610)
         ... 26 more
Caused by: org.apache.cxf.wsdl11.WSDLRuntimeException: Fail to create 
wsdl definition from : file:/C:/Users/hobit/git/mi
dpoint/model/model-client/target/midpoint-schema/xml/ns/private/model/modelWrapper.wsdl
Caused by : WSDLException (at /definitions/import): 
faultCode=PARSER_ERROR: Problem parsing 'http://midpoint.evolveum.co
m/xml/ns/public/model/model-1.wsdl'.: org.xml.sax.SAXParseException: 
White spaces are required between publicId and syst
emId.
         at 
org.apache.cxf.wsdl11.WSDLDefinitionBuilder.parseWSDL(WSDLDefinitionBuilder.java:97)
         at 
org.apache.cxf.wsdl11.WSDLDefinitionBuilder.build(WSDLDefinitionBuilder.java:69)
         at 
org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.build(JAXWSDefinitionBuilder.java:84
)
         at 
org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.build(JAXWSDefinitionBuilder.java:61
)
         at 
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:171)
         at 
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:138)
         at 
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:286)
         ... 30 more
Caused by: javax.wsdl.WSDLException: WSDLException (at 
/definitions/import): faultCode=PARSER_ERROR: Problem parsing 'ht
tp://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl'.: 
org.xml.sax.SAXParseException: White spaces are required
between publicId and systemId.
         at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source)
         at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source)
         at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
         at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         at 
org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:237)
         at 
org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:186)
         at 
org.apache.cxf.wsdl11.WSDLDefinitionBuilder.parseWSDL(WSDLDefinitionBuilder.java:78)
         ... 36 more
Caused by: org.xml.sax.SAXParseExceptionpublicId: 
http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl; systemI
d: http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl; 
lineNumber: 1; columnNumber: 50; White spaces are requ
ired between publicId and systemId.
         at 
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
         at 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
         ... 44 more





More information about the midPoint mailing list