title: Building hadoop with Maven error: maven-javadoc-plugin
body: <p>I am building Hadoop using following command:</p>
  
  <pre><code>mvn package -Pdist,native,docs -DskipTests -Dtar
  </code></pre>
  
  <p>It gives following error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar (module-javadocs) on project hadoop-annotations: MavenReportException: Error while creating archive:
  [ERROR] Exit code: 1 - /tmp/hadoop-2.5.0-src/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java:27: error: unexpected end tag: &lt;/ul&gt;
  [ERROR] * &lt;/ul&gt;
  </code></pre>
  
  <p>This error is happening while building the <code>Apache Hadoop Annotations</code> module:</p>
  
  <pre><code>[INFO] Apache Hadoop Main ................................ SUCCESS [1.000s]
  [INFO] Apache Hadoop Project POM ......................... SUCCESS [1.350s]
  [INFO] Apache Hadoop Annotations ......................... FAILURE [2.393s]
  </code></pre>