Re: War plugin (2.1-beta-1,*] problem

2011-02-16 Thread Marc Rohlfs
You really made my day. Thank you very very much. You're welcome! I dont know how to thank you. Just take a little time once in a while to answer a question in this list Yourself ... :) - To unsubscribe, e-mail: users-unsub

Re: War plugin (2.1-beta-1,*] problem

2011-02-15 Thread Cem Koc
Hi Marc! You really made my day. Thank you very very much. I dont know how to thank you. Have a nice day. -- View this message in context: http://maven.40175.n5.nabble.com/War-plugin-2-1-beta-1-problem-tp3384365p3386181.html Sent from the Maven - Users mailing list archive at Nabble.com. --

Re: War plugin (2.1-beta-1,*] problem

2011-02-15 Thread Marc Rohlfs
Hi Cem! > But another question, why didnt my configuration work? For pom, the 'war:war' goal is already bound to the package phase (with the execution ID 'default-war'). With 'test2', You added an additional execution with its own configuration. Please take a look at the build output. You'l

Re: War plugin (2.1-beta-1,*] problem

2011-02-15 Thread Cem Koc
Hi Marc, Firstly, the configuration what you suggessted solved our problem. Actually before posting last example here, I checked out source of the war plugin and checked difference between two version of the files. I noted that there was a change in the behaviour of the cache mechanism of the w

Re: War plugin (2.1-beta-1,*] problem

2011-02-15 Thread Marc Rohlfs
Hi Cem, that example helped a lot, before seening that, I could only guess ... The solution for Your problem is to set the 'useCache' parameter of the maven-war-plugin to 'true'. Seems like the default value for this parameter changed between the 2 plugin versions. maven-war-plugin

Re: War plugin (2.1-beta-1,*] problem

2011-02-14 Thread Cem Koc
Hi, I attached a sample project. You can compare with mvn clean prepare-package and mvn clean package Check test.txt file and note that maven replace plugin logs. http://maven.40175.n5.nabble.com/file/n3384991/Test.zip Test.zip Also I dont know how did you conclude that I have not enough kn

Re: War plugin (2.1-beta-1,*] problem

2011-02-14 Thread Marc Rohlfs
>>> 1) Create an exploded directory of project >>> 2) Make necessary processing at prepare package phase >>> 3) Create a war which has processed files > I am not sure that I understood everything very good but I changed my > custom plugin lifecycle to 'process-resources'. It did not help me as > I

Re: War plugin (2.1-beta-1,*] problem

2011-02-14 Thread Cem Koc
Hi, I am not sure that I understood everything very good but I changed my custom plugin lifecycle to 'process-resources'. It did not help me as I expected. (Cmd: "mvn clean war:exploded package") At the logs I could see successfully processed files. My custom plugin is processing sources without

Re: War plugin (2.1-beta-1,*] problem

2011-02-14 Thread Marc Rohlfs
Just for curiosity: what happens if You configure the 'prepare-war' execution of Your test configuration for the 'process-resources' phase? As Your custom plugin goal and the 'war:exploded' goal are both configured for the same phase, are You sure that they're really executed in the estimated or

Re: War plugin (2.1-beta-1,*] problem

2011-02-14 Thread Cem Koc
Also tried such configuration to test. It is still changing that processed files with unprocessed files. org.apache.maven.plugins maven-war-plugin 2.1.1 prepare-war prepare-package exploded -- View this message in context: ht

War plugin (2.1-beta-1,*] problem

2011-02-14 Thread Cem Koc
Hi, I have an application which was working with maven 2.1-beta-1 quite good. However after upgrading my war plugin I started to have a problem regarding packaging my application. Short decription: Running this command mvn clean war:exploded package Detailed Description: I would like to make