[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[m2e-users] 'cannot output to distinct source folder' error in custom m2e connector
|
Good morning/afternoon,
Using antlr connector as a sample I've tried to implement a connector
for running
maven-jasperreports-plugin as m2e extension/connector.
maven-jasperreports-plugin looks at it's sourceDirectory (src/main/jasperreports
as default) and compile reports (jrxml files) into binary files (java
serialization files),
by default storing them in ${project.build.outputDirectory}.
So it seems like a typical use case.
But, after adding plugin to eclipse (indigo with released 1.0 of m2e)
I'm getting:
"Source folder 'src/main/java' in project 'xxx' cannot output to
distinct source folder
'target/classes'" error and project is not building correctly in eclipse (while
'mvn package' works fine).
Could somebody let me know, what I'm doing incorrectly?
Source for plugin/feature can be found here:
https://github.com/pikus/m2eclipse-jasperreports
Sample/simple project: https://github.com/pikus/m2eclipse-jasperreports-sample
Thanks!
Tomek