this is not <reporting> but <reportPlugins>
but in fact, you should not use this but use standard pom's reporting section
instead of m-site-p configuration: see
http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Configuration_formats
Regards,
Hervé
Le mardi 19 août 2014 14:42:37 SEAN MCELROY a écrit :
> Hello,
>
> I am using maven 3.1.1 and I can get the maven-site-plugin to generate any
> java doc. The javadoc plugin works fine on it's own. I've tried all sorts
> of different configurations but haven't managed to generate and javadoc.
>
> Here is my current configuration. All help appreciated.
>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <version>3.4</version>
> <configuration>
> <reporting>
> <excludeDefaults>true</excludeDefaults>
>
> <outputDirectory>${project.build.directory}/site</outputDirectory>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
>
> <artifactId>maven-project-info-reports-plugin</artifactId>
> <version>2.7</version>
> <configuration>
>
> <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
> <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
> </configuration>
> <reportSets>
> <reportSet>
> <reports>
> <report>dependencies</report>
> <report>scm</report>
> </reports>
> </reportSet>
> </reportSets>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <version>2.9</version>
> <configuration>
>
> <outputDirectory>${project.build.directory}/javadoc</outputDirectory>
> <reportOutputDirectory>${project.reporting.outputDirectory}/javadoc</report
> OutputDirectory> </configuration>
> </plugin>
> </plugins>
> </reporting>
> </configuration>
> </plugin>
> </plugins>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]