Hi,
I'm using to use the Maven Incremental build plugin. During the validate
phase - when the plugin tries to compare the resource files between the
source and the target directories, it uses the wrong path for the target
resource files - it doesn't add the "target/classes/" to the target
resources directory, but it looks for them directly under the module
directory.
instead of:
<module>/target/classes/<path to resource files>
it goes directly to:
<module>/<path to resource files>.
This is how my pom.xml looks like:
<resource>
<directory>src/main/resources/com/ofer/console/pages</directory>
<targetPath>com/ofer/console/pages</targetPath>
<includes>
<include>*.html</include>
</includes>
</resource>
it looks for the target resource files in:
<module dir>/com/ofer/console/pages, instead of:
<module dir>/target/classes/com/ofer/console/pages
as a result it finds a difference between the files (since the target
resource files can't be found) and it cleans the whole target directory.
Anyone has an idea why that happens?
--
View this message in context:
http://maven.40175.n5.nabble.com/Maven-Incremental-build-plugin-question-tp5541505p5541505.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]