Project Inheritance in Maven

2008-12-23 Thread arun_rocky
classes which is there inside in the maven-parent project. 2) can we able to create two war/jar(child and parent project separately) files by running the child maven project only.please help me out .. -- View this message in context: http://www.nabble.com/Project-Inheritance-in-Maven

Re: Project Inheritance in Maven

2008-12-23 Thread Wendy Smoak
On Tue, Dec 23, 2008 at 8:36 AM, arun_rocky arunkumarave...@cognizant.com wrote: 1) I have created a parent maven project and i called the pom.xml file in child maven project. by using the parent/parent. its working fine. but i cant able to retrieve the user-created classes of parent maven

RE: assembly plugin and project inheritance

2008-02-25 Thread Brian E. Fox
- From: Stephen Connolly [mailto:[EMAIL PROTECTED] Sent: Sunday, February 24, 2008 4:09 PM To: Maven Users List Subject: Re: assembly plugin and project inheritance Copy requires that the artifact must be in the local repository or in a remote repository. The copy dependencies allows

Re: assembly plugin and project inheritance

2008-02-24 Thread Stephen Connolly
Copy requires that the artifact must be in the local repository or in a remote repository. The copy dependencies allows for the artifact to come from the reactor, so you don't have to install the artifact into your local repository. The copy dependencies can be set to only copy one dependency.

Re: assembly plugin and project inheritance

2008-02-24 Thread Stephen Connolly
If you do something like plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId configuration *includeTypesassembly-descriptor**includeTypes* ...**

Re: assembly plugin and project inheritance

2008-02-23 Thread Reto Bachmann-Gmür
Thank you very much for your help, I can now have many projects generate the right assembly with just one assembly descriptor and without requiring to check out multiple projects (and having them at the right position in the directory structure). I don't understand your suggestion to use

Re: assembly plugin and project inheritance

2008-02-22 Thread Stephen Connolly
You could attach the common descriptor as a build artifact one module, and then use the dependency plugin to pull it down to each child module. i.e. Use buildhelper-maven-plugin in rwcf-apps to attach dist.xml with a classifier of, e.g. assembly-descriptor. Now when you run mvn install or mvn

Re: assembly plugin and project inheritance

2008-02-22 Thread Reto Bachmann-Gmür
Thanks Stephen, trying to follow the path you describe I added the following to the parent-pom: plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId executions execution

Re: assembly plugin and project inheritance

2008-02-22 Thread Reto Bachmann-Gmür
The version I posted doesn't work as the child-projects can't perform the attach-artifact attached to the package phase. I've now extracted the dist configuration and the attachment of it to a separate project[1]. Having done this I also attached the copy and the assembly goals to the compile

Re: assembly plugin and project inheritance

2008-02-22 Thread Stephen Connolly
there are two sets of goals in the maven dependency plugin. the first set are copy and unpack. you specify the artifacts inside the plugin configuration. these are not the set you want. the set you want are copy-dependencies (or something like that I am on my iPod so you will have to check) with

assembly plugin and project inheritance

2008-02-21 Thread Reto Bachmann-Gmür
Hello I'm having many projects that share some dependencies and that should be packaged the same way. So I wanted to have a parent project configuring the maven-assembly-plugin. I did this with the following in the parent pom: plugin artifactIdmaven-assembly-plugin/artifactId

Project Inheritance reference to parent dependency?

2007-04-10 Thread DI Kurt Edegger
Hi, I do have a question regarding referencing the parent pom of a multi module project as described in chapter 3 of Better Builds With Maven. If a project consists of multiple modules (e.g.: api, core, model, ..), these modules reside in sub-directories of a top level directory. Each module

Re: Project Inheritance reference to parent dependency?

2007-04-10 Thread Jerome Lacoste
On 4/10/07, DI Kurt Edegger [EMAIL PROTECTED] wrote: Hi, I do have a question regarding referencing the parent pom of a multi module project as described in chapter 3 of Better Builds With Maven. If a project consists of multiple modules (e.g.: api, core, model, ..), these modules reside in

Re: Project Inheritance reference to parent dependency?

2007-04-10 Thread DI Kurt Edegger
Hi, thank you Jerome for your fast response! I'll check out that plugin. Take care, Kurt Jerome Lacoste schrieb: On 4/10/07, DI Kurt Edegger [EMAIL PROTECTED] wrote: Hi, I do have a question regarding referencing the parent pom of a multi module project as described in chapter 3 of Better

Project inheritance

2007-03-09 Thread Aidan O'Donnell
Hi, I have a POM which is both a parent and a multi-module. When I build from this POM I would like the plugins to be executed for the modules and not the parent POM i.e. how can I supress the execution for the current POM but still inherit the properties? Aidan

Re: Project inheritance

2007-03-09 Thread Jake
: Project inheritance Hi, I have a POM which is both a parent and a multi-module. When I build from this POM I would like the plugins to be executed for the modules and not the parent POM i.e. how can I supress the execution for the current POM but still inherit the properties? Aidan

WAR Project Inheritance

2007-01-16 Thread Ben Tatham
Hi, A long time ago, this question was posted, but I can't find the answer (if there was one?) My primary goal is to create a WAR (don't need an EAR) that depends on another WAR project...essentially extending that original project. I want to include all the JSPs, etc from the parent WAR.

Project Inheritance problem

2006-10-23 Thread EJ Ciramella
Hello all - I'm having a bit of trouble with three layers of pom files. If I have: pom.xml - pom.xml - pom.xml what _should_ the parent tags look like? In the top most one, I have: groupIdlty/groupId artifactIdapp/artifactId version1.0-SNAPSHOT/version packagingpom/packaging In the

Re: mvn eclipse:plugin and project inheritance

2006-05-17 Thread Taavi Sildeberg
Hello David, Do you have inside a module A and s module B parent defined? Something like this: parent groupIdyour parent groupid/groupId artifactIdyour parent artifact id /artifactId versionyour parent version/version /parent Taavi Davis Ford wrote: Hi, I have a parent pom.xml

Re: mvn eclipse:plugin and project inheritance

2006-05-17 Thread Davis Ford
yes, that is the way it is currently set up On 5/17/06, Taavi Sildeberg [EMAIL PROTECTED] wrote: Hello David, Do you have inside a module A and s module B parent defined? Something like this: parent groupIdyour parent groupid/groupId artifactIdyour parent artifact id /artifactId

mvn eclipse:plugin and project inheritance

2006-05-16 Thread Davis Ford
Hi, I have a parent pom.xml project in C:\someplace\pom.xml that has modulemoduleA/module modulemoduleB/module Then I have C:\someplace\moduleA\pom.xml C:\someplace\moduleB\pom.xml If I execute: C:\someplace\mvn clean C:\someplace\mvn compile C:\someplace\mvn test That works great for