Re: m2-b2?

2005-09-26 Thread Stephane Nicoll
Members are still voting. Normally it should be available soon. Cheers, Stéphane On 9/27/05, Orjan Austvold <[EMAIL PROTECTED]> wrote: > I saw on Brett Porters blog that m2-b2 was out yesterday! Good news! > > The m2-sources have been tagged, but I cannot find a binary of m2-b2 for > download at

m2-b2?

2005-09-26 Thread Orjan Austvold
I saw on Brett Porters blog that m2-b2 was out yesterday! Good news! The m2-sources have been tagged, but I cannot find a binary of m2-b2 for download at http://apache.org/dist/maven/binaries/ yet... Is there some automatic build that has to kick in before the download is made available? Ørj

Re: [m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

2005-09-26 Thread Wim Deblauwe
You are right Brett, I is solved by using 1.1beta2 2005/9/27, Wim Deblauwe <[EMAIL PROTECTED]>: > > That is one of the reasons I did not want to file a repor in JIRA right > away, you never know what you might have overlooked. I will try the beta2 > and see if that is better. > > regards, > > Wim

Re: [m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

2005-09-26 Thread Wim Deblauwe
That is one of the reasons I did not want to file a repor in JIRA right away, you never know what you might have overlooked. I will try the beta2 and see if that is better. regards, Wim 2005/9/27, Brett Porter <[EMAIL PROTECTED]>: > > Please try 1.1 beta-2 first. The IDEA plugin has been improve

Re: [m2] Archetype Plugin parameters and templates

2005-09-26 Thread Jason van Zyl
On Mon, 2005-09-26 at 21:49 -0400, Eric Jacob wrote: > Hi, > > The M1 Genapp plugin offers the possibility to define custom parameters and > templates... So here my questions about the M2 Archetype plugin: > > (1) Does it offer the same possibilities? Yes, the templates for a archetype are actua

RE: using maven.test.skip

2005-09-26 Thread Andy Glick
At 08:32 PM 9/26/2005, Anthony Kong wrote: 2) To proceed, I hardcoded the value in the tag. It is something like: Then there is an runtime error: You must define an attribute called 'value' for this tag. Anthony, You might want to try adding the artifact namespace to your p

[m2] Archetype Plugin parameters and templates

2005-09-26 Thread Eric Jacob
Hi, The M1 Genapp plugin offers the possibility to define custom parameters and templates... So here my questions about the M2 Archetype plugin: (1) Does it offer the same possibilities? (2) Is it possible to prompt the user for the parameter's value? (3) Where should I start to build my own temp

Re: [m2] properties

2005-09-26 Thread Chris Berry
Actually it was just a snippet ;-) The was really meant to be in a definition (I just got lazy). Although I could see one interested in, say, having a single inherited version when building multiple projects -- so I could see it's legitimate use. In the end, it's hard to build a powerful tool th

Re: Duplicate files and Doxia mojo

2005-09-26 Thread Brett Porter
This is a bug - it's already open on the site plugin. - Brett On 9/27/05, Wendell Beckwith <[EMAIL PROTECTED]> wrote: > What the solution for dealing with supposedly duplicate files. We get > the following error > > INFO - Caused by: org.apache.maven.reporting.MavenReportException: > Some files

Re: [m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

2005-09-26 Thread Brett Porter
Please try 1.1 beta-2 first. The IDEA plugin has been improved. - Brett On 9/27/05, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > Can you open an issue on Jira please, if this one doesn't yet exist. > > Arnaud > > > > > Hi, > > > > when generating the iml file with Maven 1.1beta1, I always > > ge

RE: using maven.test.skip

2005-09-26 Thread Anthony Kong
Hi, Andy, Thanks a lot for the prompt reply! Using your technique, I have encountered two issues during testing, 1) the variable "maven.test.skip.value" seems to be not "presisting" between goals. E.g. after I set this variable in preGoal of war:install, then went on to use a tag. It is someth

Re: [m2] properties

2005-09-26 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 this should work now (committed it this afternoon). However, I should note that in Chris' email he was using model properties (POM-level properties) to set the version of the POM...to me, this has a bad smell, since the project version may be influenc

Re: [m2] Newbie Questions

2005-09-26 Thread Brett Porter
The first bug is already open (try setting java_home to the "short path" without spaces). It's only on Windows when Java is in "program files". The second is fixed with the upcoming beta-2 release. If you find a bug that is not in JIRA already, please let us know! - Brett On 9/27/05, Beermann,M

Re: [m2] Newbie Questions

2005-09-26 Thread Jason van Zyl
On Mon, 2005-09-26 at 16:01 -0500, Beermann,Matthew wrote: > So, I'm trying to get started with Maven 2, and I've been finding that > even with a skeletal project, a lot of the plugins just don't seem to > work. I'm particularly curious about these: Did you use the suggested method of getting star

Re: Delivering mock objects for a public API [was Re: [m2] custom compiler mojo]

2005-09-26 Thread John Fallows
On 9/25/05, Trygve Laugstøl <[EMAIL PROTECTED]> wrote: > On Sat, 2005-09-24 at 04:31 +, John Fallows wrote: > > On 9/23/05, Trygve Laugstøl <[EMAIL PROTECTED]> wrote: > > > On Fri, 2005-09-23 at 08:03 +, John Fallows wrote: > > > > I've created a custom compiler mojo that extends AbstractCo

Re: FW: [m2b1] tests not seeing classes?

2005-09-26 Thread Andy Glick
Mike Perham wrote: I found the problem. It had nothing to do with maven and everything to do with the VM's incompetent error reporting. The problem was that the DateLiteralBean class below linked to classes in jarA which linked to classes in jarB. JarB was not in the classpath. 2750 [main]

how to specify where my ear file is for JBoss to deploy?

2005-09-26 Thread Mick Knutson
I have a sub-project-ear that my maven script creates my final ear, and I want to know how the jboss plugin knows that it is in a sub-project, not my main project? Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F., CA) http://www.BASELogic.com HP Consulting

Re: [m1 or 2] Odd project structure... how much pain will this be?

2005-09-26 Thread Eric Biesterfeld
We're slated to talk about it tomorrow, and we're planning from then. I had originally discounted Maven 1 because the multiproject system looked so messy (and I really like transitive dependencies) but maven 2 beta looks like it's sufficent for our needs. I'm still wary about the lack of documenta

[m2] Newbie Questions

2005-09-26 Thread Beermann,Matthew
So, I'm trying to get started with Maven 2, and I've been finding that even with a skeletal project, a lot of the plugins just don't seem to work. I'm particularly curious about these: [INFO] [INFO] Building System Core

RE: RE : CruiseControl issues trying to install and run from maven.Pleasehelp.

2005-09-26 Thread Mick Knutson
I don't understand this, but all I did was create a batch file that called the original maven.bat, and used that in my config.xml, and it started working. Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F., CA) http://www.BASELogic.com HP Consulting Services

Re: [m2] Xmlbeans v1 plugin?

2005-09-26 Thread Jason van Zyl
On Mon, 2005-09-26 at 13:27 -0500, Mike Perham wrote: > Jason, your plugin matrix just has a "XML Beans" plugin listed but there > are two flavors, just like with Xdoclet, v1 and v2. The plugin you > listed is for XMLBeans v2, do you know if there is a v1 plugin > available? > > http://docs.codeh

[m2] Xmlbeans v1 plugin?

2005-09-26 Thread Mike Perham
Jason, your plugin matrix just has a "XML Beans" plugin listed but there are two flavors, just like with Xdoclet, v1 and v2. The plugin you listed is for XMLBeans v2, do you know if there is a v1 plugin available? http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix mike -

Re: [m2] war:inplace

2005-09-26 Thread Stephen Duncan
I'm not really sure of the best way. Right now, in src/main/webapps/META-INF/context.xml I have the docBase hardcoded to the full path to my local workspace where I'm developing from. In my previous build systems (Ant and Maven 1), as part of the war packaging system, I used Ant's XSLT task and a

FW: [m2b1] tests not seeing classes?

2005-09-26 Thread Mike Perham
I found the problem. It had nothing to do with maven and everything to do with the VM's incompetent error reporting. The problem was that the DateLiteralBean class below linked to classes in jarA which linked to classes in jarB. JarB was not in the classpath. -Original Message- From: M

RE: [m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

2005-09-26 Thread Arnaud HERITIER
Can you open an issue on Jira please, if this one doesn't yet exist. Arnaud > > Hi, > > when generating the iml file with Maven 1.1beta1, I always > get the following error when using that iml file: "Cannot > determine module type for the following module: "mymodule". > Assuming it is a JAVA

RE: [m1 or 2] Odd project structure... how much pain will this be?

2005-09-26 Thread Jay H. Hartley
It sounds to me like two types of documentation are needed. One is the/an ideal "Maven Way" of setting up a consultant's multi-client project, assuming you are starting fresh and know you will be using Maven. I personally think that Maven is ideal for exactly that kind of environment, but then I'm

Re: [m2] war:inplace

2005-09-26 Thread Mark Hobson
On 26/09/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: > My only other issue is that I need to write a plugin to "clean-up" my > Tomcat META-INF/context.xml file to fix the DocBase to match the war > file name, change debugging settings, etc. and have that run during > the WAR process. Sounds like

Re: [m2] war:inplace

2005-09-26 Thread Stephen Duncan
I can't see leaving them as modes that break the normal goals. As an additional goal of the plugin that you can call just to get your dependencies (and your compiled classes, though I rely on my IDE to take care of that) so that I can have my normal development process of running the webapp direct

Re: RE : [beta-1-snasphot] trouble with bad entry in the cron's expression of a new schedule

2005-09-26 Thread Emmanuel Venisse
Thanks. It's fixed. Emmanuel Olivier Lamy a écrit : Sure. When adding the bad cron expression : java.lang.UnsupportedOperationException: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented. at org.quartz.CronTrigger.getTimeAfter(CronTrigger.java:19

Re: [m2] war:inplace

2005-09-26 Thread Mark Hobson
On 26/09/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: > I didn't see this discussed anywhere. Are there plans to bring back > this functionality on the Maven 2 plugin? If so, is there a proposed > timeline? If not, why not? Should I put a feature request against > the war plugin into JIRA? Cu

[m2] war:inplace

2005-09-26 Thread Stephen Duncan
I didn't see this discussed anywhere. Are there plans to bring back this functionality on the Maven 2 plugin? If so, is there a proposed timeline? If not, why not? Should I put a feature request against the war plugin into JIRA? -- Stephen Duncan Jr www.stephenduncanjr.com ---

Duplicate files and Doxia mojo

2005-09-26 Thread Wendell Beckwith
What the solution for dealing with supposedly duplicate files. We get the following error INFO - Caused by: org.apache.maven.reporting.MavenReportException: Some files are duplicates in the site directory or in the generated-site directory. INFO - Review the following files for the "Default" vers

Need comments on MNG-897, Ant support

2005-09-26 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I know that many people are keen to have Ant supported as a plugin language in Maven 2.0. To this end, I'm working on adding native support for Ant, but I need some feedback on the approach I'm taking for binding the script into the M2 system. I'

Re: [m2] trouble accessing internal repository with beta1

2005-09-26 Thread Ralph Pöllath
On 24.09.2005, at 02:31, Brett Porter wrote: Yep, sftp will work. ftp will work if wagon-ftp is added as an extension. So I switched my access method from scp to sftp with beta-1. Now I'm trying to deploy a project that does not yet exist in either the local or internal (company-wide) repos

Re: [beta-1-snasphot] trouble with bad entry in the cron's expression of a new schedule

2005-09-26 Thread Emmanuel Venisse
Can you send the stacktrace? Emmanuel Olivier Lamy a écrit : Hi all, I have encountered a trouble by setting a bad cron expression for a new scheduler : 0 0 0,4,8,12,16,20 * * * instead of 0 0 0,4,8,12,16,20 * * ? The continuum application fails and stop. Then it's was impossible to restart the

Re: [m2] xsd updates

2005-09-26 Thread Mark Hobson
On 12/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > It will next be updated when the next Maven release goes out. It will be > locked down at 2.0 final, and after that changes to the POM will cause a > model increment (4.0.1, etc). Anyone know if the 4.0.0 XSD has been updated for beta1? I'm s

Re: Newbie Startup Question

2005-09-26 Thread Emmanuel Venisse
Can you try to add this line file after line 430 in apps/continuum/conf/application.xml? And after you try to use an url file:///path_to_your_pom Let me know the result. Emmanuel Yann Le Du a écrit : Hi Bob, Ran into the same issues :) Once, support of file:// was planned, but it was r

Re: [m2] getting error when pointing to new testResources

2005-09-26 Thread Trygve Laugstøl
On Mon, 2005-09-26 at 15:56 +0100, Mark Hobson wrote: > On 26/09/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > > Works now - you know I _nearly_ tried that as a last ditch attempt, > > honestly! Seems the > > project descriptor isn't auto-generated from the code like I thought > > it was though.

Re: [m2] getting error when pointing to new testResources

2005-09-26 Thread Jason van Zyl
On Mon, 2005-09-26 at 15:39 +0100, Ashley Williams wrote: > Works now - you know I _nearly_ tried that as a last ditch attempt, > honestly! Seems the > project descriptor isn't auto-generated from the code like I thought > it was though. It is generated but there is a bug in the generation. It

Re: [m2] getting error when pointing to new testResources

2005-09-26 Thread Mark Hobson
On 26/09/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > Works now - you know I _nearly_ tried that as a last ditch attempt, > honestly! Seems the > project descriptor isn't auto-generated from the code like I thought > it was though. Yeah it got me first time too - not too sure why the doc diffe

Re: [m2] getting error when pointing to new testResources

2005-09-26 Thread Ashley Williams
Works now - you know I _nearly_ tried that as a last ditch attempt, honestly! Seems the project descriptor isn't auto-generated from the code like I thought it was though. On 26 Sep 2005, at 15:34, Mark Hobson wrote: On 26/09/05, Ashley Williams <[EMAIL PROTECTED]> wrote: This error goes

[m2] Mojo, subproject and self-reference

2005-09-26 Thread Gilles Scokart
I'm writting a mock generator and I need advice on how to organise my project. Amongst other module, I have : - The genrator itself - The runtime library used by the genrated code - The Mojo that will launch the genrator from + All the unit test. I wonder how to organise this into modules?

Re: [m2] getting error when pointing to new testResources

2005-09-26 Thread Mark Hobson
On 26/09/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > This error goes away if I delete the testResources section. As far as > I can tell I'm using the syntax specified on the plugin descriptor page. Yep, the page is wrong :) Use rather than within the block. Mark

[m2] getting error when pointing to new testResources

2005-09-26 Thread Ashley Williams
Hi, I'm trying to change the resources directory for tests and so I created the following build section in my POM: . . resources resources As you can see the testResources section is identical to the resou

Re: Customn dependency scopes

2005-09-26 Thread Mark Hobson
On 25/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > You can work around it by writing your own small plugin (or use the > antrun plugin), to copy the jar into place in an earlier phase. BTW, I tried this with antrun using the maven ant tasks for transitive deps, but encountered MNG-1017. Admit

Re: Customn dependency scopes

2005-09-26 Thread Mark Hobson
On 25/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > There is an open JIRA for the war plugin to allow this (specifically > for applets and jnlp). It has not yet been implemented. For those interested this is http://jira.codehaus.org/browse/MNG-896. Mark ---

Re: Customn dependency scopes

2005-09-26 Thread Yann Le Du
Hi Tim, I have the same needs and wrote a plugin that merely copy all dependencies into a directory of your choice - it's largely inspired from war plugin, of course :) Let me know if you are interested. Yann --- Brett Porter <[EMAIL PROTECTED]> a écrit : > Scope is a default for the packaging

Plugin issues that span both m1 and m2

2005-09-26 Thread Mark Hobson
What's the official stance for plugin issues that span both m1 and m2? I opened MNG-1020 as a m2 version of MPECLIPSE-104 - is this good practice? I know ultimately m1 plugins will become wrappers around their m2 counterparts, but what about in the meantime? Cheers, Mark --

[beta-1-snasphot] trouble with bad entry in the cron's expression of a new schedule

2005-09-26 Thread Olivier Lamy
Hi all, I have encountered a trouble by setting a bad cron expression for a new scheduler : 0 0 0,4,8,12,16,20 * * * instead of 0 0 0,4,8,12,16,20 * * ? The continuum application fails and stop. Then it's was impossible to restart the application (always failed during the startup). The only solutio

Re: [m2] Portable way of specifying JDKs in compiler plugin

2005-09-26 Thread Mark Hobson
For any avid readers.. On 21/09/05, Mark Hobson <[EMAIL PROTECTED]> wrote: [snip] > I'm not a big fan of (1) since system-specific information will be > held within the POM. Even if I use an expression like > "${java.home}/../jdk1.4.2/bin/javac", this still assumes something > about the whereabou

Re: [m2] project descriptor tags

2005-09-26 Thread Yann Le Du
Hi Jesse, Yes, my trunk was older than that, that's why the XSD wasn't correct. I'm using beta-1 now. I had put an example of what I'm trying to achieve in the preceding mail - below my signature :) Here's it again : Thanks, Yann ~ ~ ~ myparent ~ com.corp.myparent ~

maven cactus plugin and multiproject

2005-09-26 Thread jan_bar
Hi, it's not clear to me how cactus plugin supports multiproject. I have EJB in separate subproject, when I want to test EAR, cactus plugin uses cactus.build.goal.ejb (default ejb:ejb) to build the EJB artifact. But the EJB artifact is in separate subproject. I also created complex genapp applicat

RE: Problem with calling ant from site:site goal

2005-09-26 Thread Yann Le Du
Hi Achim, In , you must specify the goal of the plugin you are configuring, not the one of the phase you are using (if this ever makes sense). You are configuring maven-antrun-plugin, so you should use run. Look into this file (source code) : http://svn.apache.org/viewcvs.cgi/maven/components/tru

Fw :[m2-beta-1] bug for 'warSourceExcludes' property?

2005-09-26 Thread fabrice . belingard
Maven devs: anybody has an idea about that? Should I open a bug report? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - Réacheminé par FABRICE BELLINGARD - E222731/users/PSA le 26/09/2005 13:41 -

Fw: Error While executing Maven2 deploy

2005-09-26 Thread narayanan . devanathan
Dear All, Can anyone please help in resolving the below issue in Maven2? Regards and Thanks, Deva Narayanan Devanathan/CHN/TCS 09/22/2005 06:01 PM To users@maven.apache.org cc Subject Error While executing Maven2 deploy Dear All, Attached is the exception encountered while executing

Re: Nearly empty classpath while executing tests with maven2 beta 1

2005-09-26 Thread Dhananjay Nene
Duh!! thats embarassing. The classpath is being set correctly. Thanks. Kenney Westerhof wrote: On Mon, 26 Sep 2005, Dhananjay Nene wrote: There's nothing wrong here. The system property java.class.path is the classpath for the JVM, i.e. the CLASSPATH environment variable when you start the jvm

Re: Nearly empty classpath while executing tests with maven2 beta 1

2005-09-26 Thread Kenney Westerhof
On Mon, 26 Sep 2005, Dhananjay Nene wrote: There's nothing wrong here. The system property java.class.path is the classpath for the JVM, i.e. the CLASSPATH environment variable when you start the jvm. What you need/want is the 'classpath' of the classloader that runs the tests: Thread.currentThre

Nearly empty classpath while executing tests with maven2 beta 1

2005-09-26 Thread Dhananjay Nene
I am unable to figure out why when I run m2 with a test target the tests are executed with a nearly empty classpath. I have setup all my dependencies with the appropriate compile or test scope but these are are not being reflected in the classpath during execution. e.g. I added the following to my

Re: [m2] javadoc plugin and - online links in offline mode

2005-09-26 Thread Martin Skopp
Hi Trygve, Trygve Laugstøl schrieb: I was thinking something like this: a b <-- is this really required? It's required to specify a *online URL* and a *offline local path* when you want to generates *online links* in offline mode, see http://maven.apache.org/reference/plugin

Re: [m2] javadoc plugin and

2005-09-26 Thread Martin Skopp
Hi, Trygve Laugstøl schrieb: I was thinking something like this: a b <-- is this really required? Yeah, I would also appreciate keeping naming in sync with the javadoc-plugin propertly maven.javadoc.offlineLinks See http://maven.apache.org/reference/plugins/javadoc/propert

[m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

2005-09-26 Thread Wim Deblauwe
Hi, when generating the iml file with Maven 1.1beta1, I always get the following error when using that iml file: "Cannot determine module type for the following module: "mymodule". Assuming it is a JAVA module". But this assuming does not seem to work properly. The current workaround I have found