cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache CXF Documentation > Maven cxf-codegen-plugin (WSDL to Java)
Date Wed, 04 Apr 2012 17:53:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/1/_/styles/combined.css?spaceKey=CXF20DOC&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/CXF20DOC/Maven+cxf-codegen-plugin+%28WSDL+to+Java%29?focusedCommentId=27843292#comment-27843292">Maven
cxf-codegen-plugin (WSDL to Java)</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://cwiki.apache.org/confluence/display/~jglick">Jesse
Glick</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
<pre class="code-xml"><span class="code-tag">&lt;sourceRoot&gt;</span>${basedir}/target/generated/src/main/java<span
class="code-tag">&lt;/sourceRoot&gt;</span></pre>
</div></div>
<p> is poor style since you may have several plugins generating sources, and this directory
name does not even mention CXF. </p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml"><span class="code-tag">&lt;sourceRoot&gt;</span>${project.build.directory}/generated/cxf<span
class="code-tag">&lt;/sourceRoot&gt;</span></pre>
</div></div>
<p> is better but a bit nonstandard. The conventional value </p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml"><span class="code-tag">&lt;sourceRoot&gt;</span>${project.build.directory}/generated-sources/cxf<span
class="code-tag">&lt;/sourceRoot&gt;</span></pre>
</div></div>
<p> is in fact the default value for this parameter, so you should leave it alone unless
you really need to customize it.</p>

<p>Also note that the NetBeans IDE will detect generated source roots only insofar as
they are named according to the pattern <tt>target/generated-sources/SOMETHING</tt>
(or <tt>generated-test-sources</tt> in the case of <tt>testSourceRoot</tt>,
which curiously has no default value).</p>
    </div>

        
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/Maven+cxf-codegen-plugin+%28WSDL+to+Java%29?focusedCommentId=27843292#comment-27843292">View
Online</a>
              |
       <a id="reply-27843292" href="https://cwiki.apache.org/confluence/display/CXF20DOC/Maven+cxf-codegen-plugin+%28WSDL+to+Java%29?replyToComment=27843292#comment-27843292">Reply
To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message