java2wsdl goal of the codegen plugin turns off all maven output if the 'quiet' 
tag is set...
--------------------------------------------------------------------------------------------

                 Key: CXF-912
                 URL: https://issues.apache.org/jira/browse/CXF-912
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.1
         Environment: maven 2.0.7, cxf 2.1-incubator-SNAPSHOT
            Reporter: Jason Rosenberg


if I set the quiet arg to the java2wsdl goal of the cxf codegen plugin, it 
turns off all the output for everything maven does subsequently....

I can't see how or why this should be, in looking at the plugin source 
code.....unless the <quiet> tag has global meaning within maven in general?

Here's the maven pom.xml snippet that I'm using....If I don't set the quiet tag 
there, then my maven build does several things after running the java2wsdl, and 
there's lots of output....If I set the quiet tag, then I don't see anything 
else at all (not a peep) until maven completes (but it does seem to do more 
work, I can see the evidence of it in the generated build artifacts, etc.)...

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-codegen-plugin</artifactId>
        <dependencies>
          <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-frontend-jaxws</artifactId>
            <version>2.1-incubator-SNAPSHOT</version>
          </dependency>
        </dependencies>
        <executions>
          <execution>
            <id>generate-wsdl</id>
            <phase>process-classes</phase>
            <configuration>
              <className>com.myServiceImpl</className>
              <serviceName>MyService</serviceName>
              
<outputFile>${basedir}/target/classes/wsdl/MyService.wsdl</outputFile>
              <classpath>${basedir}/target/classes</classpath>
              <quiet>true</quiet>
            </configuration>
            <goals>
              <goal>java2wsdl</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

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

Reply via email to