Re: delete a directory by maven-antrun-plugin?

2006-12-03 Thread jiangshachina
Hi, In fact, I need to delete some directories after checkout one module from CVS. and it seems that I cannot checkout several modules in one pom, then I made the idea. a cup of Java, cheers! Sha Jiang jiangshachina wrote: I just want to delete directory, the work isn't related to compile,

Re: delete a directory by maven-antrun-plugin?

2006-12-03 Thread Dan Tran
are you sure you did point ant:delete to a valid directory? ;-) i works for me here -D On 12/3/06, jiangshachina [EMAIL PROTECTED] wrote: Hi, In fact, I need to delete some directories after checkout one module from CVS. and it seems that I cannot checkout several modules in one pom, then

Re: delete a directory by maven-antrun-plugin?

2006-12-03 Thread jiangshachina
Dear dan, are you sure you did point ant:delete to a valid directory? ;-) Really, I don't know the plugin. How can I get its home page? a cup of Java, cheers! Sha Jiang dan tran wrote: are you sure you did point ant:delete to a valid directory? ;-) i works for me here -D On

internal dependencies check, excluding local repo

2006-12-03 Thread Valerio Schiavoni
hello everyone, given a multi-module project, does it make sense to resolve the dependency to a given module without checking if a new version of it has already been installed to our local repository ? That is, given this : parent/ sub-1/ sub-2/ sub-2 must always be aligned

RE: delete a directory by maven-antrun-plugin?

2006-12-03 Thread Ryan Slobojan
Hi Sha, There are a couple things I can recommend: * To see what you are deleting, do: tasks echo message=Deleting ${the_directory}.../ delete dir=the_directory/ /tasks Of course, if you are hardcoding a directory as opposed to using e.g. ${basedir}/something, then this won't

Re: POM Structuring Recommendations Report

2006-12-03 Thread Ole Ersoy
Yes! Cool - It makes perfect sense. Thanks for the reassurance. --- Wendy Smoak [EMAIL PROTECTED] wrote: On 12/2/06, Ole Ersoy [EMAIL PROTECTED] wrote: I'm leaning toward this as a best practice, because we could have a build that has 3 modules and then we add a 4th one, and if the

Re: POM Structuring Recommendations Report

2006-12-03 Thread Ole Ersoy
Incidentally, Do you by chance know if there is a way to make mvn eclipse:eclipse work for a project with pom packaging? This would be really nice for quickly editing the dependencyManagement section on a parent. Thanks, - Ole --- Wendy Smoak [EMAIL PROTECTED] wrote: On 12/2/06, Ole

assembly file and descriptorRefs

2006-12-03 Thread Yann Albou
I have created my own assembly.xml file. Now I would like to make this file available through the maven repository. Is this possible ? I saw I can configure a descriptorRefs, but it seems limited to predefined assembly files (bin, jar-with-dependencies, or src). I would like to add my own

Re: assembly file and descriptorRefs

2006-12-03 Thread Wendy Smoak
On 12/2/06, Yann Albou [EMAIL PROTECTED] wrote: I saw I can configure a descriptorRefs, but it seems limited to predefined assembly files (bin, jar-with-dependencies, or src). I would like to add my own descriptorRef and make it availables to other projects. Maybe as a build extension? Try

How to create multiple jar files from one project?

2006-12-03 Thread Peter Palmreuther
Hello, I'm new to Maven and tried to find an answer on the website, but either I'm to dense or it ain't there (yet). So if this question is already answered in a public available document I'd be happy to get the link. I have a project that should be a library to encapsulate the logger being used

Modfy classpath

2006-12-03 Thread Kevin Menard
Hi, I'm working on a Maven plugin and need to modify the classpath. It appears that maven runs the plugin with all of its dependencies, but the plugin itself can't see them. The only classpath entry I have is C:\dev\maven\core\boot\classworlds-1.1.jar. Any help would be appreciated. My guess

Re: How to create multiple jar files from one project?

2006-12-03 Thread Tom Huybrechts
Maven does not support creating two artifacts from one project and it does not support circular dependencies between two projects. The only proper solution is cutting the dependency from interface to implementation. One thing you could try is to create an abstract factory that can find a

Re: checkout from several modules?

2006-12-03 Thread Wayne Fay
I don't believe this is directly possible in Maven, though I certainly could be wrong. I think other projects generally create a batch script or similar which calls CVS checkout repeatedly. For example, here's the CVS checkout for Project Glassfish which is actually an Ant target: target

How to create multiple jar files from one project?

2006-12-03 Thread Peter Palmreuther
Hello, I'm new to Maven and tried to find an answer on the website, but either I'm to dense or it ain't there (yet). So if this question is already answered in a public available document I'd be happy to get the link. I have a project that should be a library to encapsulate the logger being used

Re: Modfy classpath

2006-12-03 Thread Eric Redmond
Maven manages its classloader hierarchy through classworlds ( http://classworlds.codehaus.org/). If you want to do some manipulation of the hierarchy, you must do it through that. Unless you actually need to modify the classpath for some other third party execution, in which case set the system

Using https with certificate auth

2006-12-03 Thread Arnaud Bailly
Hello, I want to use continuum with pom urls usgin https and client certificate authentication. I tried adding the same parameters (keystore, trusted certs store ..) than what is used with maven but it fails. INFO | jvm 1| 2006/12/03 21:06:55 | 2006-12-03 21:06:55,221 [SocketListener0-0]

RE: [***POSSIBLE SPAM***] - How to create multiple jar files from one project? - Bayesian Filter detected spam

2006-12-03 Thread William Ferguson
Peter, I don't think a Maven solution is what you need. I think you need to rethink the packaging and dependencies of your 2 projects. It sounds like your interface project shouldn't depend on the Factory in the implementation project. You could organise this a couple of different ways: 1) The

Re: [***POSSIBLE SPAM***] - How to create multiple jar files from one project? - Bayesian Filter detected spam

2006-12-03 Thread Alexander Sack
Yea, I agree...I don't see why interfaces should be dependent on implementations? What's the point? I don't see how you would have a circular dependency. Your factory classes probably produce instances of your interfaces. Your implementation classes would depend on those interfaces. Life is

RE: delete a directory by maven-antrun-plugin?

2006-12-03 Thread jiangshachina
Hello Ryan, Really, I didn't create a right Ant statements. But my trouble isn't related to Ant scripts, but Maven work flow. The following is my main pom scripts, build plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: delete a directory by maven-antrun-plugin?

2006-12-03 Thread Wayne Fay
Add an -X ie mvn -X scm:checkout antrun:run to get more information while Maven is running. Wayne On 12/3/06, jiangshachina [EMAIL PROTECTED] wrote: Hello Ryan, Really, I didn't create a right Ant statements. But my trouble isn't related to Ant scripts, but Maven work flow. The following is

Re: Simple Depedency Management Rules

2006-12-03 Thread Ole Ersoy
Cool - Thanks D - That's definitely on the list - Ole --- Dan Tran [EMAIL PROTECTED] wrote: I did exactly that in my ~70 projects tree. one more rule, nail down all plugin versions in the pluginManagement section too. -D On 12/2/06, Ole Ersoy [EMAIL PROTECTED] wrote: OK

Re: Latest version of TestNG (5.3) not available in central repo

2006-12-03 Thread Wayne Fay
http://maven.apache.org/guides/mini/guide-maven-evangelism.html and http://jira.codehaus.org/browse/MEV But ideally, the TestNG team can/will make their own poms and bundles and arrange for them to be uploaded to Maven Repo rather than relying on a random user of the tool to do it for them. So

Re: Latest version of TestNG (5.3) not available in central repo

2006-12-03 Thread Carlos Sanchez
actually this is the right one http://maven.apache.org/guides/mini/guide-ibiblio-upload.html On 12/3/06, Wayne Fay [EMAIL PROTECTED] wrote: http://maven.apache.org/guides/mini/guide-maven-evangelism.html and http://jira.codehaus.org/browse/MEV But ideally, the TestNG team can/will make their

Re: delete a directory by maven-antrun-plugin?

2006-12-03 Thread jiangshachina
Dear Wayne, I followed your instructions, but didn't find any interesting things. It's some of output below [DEBUG] org.apache.maven:maven-artifact:jar:2.0.1:runtime (selected for runtime) [DEBUG] org.apache.maven:maven-artifact:jar:2.0.1:runtime (selected for runtime) [DEBUG]

RE: delete a directory by maven-antrun-plugin?

2006-12-03 Thread Ryan Slobojan
Hi Sha, It appears that the antrun task is executing, but I suspect it's not finding the directory correctly. From the block of code you pasted, it looks like you're using a relative path to select the folder for deletion - I'd recommend that you use something like

RE: delete a directory by maven-antrun-plugin?

2006-12-03 Thread jiangshachina
Hello, Now, I used absolute path, but the result wasn't changed :( I just run mvn antrun:run [INFO] [antrun:run] [INFO] Executing task [INFO] Executed tasks a cup of Java, cheers! Sha Jiang Ryan Slobojan wrote: Hi Sha, It appears that the antrun task is executing, but I suspect it's not

Re: delete a directory by maven-antrun-plugin?

2006-12-03 Thread Wayne Fay
I'd expect there's some verbose=true kind of settings you can use in your ant call to get more information from Ant. This isn't really a Maven issue, per se, so you'll need to consult the Ant docs. Wayne On 12/3/06, jiangshachina [EMAIL PROTECTED] wrote: Hello, Now, I used absolute path, but

Re: - How to create multiple jar files from one project? - Bayesian Filter detected spam

2006-12-03 Thread Peter Palmreuther
Hello William, On Sunday, December 3, 2006 at 10:46:37 PM William wrote: I don't think a Maven solution is what you need. OK. Can live with this. I just wanted to make sure *there is none* before I go the long way and get told later there was a shorter one. I think you need to rethink the

Re: How to create multiple jar files from one project?

2006-12-03 Thread Peter Palmreuther
Hello Tom, On Sunday, December 3, 2006 at 8:31:24 PM Tom wrote: Maven does not support creating two artifacts from one project and it does not support circular dependencies between two projects. The only proper solution is cutting the dependency from interface to implementation. Thanks a

Re: - How to create multiple jar files from one project? - Bayesian Filter detected spam

2006-12-03 Thread Peter Palmreuther
Hello Alexander, On Sunday, December 3, 2006 at 10:53:57 PM Alexander wrote: Yea, I agree...I don't see why interfaces should be dependent on implementations? What's the point? It doesn't. The *Factory* does, and just *this* factory is (should be) shipped with the relevant interface, while

Re: Latest version of TestNG (5.3) not available in central repo

2006-12-03 Thread Jimisola Laursen
Wayne Fay wrote: http://maven.apache.org/guides/mini/guide-maven-evangelism.html and http://jira.codehaus.org/browse/MEV But ideally, the TestNG team can/will make their own poms and bundles and arrange for them to be uploaded to Maven Repo rather than relying on a random user of the

Re: delete a directory by maven-antrun-plugin?

2006-12-03 Thread jiangshachina
Dear Wayne, As your said, the trouble is very strange. I created a build.xml, project basedir=. default=delete property name=dir value=Absolate_Path_To_The_Directory / target name=delete delete dir=${dir} includeemptydirs=true / /target /project and run

RE: Continuum and multimodule setup

2006-12-03 Thread hermod.opstvedt
Hi I'll give it a try. I hav noticed these issues also: http://jira.codehaus.org/browse/MRELEASE-6?rc=1 http://jira.codehaus.org/browse/CONTINUUM-462 Hermod -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 4:40 PM To:

RE: Quality Dashboard

2006-12-03 Thread Vincent Massol
Well... :-) I have been wanting to write this dashboard stuff for a long time now but I've never found the time to do it... I've now joined the XWiki project and I think it would make a nice foundation for a quality/health dashboard. OTOH I still don't know when I'll have time to work on it. Don't