[midPoint] Build from source

Viliam Repan vilo.repan at evolveum.com
Thu Oct 17 14:13:12 CEST 2013


Hi,

I've just tested master branch (git-v2.2-118-gfe96c5b)
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 6:37.529s
[INFO] Finished at: Thu Oct 17 14:03:00 CEST 2013
[INFO] Final Memory: 85M/777M

also v2.2-support branch (git-v2.2-83-gc79e1e0)
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 5:09.520s
[INFO] Finished at: Thu Oct 17 14:09:01 CEST 2013
[INFO] Final Memory: 83M/713M

I'm using:
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /usr/local/apache-maven-3.0.4
Java version: 1.7.0_40, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.5.0-41-generic", arch: "amd64", family: "unix"

Maven 2 version is supported not more...

Can you please provide environment settings like maven, java, OS, etc. 
if it's still not working?

Best regards,

Vilo

On 10/17/2013 01:10 PM, Lucie Rút Bittnerová wrote:
> 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
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-- 
Ing. Viliam Repáň
Evolveum, s.r.o.

tel: +421 910 797978
mail: vilo.repan at evolveum.com




More information about the midPoint mailing list