Skip to content

Commit

Permalink
PSM-1716 Drop documentation-generator Maven profile
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Jan 6, 2023
1 parent fc79c6c commit 608a1dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 31 deletions.
7 changes: 7 additions & 0 deletions error-prone-contrib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,16 @@
<artifactId>refaster-support</artifactId>
<version>${project.version}</version>
</path>
<path>
<groupId>${project.groupId}</groupId>
<artifactId>documentation-generator</artifactId>
<version>${project.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs combine.children="append">
<arg>-Xplugin:RefasterRuleCompiler</arg>
<arg>-Xplugin:DocumentationGenerator
-XdocsOutputDirectory=${project.build.directory}</arg>
</compilerArgs>
</configuration>
</plugin>
Expand Down
31 changes: 0 additions & 31 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1310,37 +1310,6 @@
</build>

<profiles>
<profile>
<!-- Adds the `documentation-generation` module as an annotation
processor to scan the classpath and extract bug pattern data used
in documentation generation. Assumes that a prior build has already
installed the project in the local Maven repository. -->
<!-- XXX: Maybe rename to `generate-docs`? -->
<id>documentation-generation</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths combine.children="append">
<path>
<groupId>${project.groupId}</groupId>
<artifactId>documentation-generator</artifactId>
<version>${project.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs combine.children="append">
<arg>-Xplugin:DocumentationGenerator
-XdocsOutputDirectory=${project.build.directory}</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>error-prone-fork</id>
<properties>
Expand Down

0 comments on commit 608a1dd

Please sign in to comment.