Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-630

Add an 'aggregated-jar-no-fork' goal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.1
    • None
    • javadoc
    • None
    • Windows 10
      Eclipse 2019-03
      Jdk 8
      Maven 3.5.3
      maven-javadoc-plugin 3.1.1

    Description

      Same as MJAVADOC-444

      but for goal aggregated-jar-no-fork.

      As a workaround, in our project, we use the plugin execution instead of reportset (resulting in a small duplication of configuration block):

      <profile>
      	<id>quality-javadoc</id>
      	<activation>
      		<activeByDefault>false</activeByDefault>
      	</activation>
      	<reporting>
      		<plugins>
      			<plugin>
      				<groupId>org.apache.maven.plugins</groupId>
      				<artifactId>maven-javadoc-plugin</artifactId>
      				<reportSets>
      					<!-- aggregate-jar is not a report goal according to https://maven.apache.org/plugins/maven-javadoc-plugin/plugin-info.html -->
      					<reportSet>
      						<reports>
      							<report>javadoc-no-fork</report>
      						</reports>
      					</reportSet>
      					<reportSet>
      						<!-- Only for root pom.xml.
      						See https://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html -->
      						<inherited>false</inherited>
      						<reports>
      							<report>aggregate-no-fork</report>
      						</reports>
      					</reportSet>
      				</reportSets>
      			</plugin>
      		</plugins>
      	</reporting>
      </profile><profile>
      	<id>quality-javadoc-jar</id>
      	<activation>
      		<activeByDefault>false</activeByDefault>
      	</activation>
      	<build>
      		<plugins>
      			<plugin>
      				<groupId>org.apache.maven.plugins</groupId>
      				<artifactId>maven-javadoc-plugin</artifactId>
      				<executions>
      					<!-- aggregate-jar is not a report goal according to https://maven.apache.org/plugins/maven-javadoc-plugin/plugin-info.html -->
      					<execution>
      						<id>aggregate-jar</id>
      						<goals>
      							<goal>aggregate-jar</goal>
      						</goals>
      						<phase>site</phase>
      						<!-- Only for root pom.xml.
      						See https://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html -->
      						<inherited>false</inherited>
      					</execution>
      				</executions>
      			</plugin>
      		</plugins>
      	</build>
      </profile>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            antoine.tran Antoine Tran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: