Skip to content

Commit

Permalink
- Disabled external JavaDoc links (as they are not working for NetBea…
Browse files Browse the repository at this point in the history
…ns RELEASE110)

- Added reporting plugins
- Added missing release profiles
  • Loading branch information
funfried committed May 13, 2022
1 parent 88a612e commit d5f5c4f
Showing 1 changed file with 168 additions and 13 deletions.
181 changes: 168 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -234,19 +234,12 @@
<configuration>
<quiet>true</quiet>
<doclint>all,-missing</doclint>
<links>
<link>https://javadoc.io/static/org.netbeans.api/org-openide-util-lookup/${netbeans.version}/</link>
<link>https://javadoc.io/static/org.netbeans.api/org-openide-filesystems/${netbeans.version}/</link>
<link>https://javadoc.io/static/org.netbeans.api/org-netbeans-modules-diff/${netbeans.version}/</link>
<link>https://javadoc.io/static/org.netbeans.api/org-netbeans-modules-projectapi/${netbeans.version}/</link>
<link>https://javadoc.io/static/org.netbeans.api/org-netbeans-modules-options-api/${netbeans.version}/</link>
<link>https://javadoc.io/static/org.netbeans.api/org-netbeans-modules-editor-guards/${netbeans.version}/</link>
<link>https://commons.apache.org/proper/commons-lang/javadocs/api-release/</link>
<!-- Cannot be embedded in version 1.13.0 because there seems to be a class referenced in JavaDoc which is not in the classpath -->
<!-- <link>https://javadoc.io/doc/com.google.googlejavaformat/google-java-format/${google-java-format.version}/</link>-->
<link>https://javadoc.io/doc/net.revelc.code.formatter/xml-formatter/${xml-formatter.version}/</link>
<link>https://javadoc.io/doc/org.jsoup/jsoup/${jsoup.version}/</link>
</links>
<!-- Not existent for RELEASE110, can be reactivated when switching to a newer NetBeans version -->
<!-- <links>
<link>https://javadoc.io/static/org.netbeans.api/org-openide-util/${netbeans.version}/</link>
<link>https://javadoc.io/static/org.netbeans.api/org-openide-text/${netbeans.version}/</link>
<link>https://javadoc.io/static/org.netbeans.api/org-openide-windows/${netbeans.version}/</link>
</links>-->
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -480,4 +473,166 @@
</plugin>
</plugins>
</build>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>dependency-updates-report</report>
<report>plugin-updates-report</report>
<report>property-updates-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
<report>github-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*OptionsPanel.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<configuration>
<plugins>
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>1.12.0</version>
</plugin>
</plugins>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<reportSets>
<reportSet>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>

<profiles>
<profile>
<id>github</id>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub funfried Apache Maven Packages</name>
<url>https://maven.pkg.github.com/funfried/nb-editor-close-left-right</url>
</repository>
<snapshotRepository>
<id>github</id>
<url>https://maven.pkg.github.com/funfried/nb-editor-close-left-right</url>
</snapshotRepository>
</distributionManagement>
</profile>
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
</plugin>
<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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-commons</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<goals>
<goal>sign</goal>
</goals>
<phase>verify</phase>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit d5f5c4f

Please sign in to comment.