Hi Justin, I've just picked up Maven repos here and there when I see them. Some are actually commented out in my real project poms. No real reason for including the legacy repos, just sent you the list as I'm not positive where these plugins are coming from, esp since these are SNAPSHOT versions...
You might need to add versions to some of those plugins? All 3 plugins are here: http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo/ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>1.0-SNAPSHOT</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> <version>2.0-SNAPSHOT</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javancss-maven-plugin</artifactId> <version>2.0-alpha1-SNAPSHOT</version> </plugin> On 4/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Wayne, > > I've copied all those into my settings.xml and no dice.. I'd like to have > as many automated reports as possible... Any other suggestions? I suppose > I could grab the jars manually and install? > I also noticed you have the legacy ibiblio repository in your settings. Is > there a reason for doing this? > > -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 > > > > > > > > > "Wayne Fay" <[EMAIL PROTECTED]> > 04/11/2006 03:06 PM > Please respond to "Maven Users List" > > > To: "Maven Users List" <[email protected]> > cc: > Subject: Re: PMD, CPD, cobertura, jdepend, etc. etc. on my > project site > > Our Ref: > Your Ref: > > > Here's my repos and plugin repos: > > <repositories> > <repository> > <id>dotsrc</id> > <url>http://mirrors.dotsrc.org/maven2/</url> > </repository> > <repository> > <id>ibiblio</id> > <url>http://www.ibiblio.org/maven2</url> > </repository> > <repository> > <id>ibiblio-legacy</id> > <url>http://www.ibiblio.org/maven</url> > <layout>legacy</layout> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </repository> > <repository> > <id>Maven Snapshots</id> > <url>http://snapshots.maven.codehaus.org/maven2/</url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>false</enabled> > </releases> > </repository> > <repository> > <id>apache.snapshots</id> > <name>Apache Development Repository</name> > <url>http://cvs.apache.org/maven-snapshot-repository</url> > <releases> > <enabled>false</enabled> > </releases> > </repository> > <repository> > <id>codehaus</id> > <url>http://dist.codehaus.org/</url> > <layout>default</layout> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </repository> > <repository> > <id>codehaus-legacy</id> > <url>http://dist.codehaus.org/</url> > <layout>legacy</layout> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </repository> > </repositories> > > <pluginRepositories> > <pluginRepository> > <id>dotsrc</id> > <url>http://mirrors.dotsrc.org/maven2/</url> > </pluginRepository> > <pluginRepository> > <id>ibiblio</id> > <url>http://www.ibiblio.org/maven2</url> > <releases> > <enabled>true</enabled> > </releases> > <snapshots> > <enabled>false</enabled> > </snapshots> > </pluginRepository> > <pluginRepository> > <id>codehaus-plugins</id> > <url>http://dist.codehaus.org/</url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </pluginRepository> > <pluginRepository> > <id>Maven Snapshots</id> > <url>http://snapshots.maven.codehaus.org/maven2/</url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>false</enabled> > </releases> > </pluginRepository> > <pluginRepository> > <id>cargo m2 snapshot repository</id> > <url>http://cargo.codehaus.org/dist2-snapshot</url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>false</enabled> > </releases> > </pluginRepository> > </pluginRepositories> > > One of those has 'em. ;-) > > Wayne > > > On 4/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Wayne, > > > > Thanks, this was what I was looking for... > > > > Just wondering where I can pick up findbugs, javancss and taglist > > plugins.. I didn't see it on the mojo svn repository. > > > > Thanks, > > > > -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 > > > > > > > > > > > > > > > > > > "Wayne Fay" <[EMAIL PROTECTED]> > > 04/11/2006 02:46 PM > > Please respond to "Maven Users List" > > > > > > To: "Maven Users List" <[email protected]> > > cc: > > Subject: Re: PMD, CPD, cobertura, jdepend, etc. etc. on my > project site > > > > Our Ref: > > Your Ref: > > > > > > Simply add all the plugins to your <reporting> section of your pom ie: > > > > <reporting> > > <plugins> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-project-info-reports-plugin</artifactId> > > </plugin> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-javadoc-plugin</artifactId> > > </plugin> > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>jxr-maven-plugin</artifactId> > > </plugin> > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>jdepend-maven-plugin</artifactId> > > </plugin> > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>findbugs-maven-plugin</artifactId> > > </plugin> > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>surefire-report-maven-plugin</artifactId> > > </plugin> > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>javancss-maven-plugin</artifactId> > > </plugin> > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>taglist-maven-plugin</artifactId> > > <configuration> > > <tags>TODO, @todo, FIXME, @deprecated</tags> > > </configuration> > > </plugin> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-checkstyle-plugin</artifactId> > > </plugin> > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>cobertura-maven-plugin</artifactId> > > </plugin> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-pmd-plugin</artifactId> > > </plugin> > > </plugins> > > </reporting> > > > > Then when you run "mvn site" it will automatically run all those > > plugins and generate the appropriate reports out of each plugin. > > > > You may need to specify some <configuration> elements in the plugins > > for things like <format>html</format> etc. > > > > Wayne > > > > On 4/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I'd love to automatically have all this stuff show up on my project > > site. > > > > > > Currently I do the following: > > > > > > mvn site:site > > > mvn pmd:pmd -Dformat=html > > > mvn pmd:cpd -Dformat=html > > > mvn cobertura:cobertura -Dformat=html > > > mvn jdepend:generate > > > mvn site:deploy > > > > > > I know I'm nitpicking, but is there some way to put this into the > > project > > > file to just run all these before doing site:deploy or do I need to > > define > > > a batch file that'll call all these targets? > > > > > > > > > -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. > > > *************************************************************** > > > > > > > > > > > > > > *************************************************************** > > 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. > > *************************************************************** > > > > > > > > *************************************************************** > 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. > *************************************************************** > >
