我在 Maven 中运行勺子启动器,但它没有找到处理器类路径。
Maven 调试语句:
调试spoon.Launcher - 模板类路径:[]
INFOspoon.Launcher - Spoon 版本 7.0.0
INFOspoon.Launcher - 运行 Spoon...
INFOspoon.Launcher - 开始处理...
当它到达最后一个语句时,它会冻结并且不会继续超过那个点。
<plugin>
<groupId>fr.inria.gforge.spoon</groupId>
<artifactId>spoon-maven-plugin</artifactId>
<executions>
<execution>
<configuration>
<processors>
<processor>com.xxxxxx.spoon.utils.RootElementAnnotationProcessor</processor>
</processors>
<processorProperties>
<processorProperty>
<name>com.xxxxxx.spoon.utils.RootElementAnnotationProcessor</name>
<properties>
<property>
<name>classToUpdate</name>
<value>com.xxxxxx.rnaservices.Geocode</value>
</property>
</properties>
</processorProperty>
</processorProperties>
</configuration>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>