m2eclipse vs. eclipse:eclipse

2006-08-23 Thread Wojciech Biela
(This is a repost of a previous mail, with a new, more appropriate subject For the eclipse part, you should run eclipse:eclipse from the root project to use project dependency instead of binary dependency (ie a module will directly use another module as its dependency instead of using the produc

Re: have to manually build each submodule?

2006-08-22 Thread Wojciech Biela
Denis! Thank you very much for your help... I just couldn't get out of the corner ... You are definitly missing something :) good :) For the eclipse part, you should run eclipse:eclipse from the root project to use project dependency instead of binary dependency (ie a module will directly us

have to manually build each submodule?

2006-08-21 Thread Wojciech Biela
Hi I think I'm missing something, I hope I'm missing something, otherwise this is a great joke .. When I have a project and multiple subprojects depending on eachother. I update all of them and then when I build the master project, each submodule crashes because it's dependencies are not up to d

Re: test classes in submodule as dependencies for other modules

2006-08-01 Thread Wojciech Biela
Thank you very much Tomasz, that guide at http://maven.apache.org/guides/mini/guide-attached-tests.html was the solution I was looking for best regards Wojtek 2006/8/1, Tomasz Pik <[EMAIL PROTECTED]>: On 8/1/06, Wojciech Biela <[EMAIL PROTECTED]> wrote: > I have test

test classes in submodule as dependencies for other modules

2006-08-01 Thread Wojciech Biela
I have test helper classes (AbstractMyProjectTestCase) in one submodule, and I would like tests in other submodules to see that class. I have a element pointing to the submodule where the test helper class resides. Unfortunately this doesn't work, the dependency mechanism sees only the product ar

Re: install submodules

2006-07-28 Thread Wojciech Biela
#x27;s sad because then I have to run the whole build process twice any solutions? 2006/7/28, Wojciech Biela <[EMAIL PROTECTED]>: Hi I have my master project and many modules defined in it. Every submodule when given "mvn package install" does some magic to build itself and in ef

install submodules

2006-07-28 Thread Wojciech Biela
Hi I have my master project and many modules defined in it. Every submodule when given "mvn package install" does some magic to build itself and in effect installs it's product in the local repo. Problem is when I execute "mvn package install" from the level of the master project maven builds all

Re: include jar dependencies in jar package

2006-07-13 Thread Wojciech Biela
use the assembly plugin to do what you are asking. Ben On 7/13/06, Wojciech Biela <[EMAIL PROTECTED]> wrote: > A google search for this message's subject didn't reveal any useful > tips on what I'm looking for. > > I want to have the "mvn package" command

include jar dependencies in jar package

2006-07-13 Thread Wojciech Biela
A google search for this message's subject didn't reveal any useful tips on what I'm looking for. I want to have the "mvn package" command create a jar that besides all usual stuff includes a /lib directory including all runtime type dependencies that are declared in the pom.xml. I thought it's

activate a profile in a submodule

2006-07-07 Thread Wojciech Biela
Further questions... When I have a master module with different submodules, in a some of the submodules I have some stuff done by a plugin, every time it's the same thing, so I'd like to put that in the master pom, and not have to repeat that big XML fragment in every submodule which needs this p

assembly - filter dependencies by type or extension

2006-07-07 Thread Wojciech Biela
I decided to repost one of my questions as it's a different matter from the other ones. When doing an assembly and placing dependencies inside it, is there any way to filter to include only one type of dependencies, there is no "type" element in the dependencySet element of the assembly descripto

Re: assembly - renaming files

2006-07-07 Thread Wojciech Biela
;s suggest that delegate a maven to prepare that stagement area and aother other projects can directly reference it via relative path, or via local repository ( get that maven project to assemable a zip file that other modules can unpack ) -Dan On 7/5/06, Wojciech Biela <[EMAIL PROTECTED]>

Re: assembly - renaming files

2006-07-05 Thread Wojciech Biela
ou to rename the artifact, check out ArtifactItem javadoc -D On 7/5/06, Wojciech Biela <[EMAIL PROTECTED]> wrote: > > OK, I looked into the docs for the dependency-maven-plugin and > unfortunately didn't find anything of use in my situation. > > Dan if you would be so kin

Re: assembly - renaming files

2006-07-05 Thread Wojciech Biela
gin to prep the work before assembly started. -D On 7/5/06, Wojciech Biela <[EMAIL PROTECTED]> wrote: > > Hello, > > I refined my problem and now it comes down to this: > > I have my submodules installed in the repository as my custom type > "mod", I did

Re: assembly - renaming files

2006-07-05 Thread Wojciech Biela
link - http://mojo.codehaus.org/dependency-maven-plugin/introduction.html Unfortunately, I haven't used it yet myself, so I can't offer any tips. Ian | -----Original Message- | From: Wojciech Biela [mailto:[EMAIL PROTECTED] | Sent: Wednesday, July 05, 2006 11:08 AM | To: Maven Users List

Re: assembly - renaming files

2006-07-05 Thread Wojciech Biela
;: You need the help form maven-dependency-plugin to prep the work before assembly started. -D On 7/5/06, Wojciech Biela <[EMAIL PROTECTED]> wrote: > > Hello, > > I refined my problem and now it comes down to this: > > I have my submodules installed in the repository

Re: assembly - renaming files

2006-07-05 Thread Wojciech Biela
as a dependency by the master module. Anyway I struggle to add this prefix before installing to the repo, or just after the dependencies download, but I can't seem to find a way to do it. Wojtek 2006/7/5, Wojciech Biela <[EMAIL PROTECTED]>: Hello, I refined my problem and now it co

assembly - renaming files

2006-07-05 Thread Wojciech Biela
Hello, I refined my problem and now it comes down to this: I have my submodules installed in the repository as my custom type "mod", I did this through "attach-artifacts" and added ${project.build.directory}/${project.build.finalName}.jar mod now in the main project I set the dependencies t

Re: simple but complicated case - need advice

2006-06-26 Thread Wojciech Biela
No suggestions? really? anybody? :) Best regards Wojtek Biela 2006/6/23, Wojciech Biela <[EMAIL PROTECTED]>: Hi! My case was supposed to be simple but it turned out to be quite complicated, at least for my limited maven abilities, I've used Ant for the last few years, so I

simple but complicated case - need advice

2006-06-23 Thread Wojciech Biela
Hi! My case was supposed to be simple but it turned out to be quite complicated, at least for my limited maven abilities, I've used Ant for the last few years, so I'm new to maven, I've spent a few days with it, I like it very much, I'm very much convinced that it will help my project, but I rea