Skip to content

Commit a55f1b0

Browse files
committed
POM: add an explanation for the <build> section
1 parent 8a3ec32 commit a55f1b0

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎pom.xml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,17 @@ Institute of Molecular Cell Biology and Genetics.</license.copyrightOwners>
139139
</dependencies>
140140

141141
<build>
142+
<!--
143+
SciJava Common provides a plugin indexer which handles its
144+
@Plugin annotations, in the form of a compile-time annotation
145+
processor. SJC also provides plugins of various sorts, such
146+
as the core Service plugin implementations.
147+
148+
In order for these to be processed correctly and avoid a
149+
chicken-and-egg problem with annotation processing here, we
150+
disable annotation processing during compilation, and instead
151+
run the plugin indexer manually in the process-classes phase.
152+
-->
142153
<plugins>
143154
<plugin>
144155
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)