I'm trying to modify my pom.xml so that it creates two different
versions of javadoc for my 1 project.  I want an internal version (has
everything in it ) and an external version for the same project (only
public modifier visible).

I've spent some time reading through the instructions here:
http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html
but whenever I run a javadoc:javadoc it generates 1 version of the
javadoc in the default location ../apidocs.

Here is how this plugin is configured in my pom.xml

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.7</version>
        <configuration>
 
<outputDirectory>${basedir}/target/apidocs/internal/</outputDirectory>
          <show>private</show>
          <nohelp>true</nohelp>
        </configuration>
      </plugin>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.7</version>
        <configuration>
 
<outputDirectory>${basedir}/target/apidocs/external/</outputDirectory>
          <show>public</show>
          <nohelp>false</nohelp>
        </configuration>
      </plugin>

I'm not getting an error in the javadoc:javadoc run, and it generates
the javadoc in the default location instead of where I specify in the
outputDirectory tag.  Am I missing something?

Thanks,
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to