On Thu, 2005-10-06 at 00:55 +1000, Robert Biernat wrote:
> Hi,
> 
>  
> 
> I'm looking for info that shows how a m2 plugins configuration which is
> specified in the pom maps to the mojos parameters. 
> 
>  
> For example lets say I had a mojo that had a parameter of type String[]
> called options.

<project>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-magic-plugin</artifactId>
        <configuration>
          <options>
            <option implementation="java.lang.String>one</option>
            <option implementation="java.lang.String>two</option>
            <option implementation="java.lang.String>three</option>
          </options>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>

Having to specify the implementation there will be fixed shortly but
that's what you have to do for now and the fix will be backward
compatible we're just going to default to java.lang.String.

-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

We all have problems. How we deal with them is a measure of our worth.

 -- Unknown


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to