Re: [M2] & [M1] Multiproject dependencies question

2005-11-21 Thread Brett Porter
That's not an exception to the inheritence rule described.

On 11/21/05, Jörg Schaible <[EMAIL PROTECTED]> wrote:
> Arik Kfir wrote on Friday, November 18, 2005 7:20 PM:
>
> > in m2 you can define the version once - in the parent POM via
> > a  section. All child POMs just state
> > the group & artifact IDs, without the version (they inherit the
> > version from the parent).
>
> Well, with exceptions: http://jira.codehaus.org/browse/MNG-1577
>
> - Jörg
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [M2] & [M1] Multiproject dependencies question

2005-11-20 Thread Jörg Schaible
Arik Kfir wrote on Friday, November 18, 2005 7:20 PM:

> in m2 you can define the version once - in the parent POM via
> a  section. All child POMs just state
> the group & artifact IDs, without the version (they inherit the
> version from the parent). 

Well, with exceptions: http://jira.codehaus.org/browse/MNG-1577

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [M2] & [M1] Multiproject dependencies question

2005-11-18 Thread Henry Isidro

Ballard, Ken wrote:


This is a question for Maven 1 & 2, although I know that the answers will be
different.

Let's say that I have a multiproject with subprojects. Some build jars, one
builds a war, a couple that build an ejb jar and an ejb client jar, and one
builds an ear. Now let's say that I need the Spring jar in a jar subproject
or two, the war subproject, an ejb subproject, and the ear subproject. When
I upgrade to Spring 1.2.6, I need to go upgrade all the project.xml (M1) or
pom.xml (M2) files. There's a good chance for missing something there. In
M1, I could define custom property in the project.properties file like
spring.jar.version. But would this be the best practice, or is there a
better way? And what about M2, which doesn't use a project.properties file?

Thanks,
Ken

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 


Hi Ken,

In M1, you have to go the property route. M2 handles it more gracefully. 
List your dependencies under the dependencyManagement tag in your parent 
pom and any child poms will inherit those versions automatically.


Regards,
Henry

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [M2] & [M1] Multiproject dependencies question

2005-11-18 Thread Arik Kfir
in m2 you can define the version once - in the parent POM via a
 section. All child POMs just state the group &
artifact IDs, without the version (they inherit the version from the
parent).

as for m1, I think it can only be done via a property...

On 11/18/05, Ballard, Ken <[EMAIL PROTECTED]> wrote:
> This is a question for Maven 1 & 2, although I know that the answers will be
> different.
>
> Let's say that I have a multiproject with subprojects. Some build jars, one
> builds a war, a couple that build an ejb jar and an ejb client jar, and one
> builds an ear. Now let's say that I need the Spring jar in a jar subproject
> or two, the war subproject, an ejb subproject, and the ear subproject. When
> I upgrade to Spring 1.2.6, I need to go upgrade all the project.xml (M1) or
> pom.xml (M2) files. There's a good chance for missing something there. In
> M1, I could define custom property in the project.properties file like
> spring.jar.version. But would this be the best practice, or is there a
> better way? And what about M2, which doesn't use a project.properties file?
>
> Thanks,
> Ken
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[M2] & [M1] Multiproject dependencies question

2005-11-18 Thread Ballard, Ken
This is a question for Maven 1 & 2, although I know that the answers will be
different.

Let's say that I have a multiproject with subprojects. Some build jars, one
builds a war, a couple that build an ejb jar and an ejb client jar, and one
builds an ear. Now let's say that I need the Spring jar in a jar subproject
or two, the war subproject, an ejb subproject, and the ear subproject. When
I upgrade to Spring 1.2.6, I need to go upgrade all the project.xml (M1) or
pom.xml (M2) files. There's a good chance for missing something there. In
M1, I could define custom property in the project.properties file like
spring.jar.version. But would this be the best practice, or is there a
better way? And what about M2, which doesn't use a project.properties file?

Thanks,
Ken

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: inter-multiproject dependencies uses maven.repo.local as store?

2004-08-02 Thread John Casey
For now this is indeed the only way. That's essentially what the
multiproject:install goal does.

-john

On Thu, 2004-07-29 at 16:27, mr.x wrote:
> Hi
> 
> I'm trying to create a maven project containing several components.
> 
> I've read:
> http://wiki.codehaus.org/maven/CreatingJ2eeApplications
> 
> But here's my question:
> Is it correct that the dependencies of jar files within a multiproject build
> uses the maven.repo.local to "interchange" the results? 
> (means: i have to jar:install[-snapshot] a jar before referencing it in the
> next bruilded "multiproject-component")
> 
> .. Or is there another idea to do this?
> 
> Thanx for your help.
> 
> Cheers
> Rolf
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
John Casey
[EMAIL PROTECTED]
CommonJava Open Components Project
http://www.commonjava.org


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: inter-multiproject dependencies uses maven.repo.local as store?

2004-08-02 Thread Brett Porter
yes, that is correct.

On Thu, 29 Jul 2004 22:27:42 +0200, mr.x <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I'm trying to create a maven project containing several components.
> 
> I've read:
> http://wiki.codehaus.org/maven/CreatingJ2eeApplications
> 
> But here's my question:
> Is it correct that the dependencies of jar files within a multiproject build
> uses the maven.repo.local to "interchange" the results?
> (means: i have to jar:install[-snapshot] a jar before referencing it in the
> next bruilded "multiproject-component")
> 
> ... Or is there another idea to do this?
> 
> Thanx for your help.
> 
> Cheers
> Rolf
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



inter-multiproject dependencies uses maven.repo.local as store?

2004-08-02 Thread mr.x
Hi

I'm trying to create a maven project containing several components.

I've read:
http://wiki.codehaus.org/maven/CreatingJ2eeApplications

But here's my question:
Is it correct that the dependencies of jar files within a multiproject build
uses the maven.repo.local to "interchange" the results? 
(means: i have to jar:install[-snapshot] a jar before referencing it in the
next bruilded "multiproject-component")

.. Or is there another idea to do this?

Thanx for your help.

Cheers
Rolf



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



dependency should use not (was Re: how to make multiproject dependencies work)

2004-06-03 Thread Jerome Lacoste
On Wed, 2004-06-02 at 23:42, Dan Tran wrote:
> Jerome,
> 
> take a look at this link 
> http://wiki.codehaus.org/maven/CreatingJ2eeApplications
> 
> I base mine on that example and it works like a champ
> 
> hope it helps

it helped a lot ;)

I found my problem to be a dependency declaration one:

in the block

  
org.cb.test
fullex-core
0.1
http://localhost/
  

I should have used artifactId instead of id. Not really sure why...

I wonder where I picked that, because I've used id in all my former
examples and it worked all the time (for non multiprojects)...

I guesses I picked that in an example, and it worked since then.
I also uncovered an inconsistency in the dependency declaration, but I will report 
that to the dev team.

Cheers,

Jerome


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how to make multiproject dependencies work

2004-06-02 Thread Dan Tran
Jerome,

take a look at this link 
http://wiki.codehaus.org/maven/CreatingJ2eeApplications

I base mine on that example and it works like a champ

hope it helps

-Dan

- Original Message - 
From: "Jerome Lacoste" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 02, 2004 8:41 AM
Subject: how to make multiproject dependencies work


> I am trying to get multiproject dependencies work. But am having a hard
> time. The doc didn't seem to contain the answers to my question.
> 
> My idea is to test the multiproject functionality doing the following
> 
> project/core
> project/web
> 
> I then need core to be built before web. 
> 
> 
> Detailed Setup:
> ---
> 
> I have 3 project.xml files
> 
> on in project/ and one in each of the sub projects.
> 
> In each project.xml I have something like that
> 
>   ../project.xml  (this only in the sub projects)
>   3   (same pom version)
>   fullex-web  (different for each project)
>   org.cb.test   (same groupId)
> 
> The web one contains a dependency on the artifact built by the core
> project.
> 
> something like
> 
>   
> org.cb.test
> fullex-core
> 0.1
> http://localhost/
>   
> 
> in the project.properties for the web project I have something like
> 
> maven.jar.override=on
> maven.jar.fullex-core=${basedir}/../core/target/fullex-core-0.1.jar
> 
> In the root maven.xml I've added the reactor example found in the doc.
>   
>  basedir="${basedir}"
>   postProcessing="true"
>   includes="*/project.xml"
>   goals="all"
>   banner="Building full project"
>   ignoreFailures="false"
>   >
>   
>   
> 
>   
>   
> 
> 
> Problem:
> 
> 
> But when I run maven, it keeps trying to build web before core.
> 
> Here is the extract of maven -X:
> 
> [...]
> attaining goal build:start
> attaining goal all
> Starting the reactor...
> Using userBuildPropertiesFile: /home/jerome/build.properties
> Using projectPropertiesFile:
> /home/jerome/Dev/FullExample/AWebApp/project.properties
> Using projectBuildPropertiesFile:
> /home/jerome/Dev/FullExample/AWebApp/build.properties
> Using userBuildPropertiesFile: /home/jerome/build.properties
> Using projectPropertiesFile:
> /home/jerome/Dev/FullExample/project.properties
> Using projectBuildPropertiesFile:
> /home/jerome/Dev/FullExample/build.properties
> Using projectBuildPropertiesFile:
> /home/jerome/Dev/FullExample/build.properties
> Using projectPropertiesFile:
> /home/jerome/Dev/FullExample/project.properties
> Using userBuildPropertiesFile: /home/jerome/build.properties
> Using projectPropertiesFile:
> /home/jerome/Dev/FullExample/core/project.properties
> Using projectBuildPropertiesFile:
> /home/jerome/Dev/FullExample/core/build.properties
> Using projectBuildPropertiesFile:
> /home/jerome/Dev/FullExample/build.properties
> Using projectPropertiesFile:
> /home/jerome/Dev/FullExample/project.properties
> Our processing order:
> Tests FullExample (Web)
> Tests FullExample (CORE)
> 
> 
> Questions:
> -
> 
> - how do I enforce the order? Did I miss something?
> 
> - is the publishing of my jar file in a local repository the recommended
> approach? Or should I use the dependency overriding (which has the
> inconvenient of requiring an exact path, containing the version number)
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to make multiproject dependencies work

2004-06-02 Thread Jerome Lacoste
I am trying to get multiproject dependencies work. But am having a hard
time. The doc didn't seem to contain the answers to my question.

My idea is to test the multiproject functionality doing the following

project/core
project/web

I then need core to be built before web. 


Detailed Setup:
---

I have 3 project.xml files

on in project/ and one in each of the sub projects.

In each project.xml I have something like that

  ../project.xml  (this only in the sub projects)
  3   (same pom version)
  fullex-web  (different for each project)
  org.cb.test   (same groupId)

The web one contains a dependency on the artifact built by the core
project.

something like

  
org.cb.test
fullex-core
0.1
http://localhost/
  

in the project.properties for the web project I have something like

maven.jar.override=on
maven.jar.fullex-core=${basedir}/../core/target/fullex-core-0.1.jar

In the root maven.xml I've added the reactor example found in the doc.
  
  
  
  

  
  


Problem:


But when I run maven, it keeps trying to build web before core.

Here is the extract of maven -X:

[...]
attaining goal build:start
attaining goal all
Starting the reactor...
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile:
/home/jerome/Dev/FullExample/AWebApp/project.properties
Using projectBuildPropertiesFile:
/home/jerome/Dev/FullExample/AWebApp/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile:
/home/jerome/Dev/FullExample/project.properties
Using projectBuildPropertiesFile:
/home/jerome/Dev/FullExample/build.properties
Using projectBuildPropertiesFile:
/home/jerome/Dev/FullExample/build.properties
Using projectPropertiesFile:
/home/jerome/Dev/FullExample/project.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile:
/home/jerome/Dev/FullExample/core/project.properties
Using projectBuildPropertiesFile:
/home/jerome/Dev/FullExample/core/build.properties
Using projectBuildPropertiesFile:
/home/jerome/Dev/FullExample/build.properties
Using projectPropertiesFile:
/home/jerome/Dev/FullExample/project.properties
Our processing order:
Tests FullExample (Web)
Tests FullExample (CORE)


Questions:
-

- how do I enforce the order? Did I miss something?

- is the publishing of my jar file in a local repository the recommended
approach? Or should I use the dependency overriding (which has the
inconvenient of requiring an exact path, containing the version number)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: multiproject dependencies

2003-09-14 Thread dion
multiproject:install-snapshot
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


"Bateman, Patrick eMEDIA" <[EMAIL PROTECTED]> wrote on 
11/09/2003 10:38:37 PM:

> I know this has been answered before, but just for clarity.
> 
> When running the Multiproject goal and there is a dependency ordering
> requirement, does the Multiproject analyse the sub-projects dependencies 
and
> work out the correct order to build.
> 
> If this is correct, then how do I get Maven to use the artefacts 
generated
> by the Multiproject goal to be included as the dependee's of the next
> sub-project being built. i.e. force the Multiproject goal to only 
generate
> SNAPSHOTs and then re-use these SNAPSHOTs within the same build.
> 
> Thanks
> 
> Pat
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 10 September 2003 08:23
> To: Maven Users List
> Subject: Re: multiproject dependencies
> 
> 
> Beta10 multiproject has some bugs :-)
> 
> Use the released version.
> --
> dIon Gillard, Multitask Consulting
> Blog:  http://blogs.codehaus.org/people/dion/
> 
> 
> Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 04:11:51 PM:
> 
> > :)
> > 
> > just tried using multiproject and it barfed with
> > 
> > maven-multiproject-plugin-1.0-SNAPSHOT/plugin.jelly:149:61:  
This 
> 
> > tag does not understand the 'name' attribute
> > 
> > I checked the jelly docs and set doesn't seem to take a name 
attribute.
> > 
> > I was using maven beta 10.  I'm rebuilding maven from cvs now to see 
if 
> > this makes a diference.
> > 
> > [EMAIL PROTECTED] wrote:
> > 
> > > Well, yes, since it uses the reactor.
> > > --
> > > dIon Gillard, Multitask Consulting
> > > Blog:  http://blogs.codehaus.org/people/dion/
> > > 
> > > 
> > > Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 02:54:58 PM:
> > > 
> > > 
> > >>Hi,
> > >>
> > >>Does the multiproject plugin build dependent projects in the correct 

> > >>order (like the reactor does).
> > >>
> > >>thanks
> > >>Nathan
> > >>
> > >>
> > >>
> > >>
> > 
>>-
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > > 
> > > 
> > > 
> > > 
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> This email and any files transmitted with it are confidential and 
intended
> solely for the use of the individual or entity to whom they are 
addressed.
> If you have received this email in error please notify the system 
manager. 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: multiproject dependencies

2003-09-11 Thread dion
multiproject:artifact and multiproject:artifact-install will do something 
similar just by adding a property.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


[EMAIL PROTECTED] wrote on 12/09/2003 08:23:04 AM:

> Multiproject uses Reactor, which does determine the correct order to 
build
> in.  I found that  will make the project you just built
> (assuming it's a JAR) available for all subsequent builds.  And there's 
two
> ways you can do it (I'm sure there's even more).
> 
> First, I added an  within a maven.xml in
> each project directory.  I usually put them in a  that 
involves a
> jar:jar right before.
> 
> The other way is to specify it in the goals list in Reactor, like so:
> 
>
> basedir="${basedir}"
>  includes="**/${pattern}/**/project.xml"
>  excludes="project.xml"
>  goals="clean,java:compile,jar:jar,jar:install"
>  banner="Generating"
>  ignoreFailures="false"/>
>
> 
> Hope that helps.
> 
> Yoway Buorn
> Software Engineer
> Imagery Systems Engineering
> 
> GENERAL DYNAMICS
> Advanced Information Systems
> 
> 112 Lakeview Canyon Road
> Thousand Oaks, CA 91362-5027
> Tel 805 497 5074
> Fax 805 497 5050
> [EMAIL PROTECTED]
> 
> So one day these two muffins were baking in an oven.  One muffin turned 
to
> the other muffin and said, "Boy it sure is hot in here."  The other 
muffin
> turned to the first muffin and said, "Holy crap!  A talking muffin!" 
> 
> 
> 
> -Original Message-
> From: Bateman, Patrick eMEDIA [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 11, 2003 5:39 AM
> To: 'Maven Users List'
> Subject: RE: multiproject dependencies
> 
> 
> I know this has been answered before, but just for clarity.
> 
> When running the Multiproject goal and there is a dependency ordering
> requirement, does the Multiproject analyse the sub-projects dependencies 
and
> work out the correct order to build.
> 
> If this is correct, then how do I get Maven to use the artefacts 
generated
> by the Multiproject goal to be included as the dependee's of the next
> sub-project being built. i.e. force the Multiproject goal to only 
generate
> SNAPSHOTs and then re-use these SNAPSHOTs within the same build.
> 
> Thanks
> 
> Pat
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 10 September 2003 08:23
> To: Maven Users List
> Subject: Re: multiproject dependencies
> 
> 
> Beta10 multiproject has some bugs :-)
> 
> Use the released version.
> --
> dIon Gillard, Multitask Consulting
> Blog:  http://blogs.codehaus.org/people/dion/
> 
> 
> Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 04:11:51 PM:
> 
> > :)
> > 
> > just tried using multiproject and it barfed with
> > 
> > maven-multiproject-plugin-1.0-SNAPSHOT/plugin.jelly:149:61:  
This 
> 
> > tag does not understand the 'name' attribute
> > 
> > I checked the jelly docs and set doesn't seem to take a name 
attribute.
> > 
> > I was using maven beta 10.  I'm rebuilding maven from cvs now to see 
if 
> > this makes a diference.
> > 
> > [EMAIL PROTECTED] wrote:
> > 
> > > Well, yes, since it uses the reactor.
> > > --
> > > dIon Gillard, Multitask Consulting
> > > Blog:  http://blogs.codehaus.org/people/dion/
> > > 
> > > 
> > > Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 02:54:58 PM:
> > > 
> > > 
> > >>Hi,
> > >>
> > >>Does the multiproject plugin build dependent projects in the correct 

> > >>order (like the reactor does).
> > >>
> > >>thanks
> > >>Nathan
> > >>
> > >>
> > >>
> > >>
> > 
>>-
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > > 
> > > 
> > > 
> > > 
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > 
> > 
> > -
> > To unsub

RE: multiproject dependencies

2003-09-11 Thread Yoway . Buorn
Multiproject uses Reactor, which does determine the correct order to build
in.  I found that  will make the project you just built
(assuming it's a JAR) available for all subsequent builds.  And there's two
ways you can do it (I'm sure there's even more).

First, I added an  within a maven.xml in
each project directory.  I usually put them in a  that involves a
jar:jar right before.

The other way is to specify it in the goals list in Reactor, like so:





Hope that helps.

Yoway Buorn
Software Engineer
Imagery Systems Engineering

GENERAL DYNAMICS
Advanced Information Systems

112 Lakeview Canyon Road
Thousand Oaks, CA 91362-5027
Tel 805 497 5074
Fax 805 497 5050
[EMAIL PROTECTED]

So one day these two muffins were baking in an oven.  One muffin turned to
the other muffin and said, "Boy it sure is hot in here."  The other muffin
turned to the first muffin and said, "Holy crap!  A talking muffin!" 



-Original Message-
From: Bateman, Patrick eMEDIA [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 5:39 AM
To: 'Maven Users List'
Subject: RE: multiproject dependencies


I know this has been answered before, but just for clarity.

When running the Multiproject goal and there is a dependency ordering
requirement, does the Multiproject analyse the sub-projects dependencies and
work out the correct order to build.

If this is correct, then how do I get Maven to use the artefacts generated
by the Multiproject goal to be included as the dependee's of the next
sub-project being built. i.e. force the Multiproject goal to only generate
SNAPSHOTs and then re-use these SNAPSHOTs within the same build.

Thanks

Pat

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 10 September 2003 08:23
To: Maven Users List
Subject: Re: multiproject dependencies


Beta10 multiproject has some bugs :-)

Use the released version.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 04:11:51 PM:

> :)
> 
> just tried using multiproject and it barfed with
> 
> maven-multiproject-plugin-1.0-SNAPSHOT/plugin.jelly:149:61:  This 

> tag does not understand the 'name' attribute
> 
> I checked the jelly docs and set doesn't seem to take a name attribute.
> 
> I was using maven beta 10.  I'm rebuilding maven from cvs now to see if 
> this makes a diference.
> 
> [EMAIL PROTECTED] wrote:
> 
> > Well, yes, since it uses the reactor.
> > --
> > dIon Gillard, Multitask Consulting
> > Blog:  http://blogs.codehaus.org/people/dion/
> > 
> > 
> > Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 02:54:58 PM:
> > 
> > 
> >>Hi,
> >>
> >>Does the multiproject plugin build dependent projects in the correct 
> >>order (like the reactor does).
> >>
> >>thanks
> >>Nathan
> >>
> >>
> >>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: multiproject dependencies

2003-09-11 Thread Bateman, Patrick eMEDIA
I know this has been answered before, but just for clarity.

When running the Multiproject goal and there is a dependency ordering
requirement, does the Multiproject analyse the sub-projects dependencies and
work out the correct order to build.

If this is correct, then how do I get Maven to use the artefacts generated
by the Multiproject goal to be included as the dependee's of the next
sub-project being built. i.e. force the Multiproject goal to only generate
SNAPSHOTs and then re-use these SNAPSHOTs within the same build.

Thanks

Pat

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 10 September 2003 08:23
To: Maven Users List
Subject: Re: multiproject dependencies


Beta10 multiproject has some bugs :-)

Use the released version.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 04:11:51 PM:

> :)
> 
> just tried using multiproject and it barfed with
> 
> maven-multiproject-plugin-1.0-SNAPSHOT/plugin.jelly:149:61:  This 

> tag does not understand the 'name' attribute
> 
> I checked the jelly docs and set doesn't seem to take a name attribute.
> 
> I was using maven beta 10.  I'm rebuilding maven from cvs now to see if 
> this makes a diference.
> 
> [EMAIL PROTECTED] wrote:
> 
> > Well, yes, since it uses the reactor.
> > --
> > dIon Gillard, Multitask Consulting
> > Blog:  http://blogs.codehaus.org/people/dion/
> > 
> > 
> > Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 02:54:58 PM:
> > 
> > 
> >>Hi,
> >>
> >>Does the multiproject plugin build dependent projects in the correct 
> >>order (like the reactor does).
> >>
> >>thanks
> >>Nathan
> >>
> >>
> >>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiproject dependencies

2003-09-10 Thread dion
Beta10 multiproject has some bugs :-)

Use the released version.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 04:11:51 PM:

> :)
> 
> just tried using multiproject and it barfed with
> 
> maven-multiproject-plugin-1.0-SNAPSHOT/plugin.jelly:149:61:  This 

> tag does not understand the 'name' attribute
> 
> I checked the jelly docs and set doesn't seem to take a name attribute.
> 
> I was using maven beta 10.  I'm rebuilding maven from cvs now to see if 
> this makes a diference.
> 
> [EMAIL PROTECTED] wrote:
> 
> > Well, yes, since it uses the reactor.
> > --
> > dIon Gillard, Multitask Consulting
> > Blog:  http://blogs.codehaus.org/people/dion/
> > 
> > 
> > Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 02:54:58 PM:
> > 
> > 
> >>Hi,
> >>
> >>Does the multiproject plugin build dependent projects in the correct 
> >>order (like the reactor does).
> >>
> >>thanks
> >>Nathan
> >>
> >>
> >>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiproject dependencies

2003-09-10 Thread Andy Jefferson
On Wednesday 10 Sep 2003 07:58, Nathan Coast wrote:
> fyi, building from cvs fixes this problem.

Also, you were using the SNAPSHOT of multiproject that came with beta10. There 
was a new version released to

http://www.ibiblio.org/maven/maven/plugins/

a week or so ago which fixed many things.

-- 
Andy


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiproject dependencies

2003-09-09 Thread Nathan Coast
fyi, building from cvs fixes this problem.

Nathan Coast wrote:

:)

just tried using multiproject and it barfed with

maven-multiproject-plugin-1.0-SNAPSHOT/plugin.jelly:149:61:  This 
tag does not understand the 'name' attribute

I checked the jelly docs and set doesn't seem to take a name attribute.

I was using maven beta 10.  I'm rebuilding maven from cvs now to see if 
this makes a diference.

[EMAIL PROTECTED] wrote:

Well, yes, since it uses the reactor.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/
Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 02:54:58 PM:


Hi,

Does the multiproject plugin build dependent projects in the correct 
order (like the reactor does).

thanks
Nathan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: multiproject dependencies

2003-09-09 Thread Nathan Coast
:)

just tried using multiproject and it barfed with

maven-multiproject-plugin-1.0-SNAPSHOT/plugin.jelly:149:61:  This 
tag does not understand the 'name' attribute

I checked the jelly docs and set doesn't seem to take a name attribute.

I was using maven beta 10.  I'm rebuilding maven from cvs now to see if 
this makes a diference.

[EMAIL PROTECTED] wrote:

Well, yes, since it uses the reactor.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/
Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 02:54:58 PM:


Hi,

Does the multiproject plugin build dependent projects in the correct 
order (like the reactor does).

thanks
Nathan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: multiproject dependencies

2003-09-09 Thread dion
Well, yes, since it uses the reactor.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Nathan Coast <[EMAIL PROTECTED]> wrote on 10/09/2003 02:54:58 PM:

> Hi,
> 
> Does the multiproject plugin build dependent projects in the correct 
> order (like the reactor does).
> 
> thanks
> Nathan
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



multiproject dependencies

2003-09-09 Thread Nathan Coast
Hi,

Does the multiproject plugin build dependent projects in the correct 
order (like the reactor does).

thanks
Nathan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]