-
Notifications
You must be signed in to change notification settings - Fork 40
Support multiple source directories #32
Comments
Are you executing the plugins in the right order? And the apt-maven-plugin doesn't pick up the source folder of your other plugin execution? |
@anthony-o Have you been able to resolve the issue? |
Thanks for your replies @timowest . Yes, I'm executing the plugins in the right order (the other plugin THEN As a workaround, for now I'm generating the entities with the other plugin in <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9.1</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/other_plugin_generated_src</source>
</sources>
</configuration>
</execution>
</executions>
</plugin> And with this, |
How do the sources of the other plugin get compiled, if the folder is not added as a compile source root? |
Hi, I've the same issues, my sources that should be processed by apt-maven-plugin are in the src/main/java and the src/main/java-gen package. Best regards, |
Seems the coding is in since 2016
|
Here is my use case : I'm generating my
@Entity
filesinto target/generated-sources/another-plugin
with another maven plugin.I would like
com.mysema.maven:apt-maven-plugin
to be able to handle multiple sources directories with for example a configuration parameter like<sourceDirectories>
.The text was updated successfully, but these errors were encountered: