Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add Aggregating Javadoc jar example

...

Linking to external Javadocs

Code Block
xml
xml
            <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <aggregate>true</aggregate>
                    <links>
                        <link>http://java.sun.com/j2se/1.4.2/docs/api</link>
                        <link>http://jakarta.apache.org/commons/chain/apidocs</link>
                    </links>
                </configuration>
            </plugin>

...

According to this, aggregation should also work for javadoc:jar.

Working example needed!

Example taken from here:

Code Block
xml
xml

                <plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-javadoc-plugin</artifactId>
			<executions>
				<execution>
					<id>attach-javadocs</id>
					<goals>
						<goal>jar</goal>
					</goals>
				</execution>
			</executions>
		</plugin>

Deploying Javadoc to a Remote Server (Windows, Putty, SCP)

...