The quickest way to get this fixed is to file a jira, with a test
project and mark it as affects Maven 3.x-alpha-3

On Fri, Nov 13, 2009 at 6:42 AM, Luca Marrocco <luca.marro...@gmail.com> wrote:
> Hi,
> i've tried maven3. it works very well and is faster than previous
> version :) great works!
>
> i've found a little problem using resource plugin. In particular
> filtering resource doesn't work. I don't know if this is right place
> where comunicate the problem.. anyway.
>
> I've prepared a simple project that compile and run with maven2 and
> maven3. Below is the output of the code:
>
> $ /opt/apache-maven-2.0.9/bin/mvn -Denv=profile1 compile && cat
> target/classes/application.properties
> ...
> [INFO] [resources:resources]
> [INFO] [compiler:compile]
> ...
> env=profile2
> attr1=profile2-value1
> attr2=profile2-value2
>
> $ /opt/apache-maven-3.0-SNAPSHOT/bin/mvn -Denv=profile1 compile && cat
> target/classes/application.properties
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building maven3-resource-regression 1.0-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.1:resources (default-resources)
> @ maven3-resource-regression ---
> [WARNING] File encoding has not been set, using platform encoding
> UTF-8, i.e. build is platform dependent!
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
> maven3-resource-regression ---
> [INFO] No sources to compile
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1.393s
> [INFO] Finished at: Fri Nov 13 10:15:11 CET 2009
> [INFO] Final Memory: 3M/77M
> [INFO] 
> ------------------------------------------------------------------------
> env=profile1
> attr1=${attr1}
> attr2=${attr2}
>
> Let me known if could be useful send you zip project to reproduce the problem.
>
>
> Regards,
> Luca
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to