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

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

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

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 depencency element pointing to the submodule where the test helper class resides. Unfortunately this doesn't work, the dependency mechanism sees only the

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 helper classes

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: install submodules

2006-07-28 Thread Wojciech Biela
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 effect installs it's product in the local repo. Problem is when

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 a

Re: include jar dependencies in jar package

2006-07-13 Thread Wojciech Biela
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 create a jar that besides all usual stuff includes a /lib directory

Re: assembly - renaming files

2006-07-07 Thread Wojciech Biela
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] wrote: hmmm, true, true, thank you

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

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

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 artifact file${project.build.directory}/${project.build.finalName}.jar/file typemod/type /artifact now in the main

Re: assembly - renaming files

2006-07-05 Thread Wojciech Biela
, and then at a later step downloaded 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

Re: assembly - renaming files

2006-07-05 Thread Wojciech Biela
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 as my custom type mod, I did this through attach-artifacts

Re: assembly - renaming files

2006-07-05 Thread Wojciech Biela
/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 | Subject: Re: assembly - renaming files

Re: assembly - renaming files

2006-07-05 Thread Wojciech Biela
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 this through attach-artifacts and added artifact file${project.build.directory

Re: assembly - renaming files

2006-07-05 Thread Wojciech Biela
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 kind and elaborate a little on how I could do

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'm new to maven, I've