Hi,

Using Maven 2.1.0, release-plugin 2.0-beta-8 and resources-plugin 2.3.

When performing normal mvn install for multi-module project all builds succes, but when trying release projekts, those projects that have filter files whitch are specified in profiles via properties failed.

Resources plugin is not configured at all by properties. Any ideas or workarounds.

[INFO] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.3:resources' -->
[INFO] [DEBUG]   (f) encoding = UTF-8
[INFO] [DEBUG]   (f) filters = [C::\xxx\xxx\xx\\${filter.file}]

[INFO] [DEBUG]   (s) includeEmptyDirs = false
[INFO] [DEBUG]   (s) outputDirectory = C:\xxx\xxx\xx\target\c
lasses
[INFO] [DEBUG]   (s) overwrite = false
[INFO] [DEBUG]   (f) project = MavenProject: xxx.xxx.:2.0 @ C:\projects
\xxx\xxx\xxx\pom.xml
[INFO] [DEBUG] (s) resources = [Resource {targetPath: null, filtering: true, FileSet {directory: C
:\xxx\xxx\src\main\resources, PatternSet [includes: {}, ex
cludes: {}]}}]
[INFO] [DEBUG] (f) session = org.apache.maven.execution.mavensess...@d1ad08
[INFO] [DEBUG] -- end configuration --
[INFO] [INFO] [resources:resources]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Error loading property file 'C:\xxx\xxx\xx-service\${filter.file}'

rgds,

Markku

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to