Assemblies install

2007-05-30 Thread Mirko Leschikar
correctly under target/assembly/work, but for install all of them will be copied to local repository as assemblies-1.0-SNAPSHOT.jar, overwriting themselves. I also tried the goal attached, same result. How do I do that? Any hints ? Thanks in advance Mirko -- Mirko Leschikar Agile Software GmbH

Migrating to Maven2: interface to old build system

2007-04-16 Thread Mirko Leschikar
Hi, finally I transfered most of our old build system to maven, but there's still one open task. The installation team needs the created jar files in one and the external dependencies in another directory. Our projects contains several sub- and subsubprojects and a few assemblies. Is there a way

Dependency range check for a.b.c.d

2007-03-29 Thread Mirko Leschikar
Hi, I couldn't find that question here yet, so I am gonna ask it. Is it possible that Maven2 has a problem with version range checks like version[1.9.4.11, )/version In the Debug output I get this: [DEBUG] jide:jide-common:jar:1.9.3:compile (setting version to: 1.9.3 from range:

Re: Assembly empty

2006-11-24 Thread Mirko Leschikar
Hi there, I found a solution to my problem. Mirko Leschikar schrieb: sorry to bother you again with my assembly problem. I skipped the profiles and I am using executions now. Unfortunately the assembled jar files are empty now. I am using modules and submodules. The modules are used

Assembly empty

2006-11-23 Thread Mirko Leschikar
Hi there, sorry to bother you again with my assembly problem. I skipped the profiles and I am using executions now. Unfortunately the assembled jar files are empty now. I am using modules and submodules. The modules are used for grouping the submodules which are packaged to Jars. I want to

Multiple Assemblies via profiles

2006-11-22 Thread Mirko Leschikar
Hi, I have a project that contains many modules. And I also wanted to have some assemblies where some modules are simply extracted in the jar file. I tested it with one: parent pom: ... build plugins plugin artifactIdmaven-assembly-plugin/artifactId configuration

Re: Multiple Assemblies via profiles

2006-11-22 Thread Mirko Leschikar
Rémy Sanlaville schrieb: Just to be sure it is not a typo... profile id profileA/id You have a space before profileA... profile idprofileA/id Yes, unfortunately, it was a just a typo in the mail :-). It is correct in my pom. Regards Mirko

Re: Multiple Assemblies via profiles

2006-11-22 Thread Mirko Leschikar
Arnaud Bailly schrieb: Mirko Leschikar [EMAIL PROTECTED] writes: I am pretty confused. What did I make wrong? Any hints? Did you try mvn help:effective-pom for tracing what gets really activated ? Now, I did :-) In the build section of parent project, there is only the assembly

Generate Script or Batch file

2006-11-21 Thread Mirko Leschikar
Hi, I am evaluating maven2 to replace our mixture of a custom build tool and ant files. Therefore I have a couple of questions which I could answer by reading manuals and mailing lists posts. We have used a few scripts and batch files (for Windows) to call certain main classes in our project.

Re: Generate Script or Batch file

2006-11-21 Thread Mirko Leschikar
Hi Siegfried, Siegfried Goeschl schrieb: You can also get the classpath using ANT and maven-artifact-ant-2.0.4-dep.jar and then run your stuff. Thanks for your answer, I will try that. Regards Mirko - To unsubscribe,

Re: Aggregate m2 modules in a unique jar file

2006-10-18 Thread Mirko Leschikar
Hi Thomas, Thomas Recloux schrieb: Hello all, I'have got a projet with some modules producing their jars, but I'd like to produce one jar including all modules classes. I looked at the assembly plugin, but : - There is not jar format - I think I wil not be able to install or deploy

Re: Confused: Packing jars containing class files from other components

2006-10-16 Thread Mirko Leschikar
Hi Arnaud, Arnaud Bailly schrieb: No. Assembly descriptor allows automatic unpacking of artifacts (dependencies or modules). You should simply create a toplevel descriptor containg moduleSet for your modules with unpack set to true. thank you very much for your help. I was able to create a

Confused: Packing jars containing class files from other components

2006-10-13 Thread Mirko Leschikar
Hi, forgive me if my question has already been answered, but I could not find a suitable answer. I am a maven newbie and I try to convert a custom-made build mechanism to maven with help from the book Better Builds with Maven. I have a small app consisting of 4 modules, A, B, C and D. A, B and C

Re: Confused: Packing jars containing class files from other components

2006-10-13 Thread Mirko Leschikar
Arnaud Bailly schrieb: Mirko Leschikar [EMAIL PROTECTED] writes: Do I have to use assemblies? Yes, I think it fits perfetly into your use case: remove module D and create an assembly in a toplevel (parent of A, B and C) project. If needed, I can provide you with one that gets all classes