Skip to content

Commit

Permalink
Merge pull request #135 from CROSSINGTUD/fix/javadoc_plugin
Browse files Browse the repository at this point in the history
Add JavaDoc plugin
  • Loading branch information
schlichtig authored Dec 3, 2024
2 parents 37f71fc + 1894ac9 commit d8b505d
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
<pluginManagement>
<plugins>
<!-- xtend-maven-plugin is in pluginManagement instead of in plugins
so that it doesn't run before the exec-maven-plugin's *.mwe2 gen; this way
we can list it after. -->
so that it doesn't run before the exec-maven-plugin's *.mwe2 gen; this way
we can list it after. -->
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
Expand Down Expand Up @@ -387,13 +387,32 @@
</execution>
</executions>
</plugin>
<plugin>
<!-- This plugin is required for releases to Maven Central. If Javadoc is used, it has to be correct. -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.1</version>
<configuration>
<additionalOptions>
<additionalOption>-Xdoclint:none</additionalOption>
</additionalOptions>
</configuration>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<!-- This profile is used to avoid running the deployment in non-deployment
contexts because they require specific keys from the Github remote. Include
this profile by setting the -Pdeployment flag. -->
contexts because they require specific keys from the Github remote. Include
this profile by setting the -Pdeployment flag. -->
<profile>
<id>deployment</id>
<build>
Expand Down

0 comments on commit d8b505d

Please sign in to comment.