Skip to content

Commit

Permalink
[#8851] Fix javadoc generation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
intr3p1d committed May 29, 2024
1 parent f12fdfd commit 49006a0
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
4 changes: 3 additions & 1 deletion agent-module/bootstraps/bootstrap-java9-internal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>${plugin.javadoc.version}</version>
<configuration>
<skip>true</skip>
<doclint>none</doclint>
<source>8</source>
<javadocExecutable>${jdk.home}/bin/javadoc</javadocExecutable>
</configuration>
<executions>
<execution>
Expand Down
33 changes: 32 additions & 1 deletion agent-module/bootstraps/bootstrap-java9/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<jdk.version>9</jdk.version>
<jdk.home>${env.JAVA_11_HOME}</jdk.home>
<maven.compiler.release>9</maven.compiler.release>

</properties>

<artifactId>pinpoint-bootstrap-java9</artifactId>
Expand Down Expand Up @@ -109,4 +108,36 @@
</plugins>
</build>


<profiles>
<profile>
<id>maven.central.release</id>
<properties>
<env>release</env>
<spring.profiles.active>release</spring.profiles.active>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${plugin.javadoc.version}</version>
<configuration>
<doclint>none</doclint>
<source>8</source>
<javadocExecutable>${jdk.home}/bin/javadoc</javadocExecutable>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 49006a0

Please sign in to comment.