Oops.  I changed the type from File to String between the time I generated
the plugin.xml.  Sorry.  The type of base should be "File".

On 7/5/06, Mykel Alvis <[EMAIL PROTECTED]> wrote:


If I have the following parameters in my mojo (among others)
-----
    /**
     * Base directory of work for the wscompile process.
     * @parameter 
default-value="${project.build.directory}/generated-sources/jaxrpc-wscompile"

     * @required
     */
    private String base;
    /**
     * Both?
     * @parameter default-value="false"
     */
    private boolean both;
----

shouldn't it generate something more  interesting than this in the "<base"
configuration, or does that happen as part of the FM of maven mojos?

------
        <parameter>
          <name>sourceRoots</name>
          <type>java.util.List</type>
          <required>true</required>
          <editable>false</editable>
          <description>List of source roots containing non-test
code.</description>
        </parameter>
      </parameters>
      <configuration>
        <base implementation="java.io.File" default-value="""/>
        <dependencies implementation=" java.util.Set" default-value="""/>
        <outputDirectory implementation="java.io.File">${
project.build.directory}</outputDirectory>
        <sourceRoots implementation=" java.util.List" default-value="""/>
        <resources implementation="java.util.List" default-value="""/>
        <both implementation="boolean" default-value=""false""/>
        <project implementation="org.apache.maven.project.MavenProject"
default-value="""/>
      </configuration>

------

Mykel

--

Never wear anything that panics the cat. -- P. J. O'Rourke




--

Never wear anything that panics the cat. -- P. J. O'Rourke

Reply via email to