Hi 
I am using maven v2.0.9. In my project I have 3 modules including a web
module. in web module the profiles work just fine and I can change the
resources directory but in another module from which a jar file is produced
the profiles doesn't work and the default resources directory will be
included in the jar file. 

here is the profile I have defined:
-----
                <profile>
                        <id>default</id>
                        <build>
                                <resources>
                                        <resource>
                                                
<directory>src/main/resources/default</directory>
                                        </resource>
                                </resources>
                        </build>
                </profile>
-----

would you please help on this?

-----
--
Regards

Mohammad Norouzi

Help each other to reach the future faster

http://pixelshot.wordpress.com Pixelshot Photoblog 

http://brainable.blogspot.com Brainable Blog 


-- 
View this message in context: 
http://www.nabble.com/maven-profile-doesn%27t-work-when-packaging-is-jar-tp24391572p24391572.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to