axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Lee-Shoy (JIRA)" <>
Subject [jira] Created: (AXIS2-3835) problem running wsdl2code in multi-level maven projects (at the parent project level)
Date Tue, 03 Jun 2008 23:56:45 GMT
problem running wsdl2code in multi-level maven projects (at the parent project level)

                 Key: AXIS2-3835
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.4
         Environment: Windows XP Professional
            Reporter: Greg Lee-Shoy


Our team is currently using Axis2 version 1.3, and looking at upgrading to version 1.4.  We've
encountered a problem when using the 1.4 version of the wsdl2code maven plugin in maven projects
that have parent-child relationships.  When generating Java code from wsdl at the level of
the child project there is no problem, but if we try to generate (i.e. run mvn clean install)
at the level of the parent project then we get an error similar to the one below: This file was not found: file:/C:/Java/parent/src
        at Source)

        at Source)
        at Source)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
        at org.apache.axis2.maven2.wsdl2code.WSDL2CodeMojo.execute(WSDL2CodeMojo
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
        at org.apache.maven.DefaultMaven.doExecute(
        at org.apache.maven.DefaultMaven.execute(
        at org.apache.maven.cli.MavenCli.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
        at java.lang.reflect.Method.invoke(
        at org.codehaus.classworlds.Launcher.launchEnhanced(
        at org.codehaus.classworlds.Launcher.launch(
        at org.codehaus.classworlds.Launcher.mainWithExitCode(

        at org.codehaus.classworlds.Launcher.main(
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Error parsing WSDL

This file was not found: file:/C:/Java/parent/src/main/wsdl/Emailvernotestemail.

It seems to exclude the child folder from the path to the wsdl file.

I've included a zipped folder structure; running mvn clean install in the 'parent' directory
compared to running in the 'child' directory should illustrate the problem...

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message