Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

2005-09-13 Thread Brett Porter
No, in fact it should be backwards compatible. The only plugins that have required an update so far (findbugs) is because the project.xml that they came with was invalid. Does the exception occur on other projects using commons-attributes? Did it work in 1.0.2? beta-1? Thanks, Brett On 9/14/0

[m1.1b2] StackOverflowError when using commons-attributes plugin

2005-09-13 Thread Nicolas De Loof
I've tryed maven 1.1 beta2 on a simple project that uses commons-attributs for metadata. I get StackOverflowException. Does maven 1.1 has so much changes that it requires update from all plugins ? LA CONSTRUCTION A ╚CHOU╚ Fichier... D:\Maven 1.1-beta-2\cache\commons-attributes-plugin-2.

Re: [m2] Multiproject directory organization on CVS

2005-09-13 Thread Thomas Van de Velde
I always apply the following: one POM = one package = one CVS/Eclipse module There are many advantages to this aproach: 1) You are not mixing libraries across modules in your Eclipse classpath 2) This solution allows people to checkout only those parts on which they work 3) This solution scales

[m1] trouble with relative paths and dist:prepare-src-filesystem

2005-09-13 Thread Wendy Smoak
I'm having trouble with relative paths for source code. Whatever constructs the path to the source code for compilation is able to deal with the relative path... but not dist:prepare-src-filesystem. Is there a way to "convert" maven.src.dir into an absolute path at build time? Here's what's hap

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-13 Thread Brett Porter
Thanks Mark, I'll take a look. - Brett On 9/14/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > > Raised http://jira.codehaus.org/browse/MNG-874 > > Would like to set fix for beta-1 (being quite a blocker) but don't > wanna get shouted at ;) > > On 13/09/05, Mark Hobson <[EMAIL PROTECTED]> wrote:

Re: [m2] Nested jars

2005-09-13 Thread Brett Porter
The way Maven is intended to work currently in this regard is that anything that aggregates other projects or dependencies doesn't use the packaging, but instead produces it as an associated artifact. So, if packaging = pom, you get the desired result in terms of the dependency mechanism, but yo

Re: [m2] packaging

2005-09-13 Thread Brett Porter
This is all correct. It is worth adding that it is impossible to have a definitive list as plugins can add their own - however the built in ones are: jar, ejb, war, ear, rar, maven-plugin Cheers, Brett On 9/13/05, Yann Le Du <[EMAIL PROTECTED]> wrote: > > When you execute "m2 package" (or, mor

[m2] scm:checkout

2005-09-13 Thread john_harrison
Hi All, I'm using the scm plugin as follows: m2 scm:checkout -Dmaven.scm.url=scm:cvs:pserver:@:: and receiving the following response: [INFO] Searching repository for plugin with prefix: 'scm'. [INFO] [INFO] Building

Re: [m2] Nested jars

2005-09-13 Thread Jesse McConnell
I am a little confused with what you are trying to do exactly.. are you basically saying that you want one project to produce multiple artifacts that you can use as a dependency seperately within another project? are these projects really subprojects in one project with a shared root pom.xml f

Re: [m2] Multiproject directory organization on CVS

2005-09-13 Thread Jesse McConnell
I ended up setting up two cvs modules to manage the migration from our ant setup to m2. Basically since we have over 4 years of history in the one project and most of the developers aren't that adventurous I have maintained out our cvs module and provide a new one that mounts the old src directo

How to use maven-antrun-plugin?

2005-09-13 Thread Wendell Beckwith
I want to try and use the antrun plugin and I have the followin build element: org.apache.maven.plugins maven-antrun-plugin 1.0-alpha-1-SNAPSHOT with the following output: E:\dev\workspace\maven-hello-plugin>m2 -X antrun:run + Error stacktraces are turned on. [DEBUG] Building Ma

Problem with regexp in Maven 1.1beta2

2005-09-13 Thread Edson Yanaga
Hi, I have tried do use the jaspercompile task from jasperreports on Maven 1.1beta2, but I get the following error: (I have noticed that the ant that ships with maven does not include nor jakarta-oro, nor jakarta-regexp. Maybe is this the problem? I have tried to copy regext and oro jars to $MAVEN

[m2] resources block not merged with profiles?

2005-09-13 Thread Mark Hobson
Didn't want to file a bug if this was a conscious design decision, but with the following POM: ... a ... b ... ... Shouldn't the effective resources block consist of both 'a' and 'b' when the profile

Re: you are serious with antrun-plugin 10 levels deep xml construct?

2005-09-13 Thread Kenney Westerhof
On Tue, 13 Sep 2005, solo turn wrote: > hi, > thanks, now it works! > my pom has just dependencies (other jars and so libraries), and i use > assembly and antrun. > the result is: > * an empty jar > how can i avoid that it is produced? Add sources? :) > * the zip, created by assembly So yo

RE: maven projects and eclipse plugins

2005-09-13 Thread Arnaud HERITIER
You can use the tag deploy:copy-deps to copy your project dependencies but I don't find a documentation about it on the new site :-( Here is the old one : http://maven.apache.org/reference/user-guide.html#Copying_Dependency_JARs My 2 cents Arnaud > -Message d'origine- > De : Duncan

[m2] clover and assert

2005-09-13 Thread Mike Perham
Vincent posted a few months ago about how to get Clover working with the assert keyword with m1. I'm having the same problem with the latest m2 source. Could one of the maven devs perhaps add an assert statement to the Clover plugin test so that we know there is a way to make it work and it is te

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-13 Thread Mark Hobson
Raised http://jira.codehaus.org/browse/MNG-874 Would like to set fix for beta-1 (being quite a blocker) but don't wanna get shouted at ;) On 13/09/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > On 12/09/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > > On 12/09/05, Brett Porter <[EMAIL PROTECTED]> wro

[m2] Nested jars

2005-09-13 Thread Andrew Niefer
The resulting artifact of a project A is a directory containing jar files, binaries and resources and I package this in a jar, or even a zip or rpm (if I had such a packaging plugin) A jar/zip/rpm - nested1.jar - nested2.jar - resources/binaries - META-INF/manif

Re: Threads (was RE: [ANN] Article on building J2EE projects with Maven 1.1)

2005-09-13 Thread Thomas Van de Velde
Vincent, Does Cargo support remote stopping and starting as well as deployment? Thanks Thomas On 9/13/05, Vincent Massol <[EMAIL PROTECTED]> wrote: > > Hi Richard, > > > -Original Message- > > From: Walsh, Richard (Richard) [mailto:[EMAIL PROTECTED] > > Sent: vendredi 9 septembre 2005

Re: you are serious with antrun-plugin 10 levels deep xml construct?

2005-09-13 Thread solo turn
hi, thanks, now it works! my pom has just dependencies (other jars and so libraries), and i use assembly and antrun. the result is: * an empty jar how can i avoid that it is produced? * the zip, created by assembly * i have to use two commands to get the result where it should be: m2 assembl

Re: [m2] mock classes

2005-09-13 Thread Jorg Heymans
Trygve Laugstøl wrote: > Just treat the mocks as unit test source code and use > > > .. > > .. > mocks > .. > > > Just tried this, doesn't seem to work. Jorg - To unsubscribe, e-mail: [EMAIL PROTECTE

StackOverflowError on large file

2005-09-13 Thread Siegmann Daniel, NY
When compiling a project with Maven (java:compile), I get a java.lang.StackOverflowException. It's just one file that has the problem, but it's a very large source file (~8000 lines). This is generated code, so it won't be changed (in fact, I expect it to get larger). I've tried setting -Xss option

Threads (was RE: [ANN] Article on building J2EE projects with Maven 1.1)

2005-09-13 Thread Vincent Massol
Hi Richard, > -Original Message- > From: Walsh, Richard (Richard) [mailto:[EMAIL PROTECTED] > Sent: vendredi 9 septembre 2005 13:34 > To: Maven Users List > Subject: RE: [ANN] Article on building J2EE projects with Maven 1.1 > > Hi Vincent, > Have you any experience with launching new thr

Re: [m1] setting system property

2005-09-13 Thread Sachin Patel
I also tried... ${systemScope.setProperty('swt.fragmentid','win32.win32.x86')} At the top level maven.xml, this works however, I need it at a particular project. A dependency location is dependent on this value however if I move this into that projects maven.xml the project.xml is parsed fir

Re: [m1] setting system property

2005-09-13 Thread Dion Gillard
${systemScope.put('swt.fragmentid', 'win32.win32.x86')} On 9/14/05, Sachin Patel <[EMAIL PROTECTED]> wrote: > How can I set a system property using jelly in a parent maven.xml so > that the project.properties can reference it? I tried the following > setting the ant property as well as var, but ne

[m1] setting system property

2005-09-13 Thread Sachin Patel
How can I set a system property using jelly in a parent maven.xml so that the project.properties can reference it? I tried the following setting the ant property as well as var, but neither of them were picked up by the project.properties. Thanks. Sachin --

maven projects and eclipse plugins

2005-09-13 Thread Duncan Krebs
Hi, I posted a question on this two days ago but might have asked something too specific. Pretty much I'm trying to find a solution to using maven with my eclipse projects that are "plugin projects." My specific issue is figuring out how to modify the plugin build process so that my eclipse pl

Re: [m2] properties

2005-09-13 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That's correct. - -john Chris Berry wrote: | Hi Ashley, | I'm told it will look like this:: | | | value | | So you might have | | | bar | | And, thus, you can use ${foo} elsewhere | Of course, the Mvaen Guys shoudl confirm this ;-) | Chee

RE: [m2] Multiproject directory organization on CVS

2005-09-13 Thread Allison, Bob
We have our entire project, including subprojects, in a single CVS module. The directory at the top of the module contains the root POM, etc. Each subproject is a subdirectory of that top level. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Nelson Arape Sent: Tue

RE: [m2] Multiproject directory organization on CVS

2005-09-13 Thread Nelson Arape
Sorry, I did not make may self clear. I don't have problems with How maven handles subprojects, but in how organize thos projects in a CVS repository. How I look, I have to options: 1.- Make the whole project and subprojects a module in the CVS repository. 2.- Make each subproject a distinct modul

Re: [M2] maven-ear-plugin

2005-09-13 Thread Adam Hardy
OK, done http://jira.codehaus.org/browse/MNG-871 Kenney Westerhof on 13/09/05 13:53, wrote: On Tue, 13 Sep 2005, Adam Hardy wrote: I think maven-core covers this. If not, we'll adjust it. And next time if you feel like reporting an issue and you're not sure which component: you can also skip

Re: [m2] properties

2005-09-13 Thread Chris Berry
Hi Ashley, I'm told it will look like this:: value So you might have bar And, thus, you can use ${foo} elsewhere Of course, the Mvaen Guys shoudl confirm this ;-) Cheers, -- Chris On 9/13/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > But where does the name go - you just have th

Re: [M2] maven-ear-plugin

2005-09-13 Thread Kenney Westerhof
On Tue, 13 Sep 2005, Adam Hardy wrote: I think maven-core covers this. If not, we'll adjust it. And next time if you feel like reporting an issue and you're not sure which component: you can also skip selecting a component. Don't let that hold you back! :) Thanks again! -- Kenney > Sure. But a

Re: [M2] maven-ear-plugin

2005-09-13 Thread Adam Hardy
Sure. But as a bug of maven-ear-plugin, or as a bug of some other component? (I would guess maven-artifact, but I'm not sure). Adam Kenney Westerhof on 13/09/05 12:47, wrote: On Tue, 13 Sep 2005, Adam Hardy wrote: That's correct, the dependency itself is not updated to reflect the type of th

Re: [M2] maven-ear-plugin

2005-09-13 Thread Kenney Westerhof
On Tue, 13 Sep 2005, Adam Hardy wrote: That's correct, the dependency itself is not updated to reflect the type of the pom associated with it, and hence type has to be specified. And yes, it defaults to jar. However, since the type information is available in the pom, it would be very convenient

Re: [M2] maven-ear-plugin

2005-09-13 Thread Adam Hardy
I didn't explicitly declare the type attribute in my dependency declarations. I've done that now and maven-ear-plugin has co-operated. It seems that the plugin was looking no further than that type attribute, rather than delving into the dependency's pom. Does the attribute in the dependency

Re: SPAM: Re: [jira] Closed: (MNG-835) Default profile in pom.xml not activated

2005-09-13 Thread Mark Hobson
On 13/09/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > Mark, > > it's and not You're right - thanks. I'll check the maven.mdo file myself next time ;) Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: SPAM: Re: [jira] Closed: (MNG-835) Default profile in pom.xml not activated

2005-09-13 Thread Emmanuel Venisse
Mark, it's and not Emmanuel Mark Hobson wrote: Just trying this on the latest m2 and get: Error: 'Unrecognised tag: 'activatedByDefault' (position: START_TAG seen ...\r\n\t\t\t\t ... @60:25) ' I have: ... default

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-13 Thread Mark Hobson
On 12/09/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > On 12/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > ugh. My last fix was a bit short sighted - sorry about that. > > > > I'll keep looking into it. > > That's working now thanks. Think I spoke too soon - I'm trying this again with the pro

Re: [jira] Closed: (MNG-835) Default profile in pom.xml not activated

2005-09-13 Thread Mark Hobson
Just trying this on the latest m2 and get: Error: 'Unrecognised tag: 'activatedByDefault' (position: START_TAG seen ...\r\n\t\t\t\t ... @60:25) ' I have: ... default true

Re: [m2] mock classes

2005-09-13 Thread Trygve Laugstøl
On Tue, 2005-09-13 at 10:01 +0200, Jorg Heymans wrote: > Hi, > > I am trying to model this directory structure inside one of our modules > into a runnable pom > > ./src > ./mocks Just treat the mocks as unit test source code and use .. .. mocks .. See [1] for the referen

RE: [m2] packaging

2005-09-13 Thread Yann Le Du
When you execute "m2 package" (or, more likely, "m2 install" which will call "package"), Maven checks your to see what plugin to use. e.g., if your packaging is war, it will use maven-war-plugin. I don't know if there is an official list, but you can figure it out from the list of available plugi

Re: [m2] properties

2005-09-13 Thread Ashley Williams
But where does the name go - you just have the value written there. Also How do you define more than one property? I was hoping it would be something like: myname myvalue myname2 myvalue2 AW On 13 Sep 2005, at 02:53, John Casey wrote: --

[m2] mock classes

2005-09-13 Thread Jorg Heymans
Hi, I am trying to model this directory structure inside one of our modules into a runnable pom ./src ./mocks The mocks need to be compiled and added as a dependency to the src classpath. I know I could make this work by having a separate module for the mocks and add it as a "provided" dependen