You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Markku Saarela <ma...@iki.fi> on 2009/03/27 16:05:17 UTC

resources plugin failed to use properties in release:prepare for multi module projects

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.MavenSession@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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org