kojo
kojo

Reputation: 23

How to configure spoon processors classpath in spoon-maven-plugin?

I am running spoon launcher in maven, but it is not finding the processors class path.

Maven debug statements:

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

When it gets to the last statement, it freezes and doesn't continue past that point.

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

Upvotes: 0

Views: 341

Answers (1)

Martin Monperrus
Martin Monperrus

Reputation: 2041

Seems to be a bug. Would you open an issue on Github?

Upvotes: 0

Related Questions