You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2008/07/19 16:09:43 UTC
svn commit: r678161 -
/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java
Author: vsiveton
Date: Sat Jul 19 07:09:43 2008
New Revision: 678161
URL: http://svn.apache.org/viewvc?rev=678161&view=rev
Log:
o fixed clirr report
Modified:
maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java
Modified: maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java?rev=678161&r1=678160&r2=678161&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java (original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java Sat Jul 19 07:09:43 2008
@@ -149,8 +149,19 @@
/**
* Copy from {@link MavenProject#getCompileArtifacts()}
* @param artifacts not null
+ * @return list of compile artifacts with compile scope
+ * @deprecated since 2.5, using {@link #getCompileArtifacts(Set, boolean)} instead of.
+ */
+ protected static List getCompileArtifacts( Set artifacts )
+ {
+ return getCompileArtifacts( artifacts, false );
+ }
+
+ /**
+ * Copy from {@link MavenProject#getCompileArtifacts()}
+ * @param artifacts not null
* @param withTestScope flag to include or not the artifacts with test scope
- * @return list of compile artifacts
+ * @return list of compile artifacts with or without test scope.
*/
protected static List getCompileArtifacts( Set artifacts, boolean withTestScope )
{
@@ -259,8 +270,24 @@
*
* @param outputDirectory the output directory
* @param javadocDir the javadoc directory
+ * @throws IOException if any
+ * @deprecated since 2.5, using {@link #copyJavadocResources(File, File, String)} instead of.
+ */
+ protected static void copyJavadocResources( File outputDirectory, File javadocDir )
+ throws IOException
+ {
+ copyJavadocResources( outputDirectory, javadocDir, null );
+ }
+
+ /**
+ * Convenience method that copy all <code>doc-files</code> directories from <code>javadocDir</code>
+ * to the <code>outputDirectory</code>.
+ *
+ * @param outputDirectory the output directory
+ * @param javadocDir the javadoc directory
* @param excludedocfilessubdir the excludedocfilessubdir parameter
* @throws IOException if any
+ * @since 2.5
*/
protected static void copyJavadocResources( File outputDirectory, File javadocDir, String excludedocfilessubdir )
throws IOException