Disabling phases

2011-04-06 Thread Charles Williams
hey all, am currently working on a new archetype for wordpress projects in phpmaven. but am not in need of the PHPUnit tests and would like to disable them. How would I best go about it? thanks, Chuck - To unsubscribe,

Re: Disabling phases

2011-04-06 Thread Anders Hammar
Just remove the unit tests? And to clarify a maven topic wrt your subject, you cannot disable a phase. However, you can disable a plugin bound to a phase, which could also be the solution to your questions (although simply remove the tests would be better I think as it would then allow for the

Re: Disabling phases

2011-04-06 Thread Charles Williams
that's the problem. I have found a few examples but none of them work. even skiptrue/skip in the configuration block for the plugin has no effect. On 04/06/2011 10:37 AM, Anders Hammar wrote: Just remove the unit tests? And to clarify a maven topic wrt your subject, you cannot disable a

Re: Disabling phases

2011-04-06 Thread Anders Hammar
WHat plugin is that? /Anders On Wed, Apr 6, 2011 at 10:43, Charles Williams ch...@itadmins.net wrote: that's the problem. I have found a few examples but none of them work. even skiptrue/skip in the configuration block for the plugin has no effect. On 04/06/2011 10:37 AM, Anders Hammar

Re: Disabling phases

2011-04-06 Thread Charles Williams
Anders, Here is the info I posted to the phpmaven google group: am currently working on a new archetype for wordpress projects and am wanting to disable phpunit tests. adding skiptrue/skip in the configuration of the test phase doesn't seem to do the trick. I still get the following error.

Re: Disabling phases

2011-04-06 Thread Anders Hammar
So it whould be the phpunit maven plugin then. If it has a skip param and it doesn't work - file a bug ticket. If it doesn't have a skip param - file an enhancement ticket. In both cases a patch would increase the likelihood of this getting fixed quickly. However, why aren't you just removing the

Re: Disabling phases

2011-04-06 Thread Charles Williams
am still learning atm. just started with maven 2 days ago. have not reached the book section that covers the test/compile phase. ;) will try and see if I can figure out the test phase and just get rid of all tests. thanks. On 04/06/2011 12:19 PM, Anders Hammar wrote: So it whould be the

Re: Disabling phases

2011-04-06 Thread Charles Williams
OK. by deleting apptest.php I got the project to generate the packages as well as the new archetype. now I just have to figure out why the generation of archetype.xml didn't work. thanks Anders. chuck On 04/06/2011 12:23 PM, Charles Williams wrote: am still learning atm. just started with

Re: Disabling phases

2011-04-06 Thread Anders Hammar
Btw, if you're on your first week of Maven you should probably not be trying to create an archetype. Start by use Maven for some builds first. If you don't know Maven, how would you be able to create a good template (a.k.a archetype) for someone else to use? /Anders On Wed, Apr 6, 2011 at 13:00,