java - 如何在 Spoon-maven-plugin 中配置 Spoon 处理器类路径?

标签 java maven-plugin inria-spoon

我正在 Maven 中运行 Spoon 启动器,但它没有找到处理器类路径。

Maven 调试语句:

DEBUG spoon.Launcher - template classpath: []
INFO spoon.Launcher - Spoon version 7.0.0
INFO spoon.Launcher - running Spoon...
INFO spoon.Launcher - start processing...

当到达最后一条语句时,它会卡住并且不会继续超过该点。

<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>

最佳答案

似乎是一个错误。您会在 Github 上提出问题吗?

关于java - 如何在 Spoon-maven-plugin 中配置 Spoon 处理器类路径?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57696505/

相关文章:

java - Android编程裁剪背景图片

maven-2 - 使用maven2用jdk1.5编译项目

java - Eclipse:从分发(jar)中排除(测试)文件夹

java - 只是我想在 Maven 项目构建失败时创建目标

java - 让 JRebel 与 'mvn tomcat:run' 一起工作

java - 如何禁用(停用)Spoon 登录?

java - 在 inria Spoon 中构建模型的更快方法

java - 任务 ':spoon' 执行失败。 > 组织/eclipse/jdt/internal/core/util/CommentRecorderParser

java - 运行 Cordova android 平台时出错

带有 CFBundleDocumentTypes 的 JavaApplicationStub