the parameter type for "tags" must be of type java.util.List...unfortunately, I doubt that setting this from the command line would work. I don't think we have the code in place to support single-element List creation based on CLI-defined values.
Sorry, you will probably have to configure it in your POM. -john On 4/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I've tried using this both as a report plugin for the mvn site:site goal > and also from the command line. It fails for both of these... > > Any ideas? Looking at the stack trace and the debug info doesn't give me > much additional info. > > Thanks! > > C:\maventest\IPS-Main>mvn taglist:taglist -DmultipleLineComments=true > -Dtags=TOD > O > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'taglist'. > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Building Maven Quick Start Archetype > [INFO] task-segment: [taglist:taglist] > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to configure plugin parameters for: > org.codehaus.mojo:taglist-mave > n-plugin:2.0-SNAPSHOT > > (found static expression: 'TODO, @todo, FIXME, @deprecated' which may > act as > a default value). > > > Cause: Cannot assign configuration entry 'tags' to 'class > [Ljava.lang.String;' f > rom 'TODO, @todo, FIXME, @deprecated', which is of type class > java.lang.String > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1 second > [INFO] Finished at: Wed Apr 12 10:30:23 PDT 2006 > [INFO] Final Memory: 2M/5M > [INFO] > ------------------------------------------------------------------------ > > -j > > --------------------------------------------------- > Justin Fung > [EMAIL PROTECTED] > Sr. Analyst, Business Systems > IT Banking Systems, e-Business > HSBC Bank Canada > http://www.hsbc.ca > p: (604) 643-6605 > f: (604) 643-6727 > *************************************************************** > This email may contain confidential information, and is intended only for > the named recipient and may be privileged. Distribution or copying of > this email by anyone other than the named recipient is prohibited. If you > are not the named recipient, please notify us immediately and permanently > destroy this email and all copies of it. Internet email is not private, > secure, or reliable. No member of the HSBC Group is liable for any errors > or omissions in the content or transmission of this email. Any opinions > contained in this email are solely those of the author and, unless clearly > indicated otherwise in writing, are not endorsed by any member of the HSBC > Group. > *************************************************************** > Ce courriel peut renfermer des renseignements confidentiels et privilégiés > et s'adresse au destinataire désigné seulement. La distribution ou la > copie de ce courriel par toute personne autre que le destinataire désigné > est interdite. Si vous n'êtes pas le destinataire désigné, veuillez nous > en aviser immédiatement et détruire de façon permanente ce courriel ainsi > que toute copie de celui-ci. La transmission de courriel par Internet ne > constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. > Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des > omissions relatives au contenu ou à la transmission de ce courriel. > L'auteur de ce courriel est seul responsable des opinions émises dans ce > courriel, lesquelles, à moins d'un avis contraire fourni par écrit, ne > sont pas endossées par aucun membre du Groupe HSBC. > *************************************************************** > >
