when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-03 Thread David Sag
Hi M2 people, I am evaluating maven 2 and test-porting some small projects over to m2 from ant and m1. I am finding it mostly straightforward but i can't work out how to tell maven2 that i want to enable asserts. whenever i compile i just get the error cannot resolve symbol symbol : method

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-04 Thread David Sag
, but then I would have expected an 'unknown source/target' error before it even tried to compile your code. So I don't believe the problem lies with Maven. Just a thought: was the assert keyword introduced at version 1.4.2? Might be worth a google. AW On 3 Oct 2005, at 10:49, David Sag wrote: Hi

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-04 Thread David Sag
are on 1.4.2 then that should be the one and only vm you are using. On 4 Oct 2005, at 08:59, David Sag wrote: Hi Ashley, i am not sure how I'd check to see what version of Java m2 is running but my Mac's default Java is java version 1.4.2_09 Java(TM) 2 Runtime Environment, Standard

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-04 Thread David Sag
than me having to remember to switch to java 5 manually - not a trivial task on the Mac. Maybe if the settings.xml could take a list of existing vm's on your machine it could work. On 4 Oct 2005, at 12:24, David Sag wrote: Hi Ashley, haha well i am falling at step 1 now

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-04 Thread David Sag
TestCase and keep calling assertEquals etc. The docs for the plugins are at http://maven.apache.org/maven2/ plugins/index.html On 4 Oct 2005, at 13:08, David Sag wrote: another related question now it's compiling with asserts in place but the asserts get ignored when the tests run. how do

Re: [m2] asserts aren't recognized with surefire

2005-10-04 Thread David Sag
think you have to configure your own vm as best as you can. I've just had a look at m2 shell script and I think you can set MAVEN_OPTS to achieve this. Let me know how you get on because I should be using asserts more often than I do! On 4 Oct 2005, at 13:42, David Sag wrote: you

Re: [m2] asserts aren't recognized with surefire

2005-10-04 Thread David Sag
. I've just had a look at m2 shell script and I think you can set MAVEN_OPTS to achieve this. Let me know how you get on because I should be using asserts more often than I do! On 4 Oct 2005, at 13:42, David Sag wrote: you misunderstand me. in the setter of my class under test I use assert(param

[m2] running checkstyle as part of a test

2005-10-05 Thread David Sag
I am trying to configure my pom to run the checkstyle plugin when i run the tests. Initially I tried putting this in my POM based on a tutorial I read at http://www.devx.com/Java/Article/28801 build plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: [m2] running checkstyle as part of a test

2005-10-05 Thread David Sag
/execution /executions /plugin On 10/5/05, David Sag [EMAIL PROTECTED] wrote: I am trying to configure my pom to run the checkstyle plugin when i run the tests. Initially I tried putting this in my POM based on a tutorial I read at http://www.devx.com/Java/Article/28801 build

[m2] correct usage of the checkstyle plugin

2005-10-06 Thread David Sag
I am trying to get checkstyle to use a customised format contained in a file called checkstyle-src.xml i have found however when i configure the checkstyle property called 'propertiesFile' this has no effect - i still get the default checks. if i specify a file that does not exist i get an

Re: How are integration unit tests used?

2005-10-10 Thread David Sag
That's a real shame actually. I like to keep my unit tests pure - ie they are real unit tests and only test a single object - mocking all collaborators, and i like to run integration tests separately. given the tags are there - perhaps the m2 developers would like to implement it. or is this

[m2] clover breaks when encountering assert statements

2005-10-10 Thread David Sag
Hi People, I have been trying to get the clover plug-into run but it breaks when it hits my assert statements. Is there a way to tell clover I am using java1.4? I have logged an issue in Jira http://jira.codehaus.org/browse/MNG-1136 Kind regards, Dave Sag

[m2] looking for docs on FML

2005-10-10 Thread David Sag
I have spent about an hour scouring thru google and the maven web looking for a reference for the FML language for defining faqs but still can't find it. could someone on this list please post a link to the FML spec? or some examples? Kind regards, Dave Sag

Re: Réf. : [m2] looking for docs on FML

2005-10-10 Thread David Sag
will find everything you're looking for. http://maven.apache.org/reference/plugins/faq/index.html Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] David Sag

Re: Réf. : Re: Réf. : [m2] looking for docs on FML

2005-10-10 Thread David Sag
, that is by default: ${basedir}/src/site/fml Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] David Sag [EMAIL PROTECTED

Re: Which Maven to use when starting a new project?

2005-10-12 Thread David Sag
I am about to start a new project and in prep have been coding up a few little test projects in order to evaluate Maven2 on the whole I am confident enough re Maven2 to push for it for my new project, but have resigned myself to writing a few plugins to make up for various missing bits also

[m2] QALab plugin

2005-10-12 Thread David Sag
I have started writing an M2 plugin for QALab but noticed on the plugion matrix that someone claims to have alreadydone this. http://docs.codehaus.org/pages/viewpage.action?pageId=27645 if it's been done could someone please let me know where I may find it - none of the QALab people know of

[m2] writing a plug-in - a question on field names and descriptors

2005-10-12 Thread David Sag
It is my normal practice when writing Java to declare instance fields starting with the word 'the' - ie theHeight rather than just height. However when configuring my plug-in i want the parameters to be called height, not 'theHeight'. I tone on this page

Re: Disabling Transitive Dependencies

2005-10-13 Thread David Sag
I humbly suggest you (Dave Brondsema, Juan Alvarado) create an issue in JIRA listing the plug-ins with malformed meta-data so that the developers have something more concrete to work off. Kind regards, Dave Sag Brett Porter [EMAIL PROTECTED] wrote on 13/10/2005 03:41:52 AM: Please

[m2] what happened to beta 4?

2005-10-14 Thread David Sag
I'm just looking at Jira and it seems beta 4 has vanished from the road-map? yet i see no announcement of beta4 being released. wassup? Kind regards, Dave Sag

Re: Suggestion: Seperate list for M2?

2005-10-17 Thread David Sag
I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17/10/2005 03:46:37 AM: Just a suggestion: should there not be a separate list for M2? Siegfried

[m2] writing a Mojo for a plugin that requires Reports to have been run

2005-10-17 Thread David Sag
Hi all, I am writing an M2 plugin for QALab. QALab aggregates the reports from other plugins such as checkstyle etc. In my plugin.xml file there is a tag requiresReportsfalse/requiresReports and so I guessed that setting @requiresReports at the to of my Mojo would change this flat to true

Re: transitive dependencies? [ dueme Frage]

2005-10-17 Thread David Sag
Transitivity is a property of some relationships. I was exposed to this term in maths, but assume it has wider meaning. Baically a relationship is transitive if that ralationship behaves as follows: say A relates to B and B relates to C then if A relates to C the relationship is transitive.

Re: Suggestion: Separate list for M2?

2005-10-17 Thread David Sag
for M2? +1 On 10/17/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: +1 On 10/17/05, David Sag [EMAIL PROTECTED] wrote: I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17

Re: [m2] writing a Mojo for a plugin that requires Reports to have been run

2005-10-18 Thread David Sag
access to ${reactorProjects} On 10/17/05, David Sag [EMAIL PROTECTED] wrote: Hi all, I am writing an M2 plugin for QALab. QALab aggregates the reports from other plugins such as checkstyle etc. In my plugin.xml file there is a tag requiresReportsfalse/requiresReports and so I

Re: For critical project we use maven 1.0.2 or m2 ?

2005-10-18 Thread David Sag
That page is somewhat misleading. For example it claims there is a QALab plugin in development, but, aside from the one I am writing, that does not seem to be the case. Kind regards, Dave Sag Stephen Duncan [EMAIL PROTECTED] wrote on 18/10/2005 12:41:47 PM:

Re: [m2] writing a Mojo for a plugin that requires Reports to have been run

2005-10-18 Thread David Sag
depend? For instance, the pmd report depends on the jxr report to link to the source code. regards, Wim 2005/10/18, David Sag [EMAIL PROTECTED]: What I need is acccess to the various checkstyle (etc) reports in an xml format. what you describe below doesn't seem appropriate to me

[m2] 'central has been blacklisted'

2005-10-18 Thread David Sag
A co-worker here using windows just tried to build a project using maven2 but forgot to set his proxy settings - i didn't notice as i am on a mac where the JVM reads the system proxy settings for me. so he got an error and then a notice saying Central has been blacklisted so now he has set his

Re: using configuration in plugin

2005-10-19 Thread David Sag
In your Mojo (presuming it extends AbstractMojo) final Map projectContext = getPluginContext(); will give you a map of all the pom's properrties. Kind regards, Dave Sag Xavier Toth [EMAIL PROTECTED] wrote on 18/10/2005 10:58:23 PM: in [m2] that is On 10/18/05, Xavier Toth

Re: [m2] 'central has been blacklisted'

2005-10-19 Thread David Sag
are in place? - Brett On 10/18/05, David Sag [EMAIL PROTECTED] wrote: A co-worker here using windows just tried to build a project using maven2 but forgot to set his proxy settings - i didn't notice as i am on a mac where the JVM reads the system proxy settings for me. so he got an error

Re: [m2] writing a Mojo for a plugin that requires Reports to have been run

2005-10-20 Thread David Sag
? - Brett On 10/18/05, David Sag [EMAIL PROTECTED] wrote: What I need is acccess to the various checkstyle (etc) reports in an xml format. what you describe below doesn't seem appropriate to me. My parameters already have various expressions and default values but i do need to ensure

Re: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread David Sag
Fantastic work all round. well done everyone involved. This has come at exactly the right time for the project I am about to start. Kind regards, Dave Sag Brett Porter [EMAIL PROTECTED] wrote on 20/10/2005 12:24:47 AM: We are pleased to announce that Maven 2.0 has been released, and is

Javadoc and assertions

2005-10-21 Thread David Sag
It really seems that I am the only person in thw world who usesasserts! When trying mvn javadoc:javadoc it complains that assert is a reserved word in java 1.4. for goodness sake, my pom.xml specifies the source is java1.4 in the compiler plugin, shouldn't this knowledge be passed on to the

[m2] PMD plugin thinks an interface needs a constructor.

2005-10-21 Thread David Sag
I am setting up my build environemnt with a small test project and the PMD plugin is demanding I provide a constructor for my interfaces. I have filed this as a bug in jira http://jira.codehaus.org/browse/MNG-1158 but no action has been taken yet. perhaps if this annoys others people could go

Re: [m2] javadoc plugin

2005-10-21 Thread David Sag
Would you like to add your fix to the bug report in Jira? http://jira.codehaus.org/browse/MNG-1249 Kind regards, Dave Sag Samuel Le Berrigaud [EMAIL PROTECTED] wrote on 21/10/2005 12:54:02 PM: Hi, there is a bug in the current javadoc plugin regarding the site integration. The

Re: [M2] checkstyle

2005-10-24 Thread David Sag
Here's an extract from my pom.xml where i apply different checkstyle rules to my main src and my test code. build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId executions execution idcheck-main-src/id

Re: [m2] writing a Mojo for a plugin that requires Reports to have been run

2005-10-24 Thread David Sag
for a plugin that requires Reports to have been run I see. This capability is not really available right now other than by correctly ordering them in the POM. Please file a JIRA issue. -Brett On 10/19/05, David Sag [EMAIL PROTECTED] wrote: Hmm sorry we seem to be t cross-purposes here. All I

[m2] specifying a specific plugin goal in a report.

2005-10-24 Thread David Sag
As part of generating a QALab report i need to run my qalab plugin's merge goal. I have tried adding my qalab plugin to the reporting section of my pom but i can't see how i specify which goal to actually run? i tried adding an executions.../ section but that's not allowed. hints or outright

RE: [M2] checkstyle

2005-10-31 Thread David Sag
:\m2Projects\configuration-module\app-config\src \config\siebel_check.xml [DEBUG] (f) sourceDirectory = C:\m2Projects\configuration-module\app-config\sr c\main\java [DEBUG] -- end configuration -- [INFO] [checkstyle:checkstyle] _ From: David Sag [mailto:[EMAIL PROTECTED] Sent: Monday

Re: [ANN][M1] Findbugs 1.0 Release

2005-11-02 Thread David Sag
Fantastic - any word on a maven 2 version? Kind regards, Dave Sag Eric Pugh [EMAIL PROTECTED] wrote on 02/11/2005 03:30:32 PM: The maven-plugins team is pleased to announce the FindBugs Plug-in 1.0 release! http://maven-plugins.sourceforge.net/maven-findbugs-plugin A plugin to

[m2] does a plugin bound to a phase execute before or after that phase?

2005-11-04 Thread David Sag
Hi there, I want my plugin to run after the process-sources phase, and before the generate-resources phase. if i bind it to the process-sources phase will it run after that or before it? dave

Re: [m2] does a plugin bound to a phase execute before or after that phase?

2005-11-04 Thread David Sag
Just to answer my own question, and to help others who are wondering the same thing, I just tried it and the plugin runs *after* the phase it has been bound to. dave David Sag [EMAIL PROTECTED] wrote on 04-11-2005 12:57:08: Hi there, I want my plugin to run after the process-sources

Re: [m2] does a plugin bound to a phase execute before or after that phase?

2005-11-04 Thread David Sag
to a phase will be run in this phase without order. why do you want to run it between this two phases? Emmanuel David Sag said: Hi there, I want my plugin to run after the process-sources phase, and before the generate-resources phase. if i bind it to the process-sources phase

Re: [m2] does a plugin bound to a phase execute before or after that phase?

2005-11-04 Thread David Sag
by one without a specific order. David Sag said: That's interesting. To try this I bound checkstyle to my compile phase and lo - the compile happened and then checkstyle ran. You are saying that checkstyle should have run in the phase... what does that mean exactly? Compilation

[m2] config of goals

2005-11-06 Thread David Sag
I am having real problems getting my plugin config to work. Here's my use case: a developer compiles and as part of her build checkstyle must be run and fail a build on any checkstyle errors. this is easy and works fine. but within the same pom.xml file Continuum needs to build everything

Re: [m2] config of goals

2005-11-07 Thread David Sag
Further to this, I have posted an issue in JIRA http://jira.codehaus.org/browse/MNG-1446 Unable to config goals that are not bound to part of the standard lifecycle cheers dave David Sag [EMAIL PROTECTED] wrote on 07-11-2005 08:50:51: I am having real problems getting my plugin config

RE: JCOVERAGE for MAVEN 2

2005-11-08 Thread David Sag
There is no maven 2 plugin for cobertura according to the developers. dave REBOISSON Eric [EMAIL PROTECTED] wrote on 08-11-2005 09:46:48: I tried to use Cobertura but this error appears , why ? How to resolve it ? : D:\Documents and Settings\reboisse\workspace\DataModelmvn

Re: JCOVERAGE for MAVEN 2

2005-11-08 Thread David Sag
) the cobertura plugin is in dev for maven2. Stéphane David Sag a écrit : There is no maven 2 plugin for cobertura according to the developers. dave REBOISSON Eric [EMAIL PROTECTED] wrote on 08-11-2005 09:46:48: I tried to use Cobertura but this error appears , why ? How

built in project properties

2005-11-08 Thread David Sag
Where can I find a doc on the built in maven 2 pom properties such as ${project.build.directory} specifically I need one that is the project's base directory. ${project.directory} is not it apparently. Kind regards, Dave Sag

Re: CheckStyle html report contains no source link

2005-11-10 Thread David Sag
I'm quite amazed that this long-standing bug with the javadoc plugin hasn't been addressed sooner. I know it's been fixed but is there a problem with actually releasing the fixed javadoc plugin? It's quite embarrassing giving demos of maven 2 and having to constantly explain that this blank page

Re: CheckStyle html report contains no source link

2005-11-11 Thread David Sag
http://svn.apache.org/repos/asf/maven/components/trunk/ maven-site - Find the plugins directory, drill down to maven-javadoc - Run the mvn commands mvn compile and mvn install. - The newest plugin is automatically added to your repository. --rik 2005/11/11, David Sag [EMAIL PROTECTED]: I'm

Re: Documentation -- making better use of the wiki

2005-11-11 Thread David Sag
+1 Kind regards, Dave Sag Alexander Hars [EMAIL PROTECTED] wrote on 11-11-2005 10:42:58: Hi, I have been using Maven2 for two weeks and am very impressed by all the great features. However, the learning curve is steep and it is often very difficult to find certain answers (I

Re: Users List configuration

2005-11-14 Thread David Sag
I utterly sympathise with Blaise on this. I joined this list because I found the web-archive of the list to be unsearchable and, if i must say like most apache list archives, pretty much useless. So I just put up with the flood and get lotus notes to try to filter it for me (a big ask as notes

[m2] using the mboot2 stuff in our own plugins

2005-11-15 Thread David Sag
Hi all, We are writing a FindBugs plugin for maven 2 right now and it is failing when we run it within the maven2 environment, but when run atandalone it works fine. So we are exploring how we'd run it from maven but as a standalone app. Looking at the source for the surefire plugin we've seen

Re: [m2] Clover plugin

2005-11-15 Thread David Sag
We are about to start using cobertura but as of right now there is no m2 plugin for it that i know of. We were going to write our own. Kind regards, Dave Sag javed mandary [EMAIL PROTECTED] 15-11-2005 08:03 Please respond to Maven Users List users@maven.apache.org To Maven

[m2] reports - how to use the sink?

2005-11-16 Thread David Sag
Hi people, I have got a basic report compiling that extends the AbstractMavenReport but now it comes to actually implimenting the exectureReport method and I am not really sure what the 'Sink' is or how I would use it. Could someone point me at the docs on this? Kind regards, Dave Sag

Re: m2 VSS access

2005-11-17 Thread David Sag
My heart goes out to you. We used VSS on a project back in 2000 and it was a truly horrible experience. Do you have the option to change to a more collaborative tool such as subversion, or even CVS? Kind regards, Dave Sag Maruf Aytekin [EMAIL PROTECTED] wrote on 17-11-2005 09:43:32:

[m2] where to put test data

2005-11-17 Thread David Sag
I am writing the unit tests for a simple xml transformer and want to know 2 things. 1) where is the maven2 approved place to put the test xml and xslt files? If I put them in src/test/resources then they end up in a jar file, and I am not sure how i refer to their path when i invoke File xml =

Re: [m2] where to put test data

2005-11-18 Thread David Sag
the jar is made. i shall explore this a bit more. and two - i went with the java.io.tmp.dir idea - seemed to me to be the most useful. Kind regards, Dave Sag John Casey [EMAIL PROTECTED] wrote on 17-11-2005 16:52:13: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Sag wrote

[m2] which report?

2005-11-18 Thread David Sag
The plugin i am writing has 3 general goals and 2 reports. How do I specify in my pom.xml file which report to run? Kind regards, Dave Sag

Re: [m2] where to put test data

2005-11-18 Thread David Sag
Just a short note tho: There is no system property called java.io.tmp.dir it's called java.io.tmpdir Kind regards, Dave Sag David Sag [EMAIL PROTECTED] wrote on 18-11-2005 11:08:17: Thanks John those answers were perfectly satisfactory and i have updated my code accordingly

Re: [m2] mojo report (sink mandatory content ?)

2005-11-22 Thread David Sag
Or, as I have just discovered, (thanks brett), if your report implements isExternalReport() by returning true then you need not use the sink at all, but can generate the whole page / pages you want directly. You are right tho - the page will be named getOutputName() + .html Kind regards, Dave

Re: Newbie: problem creating checkstyle report

2005-11-22 Thread David Sag
I have got checkstyle working fine (sadly still without the option to specify a custom config - see http://jira.codehaus.org/browse/MNG-1113). the groupId is org.apache.maven.plugins artifactId is maven-checkstyle-plugin we (small internal team here where I work) are writing a FindBugs plugin

Re: maven2 plugin suggestions

2005-11-22 Thread David Sag
On this point - for us mac users it would be neat to finish the release phase by generating all the bits and pieces that allow a java app to look like a real mac app - ie a MyApp.app folder with the content in the right places and a custom icon etc. Kind regards, Dave Sag Paul Rule

Re: Newbie: problem creating checkstyle report

2005-11-23 Thread David Sag
Hi Volker, Volker Hartmann [EMAIL PROTECTED] wrote on 22-11-2005 14:06:08: Hi David, I have got checkstyle working fine (sadly still without the option to specify a custom config - see http://jira.codehaus.org/browse/MNG-1113). I already know that. :-( the groupId is

Re: [m2] commons-io 1.1 POM invalid

2005-11-23 Thread David Sag
Snap! I just filed a jira issue on this about 20 mts ago - could not find any special 'evangelism' jira however. I did look for it tho. http://jira.codehaus.org/browse/MNG-1668 Kind regards, Dave Sag Wim Deblauwe [EMAIL PROTECTED] wrote on 23-11-2005 15:33:49: Best is to file in bug

Re: [m2] commons-io 1.1 POM invalid

2005-11-24 Thread David Sag
Thanks Paul - I have xposted to that jira too for completeness. Kind regards, Dave Sag Paul Spencer [EMAIL PROTECTED] wrote on 23-11-2005 16:29:49: David, Below is a link to the Maven Evangelism JIRA project. http://jira.codehaus.org/browse/MEV Paul Spencer David Sag wrote

Re: MNG-1398: How to obtain an updated version of the maven-javadoc-plugin

2005-11-24 Thread David Sag
I would like it too. We have a first presentation tomorrow of the maven 2 stuff we have been doing and it is a little embrarrasing to have no javadocs available. I know we *could* build it from SVN but honestly I'd just rather someone send me a zipped up plugin I can just drop in manually. We

Re: [M2] How to fire plugin in site generation?

2005-11-24 Thread David Sag
I've just done this actually. Make it a report and override the isExternalReport() method to return true; then you don't need to use the Sink at all. Kind regards, Dave Sag Jose Gonzalez Gomez [EMAIL PROTECTED] wrote on 24-11-2005 15:46:55: Is there any way to fire the execution of a

Re: writing a new plugin

2005-11-29 Thread David Sag
You are basically correct - just write a Mojo that mirrors the ant task. you can leave out the getters and setters and throw a slightly different exception but that's about the only difference. Kind regards, Dave Sag Brill Pappin [EMAIL PROTECTED] wrote on 27-11-2005 01:25:16: I'm

[m2] migrating jellly scripts

2005-11-29 Thread David Sag
I am migrating a plugin to m2 and the original maven 1 plugin makes quite a bit of use of jelly scripts, as well as XSLT transformations. The xslt stuff is easy to migrate, but I have never even looked at jelly before. Is there a simple way in Java to apply jelly scripts, or should i rewrite

Re: [m2] clover and assertions

2005-11-30 Thread David Sag
I believe you need to also specify the source version for the clover plugin too. it does not default to the same as the compiler plugin setting - same too for javadocs and indeed other plugins. It seems to me that this sort of config is project wide and the pom needs a place to declare such

Re: Invalid SCM URL

2005-12-12 Thread David Sag
Does this imply i need to put a username and password into my pom.xml as hard coded params? Kind regards, Dave Sag Jean-Charles Giardina [EMAIL PROTECTED] wrote on 08-12-2005 10:59:29: The correct scm URL format is : scm:cvs:pserver:[username[:[EMAIL PROTECTED]:port]:

Re: Invalid SCM URL

2005-12-12 Thread David Sag
pom.xml file as any developer would. is that 'best practice'or am i missing some key concept? if so then how would i prevent 'any old developer' from running mvn release? Kind regards, Dave Sag Kenney Westerhof [EMAIL PROTECTED] wrote on 12-12-2005 14:56:23: On Mon, 12 Dec 2005, David Sag

Re: Surefires test order

2005-12-16 Thread David Sag
JUnit tests never run in a specific order and you are stongly advised never to depend upon their execution order. if it worked for you at all that is just a lucky fluke Kind regards, Dave Sag Jochen Wiedmann [EMAIL PROTECTED] wrote on 13-12-2005 16:21:44: Hi, I have a test suite

Re: Is it possible to make pom.xml simpler?

2005-12-16 Thread David Sag
+1 to that. Kind regards, Dave Sag Matt Raible [EMAIL PROTECTED] wrote on 15-12-2005 02:06:04: After seeing what the Spring Developers have done to simplify Spring context files, I can't help but think the same thing is possible for Maven 2's pom.xml. Is it possible to add namespaces

reverse dependency management

2005-12-23 Thread David Sag
We have many interdependent projects here. When someone releases a project upon which many other projects depend we need some way of knowing automatically which projects will also need to be retested. is there a m2 plugin that manages reverse dependency lookups? For simplicity I am really mostly

Re: SV: LOTS of dependencies just not found

2005-12-28 Thread David Sag
I think that is actually an excellent solution - i am going through similar pain right now - our build of maven2 does what we want on a few test projects of increasing complexity, but we've written a bunch of patches (submitted via jira) and plugins to get where we are and it's still not exactly

Re: [m2] Migrating mockobject calls to Maven2

2005-12-28 Thread David Sag
We use EasyMock and all that needs is to put the folllowwing in the pom. there are no generated files like with what you describe however. it makes great little mockobjects though using the cglib. dependency groupIdeasymock/groupId artifactIdeasymock/artifactId

cobertura plugin breaks with maven 2.02 - wors fine with 2.0

2006-01-26 Thread David Sag
I have just updated my maven 2 to 2.0.2 and now the instrumentation of my classes fails when using the cobertura plugin. I get NoClassDefFoundError: org/apache/maven/wagon/util/FileUtils any clues as to what changed between 2.0 and 2.0.2 that would lead to this error? most frustrating Kind

Re: [M2.0.2] cobertura-maven-plugin not working with 2.0.2

2006-01-26 Thread David Sag
ahah just saw this mail. could someone please send me the latest plugin as a zip file? I have trouble getting svn working from in here. Kind regards, Dave Sag Konstantin Polyzois [EMAIL PROTECTED] wrote on 23-01-2006 20:27:05: ok now it works again nice 2006/1/23, Brett Porter [EMAIL

Re: SV: Worst documentation in the whole apache projects

2006-01-27 Thread David Sag
well i would agree in principle but the maven2 plugin matrix you list is hopelessly out of date, and always has been. my current irritation is that i have no idea what the latest versions of most plugins are and what their compatability status with maven 2.0.2 is. I foolishly upgraded to 2.0.2

Re: M2.02 - mvn site now triggers a compile!

2006-01-30 Thread David Sag
:50:36: On 1/28/06, David Sag [EMAIL PROTECTED] wrote: 1) why does mvn site now trigger the other phases of the lifecycle. is this supposed to happen? no. 2) anyone else using cobertura having this problem? nope. 3) do i need to update my core cobertura libs too or is version

Re: M2.02 - mvn site now triggers a compile!

2006-01-31 Thread David Sag
Brett Porter [EMAIL PROTECTED] wrote on 30-01-2006 22:22:47: On 1/30/06, David Sag [EMAIL PROTECTED] wrote: so my questions: 1) could someone with a working (with maven 2.0.2) cobertura plugin please send it to me with the correct pom.xml - jason z only sent me the compiled plugin

Re: M2.02 - mvn site now triggers a compile!

2006-01-31 Thread David Sag
Brett Porter [EMAIL PROTECTED] wrote on 31-01-2006 10:44:57: On 1/31/06, David Sag [EMAIL PROTECTED] wrote: I'll deploy a snapshot, so you can follow the instructions on the maven website to use it. Okay that would be great. Will you announce it to this list when you do

Forcing the order of plugins bound to the same phase (was Re: M2.02 - mvn site now triggers a compile!)

2006-01-31 Thread David Sag
Brett Porter [EMAIL PROTECTED] wrote on 31-01-2006 11:16:29: On 1/31/06, David Sag [EMAIL PROTECTED] wrote: Either way I probably need to bind checkstyle, pmd, findbugs etc to a phase other than compile then, perhaps verify. Hmm will ponder this. The reports, or the checks? The reports

I can't get cobertura to work with maven 2.0.2

2006-01-31 Thread David Sag
: On 1/31/06, David Sag [EMAIL PROTECTED] wrote: the version jason sent me was 2.0-SNAPSHOT Yep, still a snapshot: http://maven.apache.org/guides/development/guide-testing- development-plugins.html so site *does* invoke compile and test then. for after all imho what use is the site

Re: I can't get cobertura to work with maven 2.0.2

2006-02-01 Thread David Sag
Brett Porter [EMAIL PROTECTED] wrote on 31-01-2006 18:46:42: On 2/1/06, David Sag [EMAIL PROTECTED] wrote: Okay I have changed my build so that the checkstyle etc all happen on the verify phase, and have updated to use the latest snapshot version of cobertura plugin. [mvn install

Re: I can't get cobertura to work with maven 2.0.2

2006-02-01 Thread David Sag
for me. Kind regards, Dave Sag [EMAIL PROTECTED] wrote on 31-01-2006 18:35:26: You need latest cobertura built from sources On 1/31/06, David Sag [EMAIL PROTECTED] wrote: Okay I have changed my build so that the checkstyle etc all happen on the verify phase, and have updated

Re: [m202] Cobertura plugin

2006-02-03 Thread David Sag
As far as I can tell the latest snapshot version (2.0) still does not work properly. it will instrument okay but when generating the a site with cobertura as a report it generates 0 byte class files and the surefire tests break. brett porter claims it does work and offered up

Re: Using cobertura with Maven 2

2006-02-03 Thread David Sag
you will need to enable snapshots to get the cobertura plugin as it has not actually ever been released. then try plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId version2.0-SNAPSHOT/version executions

Re: Using cobertura with Maven 2

2006-02-03 Thread David Sag
Hi Rik, So you have actually been able to get the 2.0-SNAPSHOT to work? I'd love to see how. I have been trying all week to get the cobertura reports to work but since iupping to maven 2.0.2 have not been successful due to the problem of it generating 0 byte instrumented class files during the

[m2.0.2] the skin does not exist: unable to determine the release version.

2006-02-03 Thread David Sag
Today I got a new error when building the site for my project. the skin does not exist: unable to determine the release version. WTF? I've never seen this error before. Is it just me, or does the new found brittle nature of builds scare anyone else? It's truly scary to go home leaving a

Re: [m2.0.2] the skin does not exist: unable to determine the release version.

2006-02-03 Thread David Sag
: repositories repository releases enabledfalse/enabled /releases idapache.snapshots/id nameApache Development Repository/name urlhttp://cvs.apache.org/maven-snapshot-repository/url /repository /repositories Emmanuel David Sag a écrit : Today I

Re: Using cobertura with Maven 2

2006-02-03 Thread David Sag
? I'm using mvn 2.02. regards, Rik 2006/2/3, David Sag [EMAIL PROTECTED]: Hi Rik, So you have actually been able to get the 2.0-SNAPSHOT to work? I'd love to see how. I have been trying all week to get the cobertura reports to work but since iupping to maven 2.0.2 have

Re: [m202] Cobertura plugin

2006-02-06 Thread David Sag
on to completion in the next two weeks. We're working through the issues at the mojo project. fantastic news. do you have a link to a JIRA issue i could track? - Brett On 2/4/06, David Sag [EMAIL PROTECTED] wrote: As far as I can tell the latest snapshot version (2.0) still does not work

Re: [m2] Surefire-Plugin ignores argLine

2006-02-08 Thread David Sag
Hi Jim, to get this to work I have set up an environment variable MAVEN_OPTS=-ea in my .profile (I am on MacOSX - do whatever you need to do to set up env variables on your platform) it's less than ideal but for now I have been told this is the only way. Kind regards, Dave Sag Jim

Re: cobertura plugin

2006-02-17 Thread David Sag
Please - that would be nice. Kind regards, Dave Sag Arnaud HERITIER [EMAIL PROTECTED] wrote on 16-02-2006 16:24:10: Isn't it possible to release it ? Arnaud On 2/16/06, Mike Perham [EMAIL PROTECTED] wrote: The plugin code in SVN already uses 1.7. It's never been released so

Re: cobertura plugin

2006-02-17 Thread David Sag
Sorry are you talking about maven 1 or 2 plugin? I was told that 2.0-SNAPSHOT is the one to use for maven 2 but since updating to maven 2.0.2 the reporting part of cobertura hasn't worked. Kind regards, Dave Sag Nicolas De Loof [EMAIL PROTECTED] wrote on 17-02-2006 11:12:27:

Re: cobertura plugin

2006-02-17 Thread David Sag
together a minimal project and reproduce the problem in some code that is not the EPOs tho. This probably won't happen today. Kind regards, Dave Sag Brett Porter [EMAIL PROTECTED] wrote on 17-02-2006 13:20:42: On 2/17/06, David Sag [EMAIL PROTECTED] wrote: Sorry are you talking about

  1   2   >