Re: [m2] Behavior of transitive dependencies

2005-08-03 Thread Brett Porter
There isn't actually a way to turn it off wholesale, but you can exclude specific ones using : dom4j ... jdbc jdbc ... This should be considered a last resort - what really needs to happen is for the dom4j metadata to be corrected. It in particular is well k

[m2] Behavior of transitive dependencies

2005-08-03 Thread Ken Weiner
I am new to Maven 2 and am trying to understand currently, in alpha 3, how transitive dependencies are supposed to be working. If I want to include something like dom4j-1.6.jar, but none of the dom4j dependencies, in my project, how would I specify this in the pom? I tried the following, and sinc

Error during building a JAR

2005-08-03 Thread nehalshah
Hello guys, I have recently installed Maven 1.0.2 and have also setup the sample project as specified in 'Ten minute Test' available at http://maven.apache.org/start/ten-minute-test.html. Using command 'maven java:compile' I am able to compile the sample project successfully. But when I tr

Re: Create instructions for Continuous integration for dummies anyone?

2005-08-03 Thread Brett Porter
This looks good, but so far I don't see the difference with the install instructions on the Maven website. Maybe this part would be better as a patch against that to enhance what is already there? - Brett On 8/4/05, Mayorgaadame, Alex [IT] <[EMAIL PROTECTED]> wrote: > Feel free to have a look at

Re: m2 generate-sources goal

2005-08-03 Thread Sidart Kurias
Adam Thank you, You're example makes it perfectly clear what I need to do. I was confusing the phase with a goal. Thanks Sid --- Adam Hardy <[EMAIL PROTECTED]> wrote: > Hi Sid, > > you would require a plugin that maven can execute > during the > generate-sources step of the lifecycle. > >

Re: [M2] Forking Surefire Test

2005-08-03 Thread Brett Porter
Hi Rod, This has been requested (and is in JIRA), but hasn't been implemented yet. I'd be happy to provide guidance to anyone looking to contribute that. Nice article on DevX by the way - and please feel free to drop the developers list a line if you are writing any in the future. We're always ha

[M2] Forking Surefire Test

2005-08-03 Thread Rod Coffin
Does anyone know if there is a way to fork surefire unit tests? I have a particular scenario where this appears to be a requirement. I know how to do this with Ant and M1 but not M2. Any help would certainly be appreciated. Rod

SQL/DDL report plugin?

2005-08-03 Thread Jason Dillon
Does anyone know of any SQL/DDL report plugin that will take a .sql with create statements and render a nice image suitable for displaying in a project's generated website? Or if not a plugin, anything javaish that could take some sql and render it? --jason -

Re: M[1.1] Multiproject Issue

2005-08-03 Thread Brett Porter
This is a bug in the Maven 1.1 release. You can download the latest artifact plugin to correct it: maven plugin:download -DartifactId=maven-artifact-plugin -Dversion=1.6 -DgroupId=maven Cheers, Brett On 8/4/05, Curtis, Harrison <[EMAIL PROTECTED]> wrote: > I'm trying to run a multproject under

M[1.1] Multiproject Issue

2005-08-03 Thread Curtis, Harrison
I'm trying to run a multproject under Mave 1.1. This project works fine under 1.0.2. There seems to be a problem with the artifact-install (which is probably a configuration problem). Can someone suggest what action to take to get the multiproject to build? The following is the error after the

Re: When extending a "parent" project.xml, not everything seems to get inheirited

2005-08-03 Thread Brett Porter
Yes, resources are replaced, not merged. The only lists merged are dependencies, developers and contributors. Organization should be inherited - and I believe there are unit tests to prove it at multiple levels. Can you provide a test case? Thanks, Brett On 8/4/05, Jamie Bisotti <[EMAIL PROTECTE

Re: Checkstyle Chokes on Java 5.0 Constructs

2005-08-03 Thread Carlos Sanchez
Check today's thread called "Checkstyle for Java 5 question", solution follows: > Hi, > > You need the latest version of the checkstyle plugin from SVN. You can > build it by yourself or use the one in > http://cvs.apache.org/repository/maven/plugins/maven-checkstyle-plugin-3.0-SNAPSHOT.jar > (whi

Checkstyle Chokes on Java 5.0 Constructs

2005-08-03 Thread Keith Bennett
All - I am new to Maven, and am using version 1. I recently downloaded and installed it, so I'm pretty sure I have recent files. I'm running among other things a checkstyle report, and it chokes on the Java 5.0 syntax ('Vector' and 'for (Object object : objects)'). The console output is include

RE: Create instructions for Continuous integration for dummies anyone?

2005-08-03 Thread Mayorgaadame, Alex [IT]
Guess what? No much money here, my card is still maxed out after the PSP release =) I guess I'll learn the hard way. But I'll post as much as I can to the Wiki, for newbies to come. Thanks anyway. Alex -Original Message- From: Carlos Sanchez [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: Create instructions for Continuous integration for dummies anyone?

2005-08-03 Thread Carlos Sanchez
I recommend the Maven Developers Notebook chapter about Continuous Integration, it's really good. On 8/3/05, Joe Futrelle <[EMAIL PROTECTED]> wrote: > If you have a little $ to spend, there's a tutorial for setting up > cruise control with Maven 1 in the O'Reilly Developers' Notebook for > Maven,

Re: Create instructions for Continuous integration for dummies anyone?

2005-08-03 Thread Joe Futrelle
If you have a little $ to spend, there's a tutorial for setting up cruise control with Maven 1 in the O'Reilly Developers' Notebook for Maven, but I haven't tried it. On Aug 3, 2005, at 11:56 AM, Mayorgaadame, Alex [IT] wrote: Feel free to have a look at what I've done so far http:// wiki.a

[m2] depend on version-less jars?

2005-08-03 Thread Joe Futrelle
My project depends on Globus jars, many of which have no version information. For the moment I've taken the Globus COG4 project's m1 repository and converted it to an m2 repository using bogus version numbers for all the version-less jars. Is there a better way, now that the tag for depend

Re: Checkstyle for Java 5 question

2005-08-03 Thread Aaron Colwell
Thanks. Downloading the snapshot seemed to fix the problem. Aaron On Wed, Aug 03, 2005 at 01:01:32PM -0700, Carlos Sanchez wrote: > Hi, > > You need the latest version of the checkstyle plugin from SVN. You can > build it by yourself or use the one in > http://cvs.apache.org/repository/maven/plu

Re: Checkstyle for Java 5 question

2005-08-03 Thread Carlos Sanchez
Hi, You need the latest version of the checkstyle plugin from SVN. You can build it by yourself or use the one in http://cvs.apache.org/repository/maven/plugins/maven-checkstyle-plugin-3.0-SNAPSHOT.jar (which may not be the latest one) Regards On 8/3/05, Aaron Colwell <[EMAIL PROTECTED]> wrote:

Checkstyle for Java 5 question

2005-08-03 Thread Aaron Colwell
I'm using Maven 1.1 on some Java 5 source. Checkstyle appeared to be having problems with the generic syntax. I discovered that Checkstyle 4.0-beta4 have Java 5 support and so I want maven to use that. I wasn't sure how to get maven to download the new version of checkstyle. After looking around t

Re: Plugin support for Hibernate 3.0

2005-08-03 Thread Todd Nine
I have not tried the specific maven plugin, however I have used the jelly ant tasks to use the hibernate tools 3 alpha release. Give that a shot. On 8/3/05, Jamie Bisotti <[EMAIL PROTECTED]> wrote: > > On 5/24/05, Felipe Leme <[EMAIL PROTECTED]> wrote: > > On Tue, 2005-05-24 at 14:41 -0400, Jami

Re: email plugin for m1?

2005-08-03 Thread dan tran
if you like, I can send you a custom plugin -D On 8/3/05, Matthew L Daniel <[EMAIL PROTECTED]> wrote: > I googled for such a device but did not find anything. Is there a > mechanism for sending email from Maven 1? I am familiar with ant:mail, > but wondered if that was the right way or if there

email plugin for m1?

2005-08-03 Thread Matthew L Daniel
I googled for such a device but did not find anything. Is there a mechanism for sending email from Maven 1? I am familiar with ant:mail, but wondered if that was the right way or if there was a more Mavenized method. Thanks, -- /v\atthew ---

Re: NoClassDefFoundError while running test

2005-08-03 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you be a little more specific? I'm assuming you're using Maven 1.x...? Also, which class is it trying unsuccessfully to find? Without that info, it'll be hard-to-impossible for anyone to help much, I'm afraid... - -john Michael Mattox wrote: |

RE: Create instructions for Continuous integration for dummies anyone?

2005-08-03 Thread Mayorgaadame, Alex [IT]
Feel free to have a look at what I've done so far http://wiki.apache.org/maven/MavenInWindows This is obviously a work in progress and I'll be updating as I progress. Any feedback or contributions would be highly appreciated. Regards, Alex -Original Message- From: Brett Porter [mailto:

NoClassDefFoundError while running test

2005-08-03 Thread Michael Mattox
For some reason my project is giving me NoClassDefFoundError while running my unit tests. It's happening on both the server and on my PC so I know it's not the environment. The project compiles so I know the dependency is correct. I run maven with -X and I see the JAR in the list (at the top) so

Re: When extending a "parent" project.xml, not everything seems to get inheirited

2005-08-03 Thread Jamie Bisotti
On 8/3/05, Jamie Bisotti <[EMAIL PROTECTED]> wrote: > Using Maven 1.0.2, I have the following layout: > > trunk > common > project.xml > components > comp1 > project.xml > comp2 > project.xml > framework > project.xml > > where c

When extending a "parent" project.xml, not everything seems to get inheirited

2005-08-03 Thread Jamie Bisotti
Using Maven 1.0.2, I have the following layout: trunk common project.xml components comp1 project.xml comp2 project.xml framework project.xml where common/project.xml is the "parent" POM and the other three project.xml files exte

Mail notifier configuration in M2 POMs

2005-08-03 Thread Yann Le Du
Hi, A small question about mail notifiers in Maven 2 POMs (see below). At first, I'd use (since this is what is displayed in Maven project-info-reports page), but it turns out that only seems to be used by Continuum. I wonder which one is correct (though of course I'm likely to use the second o

Re: Plugin support for Hibernate 3.0

2005-08-03 Thread Jamie Bisotti
On 5/24/05, Felipe Leme <[EMAIL PROTECTED]> wrote: > On Tue, 2005-05-24 at 14:41 -0400, Jamie Bisotti wrote: > > > So, back to my original questions then...What is the status of the > > The status is basically "undefined" :-( > > > Hibernate plugin? Will it be updated to support 3.0 sometime s

Re: scm:update error

2005-08-03 Thread Jamie Bisotti
On 8/2/05, Mariano Stampella <[EMAIL PROTECTED]> wrote: > > Hi, I'm Mariano with the same old problem, I use the scm-plugin and when try > to use the update goal occurs this > > [WARNING] Unknown status: '? '. > [WARNING] Unknown status: 'M '. > > That's because when i execute the update goal re

Re: Multiproject build

2005-08-03 Thread Per Abich
Just put a dependency in your project.xml so that all project depend on your utility project. That should do the trick. Currently, there is no other way of orderig the build process. Per 2005/8/3, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi, > > I have a Maven multiproject set up. One of m

Re: Tag library missing?

2005-08-03 Thread Per Abich
Removing my plugin cache did the trick... I wonder, what happend... Thanks for the help Per Abich 2005/8/3, Brett Porter <[EMAIL PROTECTED]>: > This state can usually be rectified by removing your plugin cache > (which will be generated on next run). > > - Brett > > On 8/3/05, Chedly GUERFALI

Multiproject build

2005-08-03 Thread gurubaran . kanagaraj
Hi, I have a Maven multiproject set up. One of my project is a utility kind of project which is used by my other modules/projects. During the build, can i set up a order in which the projects will be built (or) can i set dependency between my projects so that my utility project will get bui

Re: Tag library missing?

2005-08-03 Thread Brett Porter
This state can usually be rectified by removing your plugin cache (which will be generated on next run). - Brett On 8/3/05, Chedly GUERFALI <[EMAIL PROTECTED]> wrote: > Hi Per, > I think you didn't download the scm plugin with "maven plugin:download ..." > command, but with an "external" download

RE: Tag library missing?

2005-08-03 Thread Chedly GUERFALI
Hi Per, I think you didn't download the scm plugin with "maven plugin:download ..." command, but with an "external" download of the plugin. Hope it helps. Chedly -Message d'origine- De : Per Abich [mailto:[EMAIL PROTECTED] Envoyé : mercredi 3 août 2005 13:48 À : users@maven.apache.org Obj

Tag library missing?

2005-08-03 Thread Per Abich
I have just upgraded my scm and multiproject plugins, and now I keep getting the following errors from Cruisecontrol: Tag library requested that is not present: 'doc' in plugin: 'maven-scm-plugin-1.5' Tag library requested that is not present: 'doc' in plugin: 'maven-multiproject-plugin-1.4.1' Tag

Re: m2 generate-sources goal

2005-08-03 Thread Adam Hardy
Hi Sid, you would require a plugin that maven can execute during the generate-sources step of the lifecycle. You would configure your plugin into your pom a bit like this for xdoclet: maven-xdoclet-plugin 1.0-SNAPSHOT generate-sources xdoclet

Re: Changelog returns 0 entries

2005-08-03 Thread Brett Porter
confirmed. Odd - I'm sure I tested this on Cygwin just the other day when fixing dev activity... - Brett On 8/3/05, Daniel Beland <[EMAIL PROTECTED]> wrote: > Hi, > > > I have the exact same problem, so I kept on using 1.7.2. > > But I really want the new functionalities of 1.8.2 (tag or date

Re: Changelog returns 0 entries

2005-08-03 Thread Daniel Beland
Hi, I have the exact same problem, so I kept on using 1.7.2. But I really want the new functionalities of 1.8.2 (tag or date types), and since no one answered your post I tried to find the problem and finally got it after a lot of diff viewing in the changelog viewcvs. It seems they changed th

m2 generate-sources goal

2005-08-03 Thread Sidart Kurias
All, How does the generate-sources goal work. Are there elements in the pom that can affect what is generated? For example I am trying to generate java code from idl files, does this mean I can use the generate-sources goal and somehow specify in my pom which idl compiler to use and what files to

RE: [clover] Release a clover plugin (1.10?) for Clover 1.3.9?

2005-08-03 Thread Vincent Massol
> -Original Message- > From: Gary Gregory [mailto:[EMAIL PROTECTED] > Sent: mardi 2 août 2005 17:52 > To: Maven Users List > Subject: RE: [clover] Release a clover plugin (1.10?) for Clover 1.3.9? > > Does an [ann] get posted here when plugins are released? Yes > Should I watch > anoth