Re: what consequence have build definitions? What means DEFAULT_SCHEDULE?

2005-12-04 Thread Emmanuel Venisse
In 1.0.2, you'll can configure the cron expression of default schedule (actually, every hours). You define define more then one build definition by project, but you must define a different schedule for each. We run only one build definition by project on a specific jod schedule. Emmanuel

dependency scopes

2005-12-04 Thread ir. ing. Jan Dockx
I *really* don't fully grasp dependency scopes. Could somebody in the know please have a look at http://docs.codehaus.org/display/MAVENUSER/Dependency+Scopes> and correct some points? Or at least, give a 1-sentence use case (example) for each of the scopes? Until now, I found the following

Re: [m2] where should sql, dtds, test data and generated docs go?

2005-12-04 Thread Adam Hardy
Ah! OK, I hadn't seen all those docs before, due to lack of time to keep up with maven 2. Thanks for the pointer. Half of the generated code and docs that I have produced is never going to be generated again. But you gave me the answer to one question (generated docs), thanks. How about the

surefire forking

2005-12-04 Thread Jason van Zyl
Hi, If anyone wants to try the new code for surefire forking a snapshot plugin is available. Please refer to this guide to get yourself going: http://maven.apache.org/guides/development/guide-testing-development-plugins.html -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org

Re: dependency scopes

2005-12-04 Thread ir. ing. Jan Dockx
Ok, we have contact :-). On 4 Dec 2005, at 17:20, Brian E. Fox wrote: http://maven.apache.org/guides/introduction/introduction-to-dependency-m echanism.html Of course, but … Dependency scope is used to limit the transitivity of a depedency, and also to affect the classpath used for various

M2_REPO not resolving in eclipse - Re: Newbie repository question

2005-12-04 Thread Kervin L. Pierre
Christoph Schönfeld wrote: Just set up a variable in eclipse, M2_REPO, and point it to the location of your local repository (which is where maven stores the downloaded files). The value for the variable needs to be: $USER/.m2/repository. The variable can be created in

[m1] How to create a dependency upon a specific version of a plugin

2005-12-04 Thread Dennis Lundberg
Hello A project I'm working on requires a specific version of a plugin. Is this the correct way to specify this in project.xml? Is there anything else that needs to be added? dependencies dependency groupIdmaven/groupId artifactIdmaven-xdoc-plugin/artifactId

RE: Maven2 dependency classpath in Java plugin

2005-12-04 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
Thanks Kaare!! -Original Message- From: Kaare Nilsen [mailto:[EMAIL PROTECTED] Sent: Saturday, December 03, 2005 11:55 PM To: Maven Users List Subject: Re: Maven2 dependency classpath in Java plugin Use this method.. it creates a correct classpath string to be used with the java -cp

Windows98SE Installation Notes

2005-12-04 Thread solprovider
I was testing a new Maven install on Windows98SE. There are 3 issues: 1. The instructions do not mention setting M2_HOME. 2. The Launcher class was not found. 3. Every result ends with Invalid switch. == DETAILS Unzipped maven-2.0-bin.zip to C:\apache\maven-2.0 FILE: C:\AUTOEXEC.BAT ADD: SET

[m2] Executing the assembly plugin with different configurations

2005-12-04 Thread Yossi Shaul
Is it possible to execute the assembly plugin multiple times with different configurations during install phase? For example, I want to assemble bin and source archives (with specific files) during the install phase. I tried the following: plugin artifactIdmaven-assembly-plugin/artifactId

Re: [m1] How to create a dependency upon a specific version of a plugin

2005-12-04 Thread Lukas Theussl
I think that's correct, at least this is the behaviour that I would expect. You wouldn't want your Maven installation be changed just because one project uses a specific version of a dependency, would you? -Lukas Dennis Lundberg wrote: Hello A project I'm working on requires a specific

RE: dependency scopes

2005-12-04 Thread Brian E. Fox
Nice. But can you give me an example of need and use? At first sight, this goes for the entire java.* API. And if it is provided, why mention it? An example is the servlet.jar. You need it to compile, but don't want it packaged in your war because the servlet container will provide it

Re: [m1] How to create a dependency upon a specific version of a plugin

2005-12-04 Thread Brett Porter
I can confirm this is correct. Sorry that I didn't pick up on that in the corresponding commons-dev discussion. - Brett On 12/5/05, Lukas Theussl [EMAIL PROTECTED] wrote: I think that's correct, at least this is the behaviour that I would expect. You wouldn't want your Maven installation be

Re: phase awareness of plugins

2005-12-04 Thread Brett Porter
Not currently. To do this, we usually have two mojos, with different parameters, bound to each. They can extend a base mojo so that almost all of the functionality is the same (see the compiler/testCompile goals). - Brett On 12/2/05, Anuerin Diaz [EMAIL PROTECTED] wrote: hi, is there a way

Re: [m2] Error on project descriptor page

2005-12-04 Thread Brett Porter
It's a known issue. - Brett On 11/30/05, Richard Wallace [EMAIL PROTECTED] wrote: On the page http://maven.apache.org/maven-model/maven.html, under project/repositories/repository it says that to change the updatePolicy for snapshots you should use snapshot/updatePolicy. The actual element

Re: [m2] How do I create an assembly where the date/time is part of the filename?

2005-12-04 Thread Allan Ramirez
Hi Chris, I think this is not yet possible in the current assembly plugin. You may file a jira issue for the improvement of assembly plugin. regards, -allan Chris Richardson wrote: Hi, In my pom.xml I have: ... artifactIdpia/artifactId packagingjar/packaging

Re: [m2] Executing the assembly plugin with different configurations

2005-12-04 Thread Allan Ramirez
Hi Yossi, I tried something like this before and it worked for me. :) regards, -allan Yossi Shaul wrote: Is it possible to execute the assembly plugin multiple times with different configurations during install phase? For example, I want to assemble bin and source archives (with specific

Convert eclipse projects into maven?

2005-12-04 Thread li pan
Hi, I am tring to convert my eclipse projects into maven projects. These projects depend on many opensource jars, and use heavily ant scripts. Is it possiable? Thanks.

Re: [m2] Executing the assembly plugin with different configurations

2005-12-04 Thread Nik Gonzalez
Hi Yossi, I tried this before and it worked. You're pom seems to be correct. What mvn command did you run? This will only work if you executed mvn install or deploy. Thanks. -Nik Allan Ramirez wrote: Hi Yossi, I tried something like this before and it worked for me. :) regards, -allan

Re: Convert eclipse projects into maven?

2005-12-04 Thread Anuerin Diaz
On 12/5/05, li pan [EMAIL PROTECTED] wrote: Hi, I am tring to convert my eclipse projects into maven projects. These projects depend on many opensource jars, and use heavily ant scripts. Is it possiable? Thanks. short answer, yes. is it going to be easy? the answer is maybe. our project

Re: Convert eclipse projects into maven?

2005-12-04 Thread li pan
That is, I have to do it manually? BTW, what does ciao! in your post mean ;) I can't found it in my dictionary. 2005/12/5, Anuerin Diaz [EMAIL PROTECTED]: On 12/5/05, li pan [EMAIL PROTECTED] wrote: Hi, I am tring to convert my eclipse projects into maven projects. These projects depend

Re: Convert eclipse projects into maven?

2005-12-04 Thread li pan
Forget it(the word), I have found it:) 2005/12/5, li pan [EMAIL PROTECTED]: That is, I have to do it manually? BTW, what does ciao! in your post mean ;) I can't found it in my dictionary.