Re: A required plugin was not found: Plugin could not be found

2006-03-15 Thread David Sag
The cobertura plugin is not finished yet. I recommend you pop over to http://jira.codehaus.org/browse/MCOBERTURA-2 and http://jira.codehaus.org/browse/MCOBERTURA-5 and vote on those issues Kind regards, Dave Sag Boris Lenzinger [EMAIL PROTECTED] wrote on 15-03-2006 11:03:35: Hi,

Re: Maven documentation (was Re: how to include all dependencies in your jar)

2006-03-14 Thread David Sag
I heard about a very interesting way to attack this problem a couple of years ago in the Cocoon project. At one of the big cocoon user/dveleoper conferences (it could even have been at an apachecon) a small room of people with varying degrees of familiarity with the source code worked

Re: custom src directory layout - how to get it to not checkstyle/javadoc the tests too.

2006-03-14 Thread David Sag
Thorsten Heit [EMAIL PROTECTED] wrote on 10-03-2006 13:46:19: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, the directory structure we have is pom.xml src/ - org/ Maven uses src/java/... per default. Have you tried that? unfortunately I do not have permission to change

Re: custom src directory layout - how to get it to not checkstyle/javadoc the tests too.

2006-03-14 Thread David Sag
Wayne Fay [EMAIL PROTECTED] wrote on 10-03-2006 18:00:22: Easiest answer is to move to Subversion. There are tools to facilitate this so you can save your history out of CVS. easier said than done here I am afraid. certainly that's what I have done for all of my personal and freelance

RE: [M2] Jcoverage plugin?

2006-03-14 Thread David Sag
There are a few serious bugs with cobertura and maven 2. i've been plugging away with it for a while now and if you build maven from source it does work but only for single project builds. multi-project builds all report zero coverage. see http://jira.codehaus.org/browse/MCOBERTURA-2 and

custom src directory layout - how to get it to not checkstyle/javadoc the tests too.

2006-03-10 Thread David Sag
Hi All, I am beginning now to migrate many of our projects to maven 2, but I am not permitted to move the location of the stuff in the src directory as CVS is unable to retain the history in this case and we have no plans to move to something more useful such as subversion. the directory

[m2] multi-project problems

2006-03-01 Thread David Sag
Dear people, I am having my first proper stab at doing a milti-project build, but naturally have hit some immediate problems. Firstly I have scoured the maven site and google but can't find any sound documentation on how the multi-project builds are meant to work. I did find this page

Re: [m2] multi-project problems

2006-03-01 Thread David Sag
, David Sag [EMAIL PROTECTED]: Dear people, I am having my first proper stab at doing a milti-project build, but naturally have hit some immediate problems. Firstly I have scoured the maven site and google but can't find any sound documentation on how the multi-project builds

RE: [m2] multi-project problems

2006-03-01 Thread David Sag
also reference the parent by adding a relativePath in the parent definition in the child pom. (never used it myself) May that helps. Raphaël 2006/3/1, David Sag [EMAIL PROTECTED]: Dear people, I am having my first proper stab at doing a milti-project build, but naturally have

RE: [m2] multi-project problems

2006-03-01 Thread David Sag
. From: David Sag [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 8:49 AM To: Maven Users List Subject: RE: [m2] multi-project problems aha. okay i had my parent pom called generic-pom.xml as I was only interesed in building some of our 'generic' projects

Re: xDoc i18n base language HTML placed in wrong directory

2006-03-01 Thread David Sag
Lance Bader wisely said: Automatic redirection based on browser locale is a good idea for a consumer site but our multi-lingual users are aggravated if they have to change the browser's locale in order to view a particular language. A multi-lingual front page allowing quick choices to a

RE: [m2] multi-project problems

2006-03-01 Thread David Sag
with the parent. To do what you want, you should put the config in the parent's pluginManagement section. Then in each child you just need to put the plugin group and id in the build/plugin section but the configuration will be inherited. From: David Sag [mailto:[EMAIL

RE: [m2] multi-project problems

2006-03-01 Thread David Sag
section, there is a dependencyManagement section. Take a look at the project descriptor under where is it on the maven page. From: David Sag [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 10:40 AM To: Maven Users List Subject: RE: [m2] multi

Re: [m2] Multiple Goals In Pom

2006-03-01 Thread David Sag
After setting up your pom you'd just call [mvn clean deploy] and it will do everything in the build lifecycle to that point. see http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Kind regards, Dave Sag Adam Leggett [EMAIL PROTECTED] wrote on 01-03-2006

Re: [m2] multi-project problems

2006-03-01 Thread David Sag
: David Sag [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 10:40 AM To: Maven Users List Subject: RE: [m2] multi-project problems Hi Brian, Your suggestion worked well, while it's not quite what I was after (I wanted to leave the build details out of the sub-project

default skin - where do i get it?

2006-02-24 Thread David Sag
Hi, I had to rebuild maven from the source files in svn as the cobertura plugin is now demanding version 2.0.3 to run. but now the site plugin is complaining that it can't find the skin org.apache.maven.skins:maven-default-skin:jar:RELEASE so where do I find that - please don't say I have to

Re: default skin - where do i get it?

2006-02-24 Thread David Sag
-beta-4 (the current release). - Brett On 2/24/06, David Sag [EMAIL PROTECTED] wrote: Hi, I had to rebuild maven from the source files in svn as the cobertura plugin is now demanding version 2.0.3 to run. but now the site plugin is complaining that it can't find the skin

RE : default skin - where do i get it?

2006-02-24 Thread David Sag
own skin ;-) (very nice feature) - Olivier [1] http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-site-plugin/ src/main/java/org/apache/maven/plugins/site/SiteMojo.java?rev=370214vie w=markup -Message d'origine- De : David Sag [mailto:[EMAIL PROTECTED] Envoyé

Re: tests are running 3 times when i generate my site

2006-02-23 Thread David Sag
: On 2/22/06, David Sag [EMAIL PROTECTED] wrote: unfortunately cobertura is not working again as it now demands maven 2.0.3to run and breaks my builds. Sorry, that was the only way to resolve the issue. i was at home last night so had access to svn, checked out the latest maven2 from

jpox enhancing

2006-02-23 Thread David Sag
I want to use JPOX there is a maven-jpox-plugin in repo1.maven.org/maven2/maven-plugins/ but when i add a reference to it in my pom.xml i get a FATAL ERROR null doing a mvn clean. is anyone out there using JPOX and Maven 2? Downloading:

Re: tests are running 3 times when i generate my site

2006-02-22 Thread David Sag
/22/06, David Sag [EMAIL PROTECTED] wrote: For some reason as of today the unit tests in one of my projects are now running 3 times when i do mvn install site. I declare the surefire plugin in my build as per normal and in my reporting as per normal so am not sure why

tests are running 3 times when i generate my site

2006-02-21 Thread David Sag
For some reason as of today the unit tests in one of my projects are now running 3 times when i do mvn install site. I declare the surefire plugin in my build as per normal and in my reporting as per normal so am not sure why this could be. I also generate pmd, cobertura, findbugs and qalab

Re: cobertura plugin

2006-02-20 Thread David Sag
On 2/17/06, David Sag [EMAIL PROTECTED] wrote: Maven 2 is what I am on about. see the jira issue, but i am getting the same problem as you describe. perhaps you'd like to vote on that issue and add your comments there. Kind regards, Dave Sag

Re: cobertura plugin

2006-02-20 Thread David Sag
groupIdaxis/groupId artifactIdaxis-jaxrpc/artifactId version1.2.1/version /dependency dependency groupIdaxis/groupId artifactIdaxis-saaj/artifactId version1.2.1/version /dependency /dependencies /project On 2/20/06, David Sag [EMAIL PROTECTED] wrote

RE: cobertura plugin

2006-02-20 Thread David Sag
no need - all this is handled internally when the plugin executes with 'cobertura:cobertura'. _ From: David Sag [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 7:20 AM To: Maven Users List Subject: Re: cobertura plugin Interesting the main difference between

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

Re: cobertura plugin

2006-02-17 Thread David Sag
(if SVN is a problem I can upload it somewhere), that would isolate it to you environment over your particular project. Thanks, Brett On 2/17/06, David Sag [EMAIL PROTECTED] wrote: Sorry brett the last i heard from you was that you were working on the problem and there would

Re: cobertura plugin

2006-02-17 Thread David Sag
artifactIdcobertura-maven-plugin/artifactId version2.0-SNAPSHOT/version executions execution goals goalclean/goal /goals /execution /executions /plugin regards, Javed On 2/17/06, David Sag [EMAIL

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: [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: [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: 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: 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: 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: 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

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: 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

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: 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

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: [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: 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] 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: 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] 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: [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 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 =

[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

[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

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

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: 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: 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: [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

[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

[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

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

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: [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

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] 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

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-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

  1   2   >