Just to be sure, since you're a new Maven user, you realize these need
to be declared in your pom.xml in the <reporting> element, right?
<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>
And don't bother trying to use Cobertura until 2.0.3 comes out.
Wayne
On 3/15/06, Boris Lenzinger <[EMAIL PROTECTED]> wrote:
> I'm trying to use some plugins (cobertura, jdepend, changes) that are on
> this site
> http://snapshots.maven.codehaus.org/maven2 but I cannot configure my
> environment so it accepts to download both pom files and jar files. It
> stops after pom saying A required plugin was not found
> Could you tell me how you configured your environment to download from
> this site through maven2 please ?
> I tried with a profile but if it is ok for poms, it then searches for
> jar on central repository.
>
> Thanks in advance.
>
> Boris
>
> Olivier Lamy wrote:
>
> >Lucky user ;-)
> >
> >I have found why.
> >My reporting section in my pom doesn't have reporting but in my site.xml
> >I have ${reports}.
> >Solution :
> >removing ${reports} in site.xml
> >Or
> >Adding a report.
> >
> >But I don't understand the naming :
> >
> >2.0-20060315.083713-4
> >2.0-20060315.092459-4
> >
> >With two files ended with *-4 ??
> >
> >
> >- Olivier
> >
> >
> >-----Message d'origine-----
> >De : Cabasson Denis [mailto:[EMAIL PROTECTED]
> >Envoyé : mercredi 15 mars 2006 14:32
> >À : 'Maven Users List'
> >Objet : RE: RE : RE : [M202] Nightly site plugin broken?
> >
> >
> >2.0-20060315.083713-4 was working fine for me, NPE returned in
> >2.0-20060315.092459-4.
> >
> >And now, it has been taken out of the repository.
> >
> >Strange things happening :-)
> >
> >Hope the maven-site-plugin is stille alive somewhere.
> >
> >Denis.
> >
> >-----Message d'origine-----
> >De : Olivier Lamy [mailto:[EMAIL PROTECTED]
> >Envoyé : mercredi 15 mars 2006 14:21
> >À : 'Maven Users List'
> >Objet : RE : RE : [M202] Nightly site plugin broken?
> >
> >
> >Why maven-site-plugin have been removed from
> >http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/ ??
> >Yesterday, a good snapshot worked in this repository. Today no more only
> >a bad one in
> >http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins
> >/maven-site-plugin/.
> >
> >Not very cool .
> >
> >---
> >Olivier (who is trying : mvn site ;-)
> >
> >-----Message d'origine-----
> >De : Olivier Lamy [mailto:[EMAIL PROTECTED]
> >Envoyé : mercredi 15 mars 2006 12:06
> >À : 'Maven Users List'
> >Objet : RE : [M202] Nightly site plugin broken?
> >
> >
> >Maybe but look at :
> >http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins
> >/maven-site-plugin/2.0-SNAPSHOT/?C=M;O=D
> >
> >maven-site-plugin-2.0-20060315.092459-4.jar (this one failed with same
> >NPE)
> >
> >[INFO] snapshot org.apache.maven.skins:maven-stylus-skin:1.0-SNAPSHOT:
> >checking
> >for updates from rec-ap2
> >[INFO] snapshot org.apache.maven.skins:maven-stylus-skin:1.0-SNAPSHOT:
> >checking
> >for updates from rec-ap2-snapshots
> >[INFO] Skipped "About" report, file "index.html" already exists for the
> >English version. [INFO]
> >------------------------------------------------------------------------
> >-
> >---
> >[ERROR] FATAL ERROR
> >[INFO]
> >------------------------------------------------------------------------
> >-
> >---
> >[INFO] null
> >[INFO]
> >------------------------------------------------------------------------
> >-
> >---
> >[INFO] Trace
> >java.lang.NullPointerException
> > at
> >org.apache.maven.plugins.site.AbstractSiteRenderingMojo.populateRepor
> >tsMenu(AbstractSiteRenderingMojo.java:704)
> > at
> >org.apache.maven.plugins.site.AbstractSiteRenderingMojo.locateDocumen
> >ts(AbstractSiteRenderingMojo.java:811)
> > at
> >org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:110
> >)
> >....
> >
> >Strange same end id as 2.0-20060315.083713-4 ?
> >Normal ?
> >
> >- Olivier
> >
> >-----Message d'origine-----
> >De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Carlos
> >Sanchez Envoyé : mercredi 15 mars 2006 11:33 À : Maven Users List Objet
> >: Re: [M202] Nightly site plugin broken?
> >
> >
> >There's a 2.0-20060315.083713-4 already there
> >
> >On 3/15/06, Cabasson Denis <[EMAIL PROTECTED]> wrote:
> >
> >
> >>I'm working on the nightly builds of maven plugins, and the latest
> >>site plugin (20060314.165130-3) isn't working on my projects, which
> >>worked just fine yesterday.
> >>
> >>Here is the error stacktrace:
> >>[INFO] [site:site]
> >>[INFO]
> >>----------------------------------------------------------------------
> >>------
> >>[ERROR] FATAL ERROR
> >>[INFO]
> >>
> >>
> >>
> >------------------------------------------------------------------------
> >----
> >
> >
> >>[INFO] null
> >>[INFO]
> >>
> >>
> >>
> >------------------------------------------------------------------------
> >----
> >
> >
> >>[INFO] Trace
> >>java.lang.NullPointerException
> >> at
> >>
> >>
> >>
> >org.apache.maven.plugins.site.AbstractSiteRenderingMojo.populateReportsM
> >enu(
> >
> >
> >>AbstractSiteRenderingMojo.java:704)
> >> at
> >>
> >>
> >>
> >org.apache.maven.plugins.site.AbstractSiteRenderingMojo.locateDocuments(
> >Abst
> >
> >
> >>ractSiteRenderingMojo.java:811)
> >> at
> >>org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:110)
> >> at
> >>
> >>
> >org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
> >
> >
> >> at
> >>
> >>
> >>
> >org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> >nage
> >
> >
> >>r.java:415)
> >> at
> >>
> >>
> >>
> >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> >Life
> >
> >
> >>cycleExecutor.java:531)
> >> at
> >>
> >>
> >>
> >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> >ycle
> >
> >
> >>(DefaultLifecycleExecutor.java:472)
> >> at
> >>
> >>
> >>
> >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> >ifec
> >
> >
> >>ycleExecutor.java:451)
> >> at
> >>
> >>
> >>
> >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> >Fail
> >
> >
> >>ures(DefaultLifecycleExecutor.java:303)
> >> at
> >>
> >>
> >>
> >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> >Defa
> >
> >
> >>ultLifecycleExecutor.java:270)
> >> at
> >>
> >>
> >>
> >org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> >ycle
> >
> >
> >>Executor.java:139)
> >> at
> >>
> >>
> >org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> >
> >
> >> at
> >>
> >>
> >org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> >
> >
> >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> at
> >>
> >>
> >>
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> >a:39
> >
> >
> >>)
> >> at
> >>
> >>
> >>
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> >Impl
> >
> >
> >>.java:25)
> >> at java.lang.reflect.Method.invoke(Method.java:585)
> >> at
> >>org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >> at
> >>org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >>
> >>I'm reverting to the previous version of this plugin, which is working
> >>
> >>
> >
> >
> >
> >>just fine for me.
> >>
> >>Am I the only one experiencing problem with this one? Is this due to
> >>some change in the reports handling?
> >>
> >>Thx!
> >>
> >>Denis
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >
> >
> >--
> >I could give you my word as a Spaniard.
> >No good. I've known too many Spaniards.
> > -- The Princess Bride
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >This e-mail, any attachments and the information contained therein
> >("this message") are confidential and intended solely for the use of the
> >addressee(s). If you have received this message in error please send it
> >back to the sender and delete it. Unauthorized publication, use,
> >dissemination or disclosure of this message, either in whole or in part
> >is strictly prohibited.
> >**********************************************************************
> >Ce message électronique et tous les fichiers joints ainsi que les
> >informations contenues dans ce message ( ci après "le message" ), sont
> >confidentiels et destinés exclusivement à l'usage de la personne à
> >laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
> >merci de le renvoyer à son émetteur et de le détruire. Toutes
> >diffusion, publication, totale ou partielle ou divulgation sous quelque
> >forme que se soit non expressément autorisées de ce message, sont
> >interdites.
> >**********************************************************************
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>