By default maven thinks the java packages are in src/main/java/ directory relative to pom.xml location.
But usually eclipse bundle/plugin developers pur packages in src directory.
You can specify the source directory in maven a below
<project>
...
<build>
<sourceDirectory>${basedir}/src</sourceDirectory>
</build>
...
</project>
But usually eclipse bundle/plugin developers pur packages in src directory.
You can specify the source directory in maven a below
<project>
...
<build>
<sourceDirectory>${basedir}/src</sourceDirectory>
</build>
...
</project>
No comments:
Post a Comment