RE: Multiproject build that needs to build one project only if on a particular os?

2016-08-16 Thread KARR, DAVID
> -Original Message- > From: Karl Heinz Marbaise [mailto:khmarba...@gmx.de] > Sent: Tuesday, August 16, 2016 12:59 PM > To: Maven Users List > Subject: Re: Multiproject build that needs to build one project only if > on a particular os? > > Hi, > > You

Re: Multiproject build that needs to build one project only if on a particular os?

2016-08-16 Thread Karl Heinz Marbaise
how to activate profiles based on os family: http://books.sonatype.com/mvnref-book/reference/profiles-sect-activation.html Gruss Bernd Am Tue, 16 Aug 2016 19:47:38 + schrieb "KARR, DAVID" : I have a multiproject build with three modules, not counting the top-level. I can bui

Re: Multiproject build that needs to build one project only if on a particular os?

2016-08-16 Thread Paul Benedict
profiles and how to activate > profiles based on os family: > > > http://books.sonatype.com/mvnref-book/reference/ > profiles-sect-activation.html > > Gruss > Bernd > > Am Tue, 16 Aug 2016 19:47:38 +0000 > schrieb "KARR, DAVID" : > > > I have

Re: Multiproject build that needs to build one project only if on a particular os?

2016-08-16 Thread Karl Heinz Marbaise
Karl Heinz Marbaise On 16/08/16 21:47, KARR, DAVID wrote: I have a multiproject build with three modules, not counting the top-level. I can build this on either Windows or Linux, but if I'm building on Windows, one of the subprojects should not be built. I vaguely remember seeing ways t

Re: Multiproject build that needs to build one project only if on a particular os?

2016-08-16 Thread Bernd Eckenfels
This describes how to control modules with profiles and how to activate profiles based on os family: http://books.sonatype.com/mvnref-book/reference/profiles-sect-activation.html Gruss Bernd Am Tue, 16 Aug 2016 19:47:38 + schrieb "KARR, DAVID" : > I have a multiproject bui

Multiproject build that needs to build one project only if on a particular os?

2016-08-16 Thread KARR, DAVID
I have a multiproject build with three modules, not counting the top-level. I can build this on either Windows or Linux, but if I'm building on Windows, one of the subprojects should not be built. I vaguely remember seeing ways to set architecture properties and check for those, but I

Re: Why does my multiproject build revert to taking SNAPSHOT versions of dependencies when I want a specified version?

2009-01-05 Thread Christopher Patti
On Mon, Jan 5, 2009 at 2:52 PM, Christopher Patti wrote: > On Thu, Jan 1, 2009 at 2:59 AM, Wayne Fay wrote: > >> > Why does it all of a sudden switch from the version I want (R2_5_653H1) >> to >> > SNAPSHOT here? >> >> Bugs have been filed in Jira against various Maven2 versions involving >> the

Re: Why does my multiproject build revert to taking SNAPSHOT versions of dependencies when I want a specified version?

2009-01-05 Thread Christopher Patti
On Thu, Jan 1, 2009 at 2:59 AM, Wayne Fay wrote: > > Why does it all of a sudden switch from the version I want (R2_5_653H1) > to > > SNAPSHOT here? > > Bugs have been filed in Jira against various Maven2 versions involving > the dotted notation of properties. Specifically, it seems like > anythi

Re: Why does my multiproject build revert to taking SNAPSHOT versions of dependencies when I want a specified version?

2009-01-01 Thread Wayne Fay
> Why does it all of a sudden switch from the version I want (R2_5_653H1) to > SNAPSHOT here? Bugs have been filed in Jira against various Maven2 versions involving the dotted notation of properties. Specifically, it seems like anything before the final dot is sometimes ignored, so this.is.a.prope

Why does my multiproject build revert to taking SNAPSHOT versions of dependencies when I want a specified version?

2008-12-31 Thread Christopher Patti
Folks; I've run into this problem before, and have never been able to explain it. We have a number of dependent sub-projects, and whenever I try to do a build from one of the sub-projects, somewhere down the dependency chain it switches away from the version I'm specifying with -Dbuild.version an

Re: Multiproject build fails

2007-09-06 Thread Greg Davidson
Try adding this to the maven-release-plugin clean install On 9/5/07, Todd Nine <[EMAIL PROTECTED]> wrote: > > Hi all, > I have a multi project build in the standard directory structure. I'm > using subversion, and all my submodules will be built with the same > version > as the parent. I ca

Re: Multiproject build fails

2007-09-06 Thread Arnaud HERITIER
Did you specify a version for the release plugin ? On 06/09/07, Todd Nine <[EMAIL PROTECTED]> wrote: > ping > > On 9/5/07, Todd Nine <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > I have a multi project build in the standard directory structure. I'm > > using subversion, and all my submodul

Re: Multiproject build fails

2007-09-06 Thread Todd Nine
ping On 9/5/07, Todd Nine <[EMAIL PROTECTED]> wrote: > > Hi all, > I have a multi project build in the standard directory structure. I'm > using subversion, and all my submodules will be built with the same version > as the parent. I can perform a prepare successfully, however when I perfo

Multiproject build fails

2007-09-05 Thread Todd Nine
Hi all, I have a multi project build in the standard directory structure. I'm using subversion, and all my submodules will be built with the same version as the parent. I can perform a prepare successfully, however when I perform the release, the modules aren't built in the correct order based

Re: [m2] How to bypass unit testing durng multiproject build with Maven 2

2007-03-14 Thread Thorsten Heit
"package" implies "compile", i.e. it isn't necessary to add both commands to the command line > Maybe this is the purpose for a multiproject build to make sure that all > the > projects get compiled and tested, but how about the deployment, what if I > w

Re: [m2] How to bypass unit testing durng multiproject build with Maven 2

2007-03-09 Thread mavenstart
Thanks a lot, Thorsten So I did mvn -Dmaven.test.skip=true package, it still compiled and ran the JUNIT testing... I also did mvn package compile, JUNIT is still running... Maybe this is the purpose for a multiproject build to make sure that all the projects get compiled and tested, but how

Re: How to bypass unit testing durng multiproject build with Maven 2

2007-03-09 Thread Thorsten Heit
Hi, > I think I can use "mvn package" to do a multiproject build with Maven 2, > my > question is - how do I do a quick build with "mvn package" by bypassing > the > junit testing. http://maven.apache.org/general.html#skip-test Is that what you

How to bypass unit testing durng multiproject build with Maven 2

2007-03-08 Thread mavenstart
Hello Maven gurus, I think I can use "mvn package" to do a multiproject build with Maven 2, my question is - how do I do a quick build with "mvn package" by bypassing the junit testing. Thanks, MavenStarter -- View this message in context: http://www.nabble.com/How-to

Maven 1 multiproject build

2006-07-21 Thread Gabriel Page
Hi I have a continuum build that is executing multiproject:install on a Maven 1 project. Continuum reports the builds to be successful even when they fail. Is this a known issue? Thanks Gabriel Communications on or through ioko's computer systems may be monitored or recorded to

Re: M2 multiproject build question

2006-06-27 Thread Roman Krutyakov
Hello, I have project tree -core -addons -site1 -site1-i18n -site2 -site2-i18n -parent site1 and site2 requires both core and addons, site3 requires only core. Im writing plugin for customizing build of my projects - i need full rebuild for addons and core when im making "mvn package" for site1

M2 multiproject build question

2006-06-20 Thread Roman Krutyakov
Hello, I have project tree -core -addons -site1 -site1-i18n -site2 -site2-i18n -site3 -site3-i18n -parent site1 and site2 requires both core and addons, site3 requires only core. i need to have possibility performing full build for any webapp, ie for example invoke build chain core->addons->site

Re: Inherit version from parent project in multiproject build?

2006-04-17 Thread Eric Redmond
gt; > I've got a M2 multproject setup that builds several artifacts. > > + parent > -+ pom.xml > -+ child1 > -+ child2 > > We want to assign the same version to each artifact in the multiproject > build, but it doesn't look like the version is actually an inherita

Inherit version from parent project in multiproject build?

2006-04-17 Thread Sean McNamara
rent -+ pom.xml -+ child1 -+ child2 We want to assign the same version to each artifact in the multiproject build, but it doesn't look like the version is actually an inheritable field. This means each time we want to build a new version, we need to modify the POM for each child project, regardless

Re: Inherit version from parent project in multiproject build?

2006-04-17 Thread Ray Tsang
te: > On 4/17/06, Sean McNamara <[EMAIL PROTECTED]> wrote: > > > We want to assign the same version to each artifact in > > the multiproject build, but it doesn't look like the > > version is actually an inheritable field. > > Unless I misunderstand what you wa

Re: Inherit version from parent project in multiproject build?

2006-04-17 Thread Wendy Smoak
On 4/17/06, Sean McNamara <[EMAIL PROTECTED]> wrote: > We want to assign the same version to each artifact in > the multiproject build, but it doesn't look like the > version is actually an inheritable field. Unless I misunderstand what you want to do, it's working

Inherit version from parent project in multiproject build?

2006-04-17 Thread Sean McNamara
m.xml -+ child1 -+ child2 We want to assign the same version to each artifact in the multiproject build, but it doesn't look like the version is actually an inheritable field. This means each time we want to build a new version, we need to modify the POM for each child project, regardless

M1 multiproject Build Order still wrong

2006-01-23 Thread Osborne, Matthew
Okay I got my previous issue fixed only to run straight into another. Not sure exactly how the multiproject plugin determines the proper build order for a given project, but for mine it is not being determined correctly (It is trying to build a module first that has a dependency on another that is

Re: [m1.1-b-2] how can I initialize a variable/prop just once and share with subprojects in multiproject build?

2006-01-16 Thread Dion Gillard
; -Max > > On Mon, 2006-01-16 at 15:14 -0800, Max Cooper wrote: > > I want to initialize a variable or property just once at the beginning > > of a multiproject build and then be able to access that value in any of > > the subprojects. Ideally, running a subproject build on

Re: [m1.1-b-2] how can I initialize a variable/prop just once and share with subprojects in multiproject build?

2006-01-16 Thread Max Cooper
5:14 -0800, Max Cooper wrote: > I want to initialize a variable or property just once at the beginning > of a multiproject build and then be able to access that value in any of > the subprojects. Ideally, running a subproject build on it's own would > also initialize the value. >

[m1.1-b-2] how can I initialize a variable/prop just once and share with subprojects in multiproject build?

2006-01-16 Thread Max Cooper
I want to initialize a variable or property just once at the beginning of a multiproject build and then be able to access that value in any of the subprojects. Ideally, running a subproject build on it's own would also initialize the value. For instance, so far I have something like this

Run script/goal whether multiproject build fails or not

2006-01-15 Thread Patrick Villacorta
Hi, Is there a way to run a goal/script in Maven 1 that will run at the end of a multiproject build, whether the build is succussful or not? (ex. build fails in 3rd module of a 5 module project) I'm trying to make a goal that will write a report everytime a build is attempted. T

Re: Multiproject build

2005-08-24 Thread stéphane bouchet
Hi, i am in the same configuration, but even if i have all my projects depending on my utility project, it is not built in the first place ? So when i do a "multiproject:install", my utility project is not on the top list and the build fails Using maven 1.0.2 and multiproject 1.4.1. Th

Re: Multiproject build

2005-08-03 Thread Per Abich
Just put a dependency in your project.xml so that all project depend on your utility project. That should do the trick. Currently, there is no other way of orderig the build process. Per 2005/8/3, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi, > > I have a Maven multiproject set up. One of m

Multiproject build

2005-08-03 Thread gurubaran . kanagaraj
Hi, I have a Maven multiproject set up. One of my project is a utility kind of project which is used by my other modules/projects. During the build, can i set up a order in which the projects will be built (or) can i set dependency between my projects so that my utility project will get bui

RE: a practical multiproject build

2005-04-14 Thread Durham David R Jr Contr 805 CSPTS/SCE
> Remember that maven always uses the version in the local repository. > So if module B depends on 1.0-SNAPSHOT of module A, and you change > something to module A, then you need to call jar:install on module A. > Otherwise module B will not see the changes. Yeah, that's what multiproject does: ca

Re: a practical multiproject build

2005-04-14 Thread Wim Deblauwe
You can have SNAPSHOT in your , we use it like that. with 1-0-SNAPSHOT: jar:install -> puts myjar-1.0-SNAPSHOT.jar in the local repository jar:install-snapshot -> puts myjar-SNAPSHOT.jar in the local repository with 1.0: jar:install -> puts myjar-1.0.jar in the local repository jar:install-snapsh

RE: a practical multiproject build

2005-04-14 Thread Durham David R Jr Contr 805 CSPTS/SCE
> SNAPSHOT makes a lot of sense in a multiproject context. > > From what I understand, you should never set the version to SNAPSHOT > in your tag. you should rather use something along the > line of > artifact:install-snapshot (local repo) > artifact:deploy-snapshot (global repo) > which will ta

RE: a practical multiproject build

2005-04-11 Thread Patrick Roumanoff
> Right, part of my problem is that I don't understand exactly how the > SNAPSHOT stuff works. Perhaps SNAPSHOTs don't make as much sense in a > "multiproject" context at least as far the modules are concerned. I > replaced SNAPSHOT with an actual version number within the different > modules' pr

RE: a practical multiproject build

2005-04-11 Thread Durham David R Jr Contr 805 CSPTS/SCE
> You can filter the subprojects on which you want to call a goal by > adding the following on the root maven.xml : > > > basedir="${basedir}" > includes="*/project.xml" > postProcessing="false" > goals="myGoal" > ignoreFailures

Re: a practical multiproject build

2005-04-11 Thread Simon BRANDHOF
Hello, You can filter the subprojects on which you want to call a goal by adding the following on the root maven.xml : For your example, you should have : In your case the subprojects should have the same version number. So I think that you can set the version (SN

Re: a practical multiproject build

2005-04-11 Thread Bahaa Nasrallah
I have exactly the smae problem, can anybody who knows how to solve this problem reply? thanks, Bahaa On Apr 8, 2005 8:17 PM, Durham David R Jr Contr 805 CSPTS/SCE <[EMAIL PROTECTED]> wrote: > I've been working with multiproject for a couple of days, so while I'm > not exactly an expert, I feel r

a practical multiproject build

2005-04-08 Thread Durham David R Jr Contr 805 CSPTS/SCE
I've been working with multiproject for a couple of days, so while I'm not exactly an expert, I feel reasonably confident with the following questions. Basically, I'd like to end up with 1 step to deploying only changes to a web application. Here's my directory structure: /project /appli

RE: Multiproject build failure

2004-07-02 Thread Carlos Sanchez
4 3:56 PM > To: 'Maven Users List' > Subject: Multiproject build failure > > I'm in the process of splitting a project up into several > subprojects. I've been running the multiproject build for > weeks without problems. I just changed the subprojects so &

Re: Multiproject build failure

2004-07-02 Thread Brett Porter
e process of splitting a project up into several subprojects. I've > been running the multiproject build for weeks without problems. I just > changed the subprojects so they extend the main project. Each subproject > builds fine, but now when I run multiproject I get this error me

Multiproject build failure

2004-07-02 Thread STRAYER, JON (SBCSI)
I'm in the process of splitting a project up into several subprojects. I've been running the multiproject build for weeks without problems. I just changed the subprojects so they extend the main project. Each subproject builds fine, but now when I run multiproject I get this err

Re: Réf. : Plugins ready for use within the multiproject build.

2004-04-27 Thread Niclas Hedhman
On Tuesday 27 April 2004 20:02, [EMAIL PROTECTED] wrote: > You meen that your plugin are subproject ? Yes. > Define in project.properties : > maven.multiproject.type = plugin I have done that. I have also tried to do; in the plug-in's maven.xml. I am coming to the conclusion th

Réf. : Plugins ready for use within the multiproject build.

2004-04-27 Thread Nicolas . CHALUMEAU
quot; <[EMAIL PROTECTED]> cc : Objet : Plugins ready for use within the multiproject build. Hi, What do I need to do to have my own Plugins created/installed, _during_ the same multiproject build where they are used?? Cheers Niclas -- +-//---

Plugins ready for use within the multiproject build.

2004-04-27 Thread Niclas Hedhman
Hi, What do I need to do to have my own Plugins created/installed, _during_ the same multiproject build where they are used?? Cheers Niclas -- +-//---+ | http://www.bali.ac | | http://niclas.hedhman.org

RE: multiproject build with inherited POMs

2003-09-18 Thread Jason Horne
Thanks... I actually just pulled the latest version of Maven from CVS and all is now well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 11:39 PM To: Maven Users List Subject: RE: multiproject build with inherited POMs Jason

RE: multiproject build with inherited POMs

2003-09-17 Thread dion
Jason, if you're on beta 10, your will need ${basedir}/../project.xml and not just ../project.xml "Jason Horne" <[EMAIL PROTECTED]> wrote on 18/09/2003 04:01:13 AM: > I think Maven switches it automatically. The original line from the > sub-POM had a forward-slash, i.e.: > > ../project.xm

RE: multiproject build with inherited POMs

2003-09-17 Thread Brett Porter
ersion 1.0 released on the site, not the one in beta-10. - Brett > -Original Message- > From: Jason Horne [mailto:[EMAIL PROTECTED] > Sent: Thursday, 18 September 2003 4:01 AM > To: Maven Users List > Subject: RE: multiproject build with inherited POMs > > > I thi

RE: multiproject build with inherited POMs

2003-09-17 Thread Jason Horne
PROTECTED] Sent: Wednesday, September 17, 2003 1:51 PM To: Maven Users List Subject: Re: multiproject build with inherited POMs it's worth a shot to turn the slash around. ../project.xml ${basedir}/../project.xml works on my windows machines. - Original Message - From: "Jason Horn

Re: multiproject build with inherited POMs

2003-09-17 Thread khote
it's worth a shot to turn the slash around. ../project.xml ${basedir}/../project.xml works on my windows machines. - Original Message - From: "Jason Horne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 10:47 AM Subject: multip

multiproject build with inherited POMs

2003-09-17 Thread Jason Horne
I'm getting a "can't find ..\project.xml" when trying to use multiproject to build Maven plugins with POMs that inherit from the root POM. This is the structure reflected in the plugins-build directory in the CVS tree. As a sanity check, I pulled src/plugins-build/* and src/plugins-build/war/*