depend on a multi-module project

2008-07-04 Thread Kent Tong
Hi, I am trying to refer to a multi-module project in my own project. For example, selenium-rc is a top level pom project containing a number of modules and I'd like to use all such modules. So, in my pom.xml I have: dependency groupIdorg.openqa.selenium/groupId

m2 eclipse plug installation problem

2008-07-01 Thread Kent Tong
Hi, I am trying to install the m2 eclipse plug into Eclipse 3.4 (Ganymede), but it fails and says that there are unmet dependencies. I've selected only the minimal maven eclipse integration. Any idea? Thanks in advance! - -- Kent Tong Wicket tutorials freely available at http

RE: m2 eclipse plug installation problem

2008-07-01 Thread Kent Tong
Hi, It turns out that I have to install buckminster first, at least on Windows. It seems to work without it on Linux. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View

Re: Does maven2 eclipse plugin suppor multi-module projects

2006-08-19 Thread Kent Tong
Barrie Treloar baerrach at gmail.com writes: How are your dependencies declared? A parent pom, since it is just a container project and does not create an artifact, does not have dependencies. Only your modules have dependencies. Sorry, my mistake. The dependencies are declared in the

Re: Does maven2 eclipse plugin suppor multi-module projects

2006-08-18 Thread Kent Tong
Barrie Treloar baerrach at gmail.com writes: How are your dependencies declared? A parent pom, since it is just a container project and does not create an artifact, does not have dependencies. Only your modules have dependencies. Oh! This is it (I think)! Thanks!

Does maven2 eclipse plugin suppor multi-module projects

2006-08-17 Thread Kent Tong
Hi, I am trying to use the maven2 eclipse plugin for a module inside a multi-module project. But it doesn't seem to list the dependencies defined in the parent pom.xml at all. Am I missing something? Does it work in a multi-module project? Thanks!

Re: Does maven2 eclipse plugin suppor multi-module projects

2006-08-17 Thread Kent Tong
Barrie Treloar baerrach at gmail.com writes: Kent, did you check the archives? http://www.nabble.com/Maven---Users-f178.html In particular: http://www.nabble.com/forum/ViewPost.jtp?post=5849396framed=y http://www.nabble.com/forum/ViewPost.jtp?post=5842381framed=y Thanks for the links. But

Re: conceptual problem in multi-module project?

2006-06-19 Thread Kent Tong
Edwin Punzalan epunzalan at exist.com writes: What is your directory structure for this? c:\prj +--m1 +--m2 The parent pom is searched in the file system FIRST before any of the repositories... The reason why your build is searching the repo is probably because the parent pom is

Re: conceptual problem in multi-module project?

2006-06-18 Thread Kent Tong
Andreas Schildbach andreas at schildbach.de writes: Yes, Reactor should take care of that if you run mvn install in your root project directory (containing the outermost pom.xml). Yes, but I'd like to build m2 separately. As an alternative, it should also be possible to run mvn install

Re: conceptual problem in multi-module project?

2006-06-18 Thread Kent Tong
Andreas Schildbach andreas at schildbach.de writes: Did you try mvn install on your parent pom directory? It will work fine. If it fails, please post the output and your parent pom. If it succeeds, you should be able to build m1 or m2 separately from now on. That is the point. In order

Re: conceptual problem in multi-module project?

2006-06-18 Thread Kent Tong
Wendy Smoak wsmoak at gmail.com writes: You can install just the parent pom with: mvn install -N That's what I am looking for. Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

conceptual problem in multi-module project?

2006-06-17 Thread Kent Tong
Hi, I have a multi-module project for testing. It contains two modules: m1 and m2. m2 depends on m1. I can build the whole project or m1 just fine. The problem is, when I try to build m2 separately, it tries to download the pom.xml for the project from the repository. If I have never been able to

Re: maven2 eclipse plugin: attaching source

2006-06-15 Thread Kent Tong
For me, it works well. Just in case, have you define the proxy settings in Eclipse (Windows-preferences) and maven2 (setting.xml) ? I haven't defined any proxy nor setting.xml. Do I need to? -- Kent Tong, Msc, MCSE, SCJP, CCSA, Delphi Certified Manager of IT Dept, CPTTM Authorized training

how to make sure Foo.properties file copied to the same directory as Foo.class

2006-06-14 Thread Kent Tong
Hi, My app contains a Foo.java file and a Foo.properties file in the same directory. I need to make sure the Foo.properties are compiled (copied) into the same directory as Foo.class, i.e., target/classes. How to do that? Thanks! -- Kent Tong, Msc, MCSE, SCJP, CCSA, Delphi Certified Manager

maven2 eclipse plugin: attaching source

2006-06-14 Thread Kent Tong
Hi, I'm using the maven2 eclipse plugin. Whenever I try to attach the source folder in Eclipse to a jar it depends on, the plugin will try to copy the source into my ~/.m2/repository but will fail with an error of access denied. Any idea? Have you been able to do that? Thanks! -- Kent Tong

unit test works in Eclipse but fails in maven

2006-06-11 Thread Kent Tong
-Djava.compiler=NONE but it just won't stop at the breakpoints that I set in Eclipse. Any idea on: 1) How to debug in this situation? 2) Typically what make cause this weird behavior (failing in maven only)? Thanks! -- Kent Tong, Msc, MCSE, SCJP, CCSA, Delphi Certified Manager of IT Dept, CPTTM Authorized