Actually, took anther look. What you want to achieve isn't possible.
-----Original Message-----
From: Walsh, Richard (Richard)
Sent: 07 September 2005 11:48
To: Maven Users List
Subject: RE: Memo: RE: Cyclic dependency
This is supported.
Each project has a project.xml file. This file has a few attributes that
you can set
<artifactId>NameOfTheJarFileThatThisProjectWillCreate</artifactId>
<groupId>NameOfTheDirectoryInTheRepoThatThisJarFileWillBeCopiedTo</group
Id>
<currentVersion>TheVersionOfTheJarFile</currentVersion>
- so set the following at the top of the project.xml.
\ProjectA\project.xml -
<artifactId>ProjectA</artifactId>
<groupId>projecta</groupId>
<currentVersion>1.0</currentVersion>
Once projectA is built by maven it will copy a Jar called ProjectA.jar
into repo/projecta/ directory.
In Project B set a dependency up on ProjectA as follows.
<dependency>
<groupId>projecta</groupId>
<artifactId>ProjectA</artifactId>
<jar>ProjectA.jar</jar>
</dependency>
This way project B is dependent on project A. Follow this for all the
rest.
Later,
Richie.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 07 September 2005 11:37
To: Maven Users List
Subject: Memo: RE: Cyclic dependency
What I mean is :
Project A
Project B depends on A
Project C depends on B
Project A depends on C
Is this supported ? If yes, then how ?
Nehal
"Walsh, Richard \(Richard\)" <[EMAIL PROTECTED]> on 07 Sep 2005
16:04
To: "Maven Users List" <[email protected]>
cc:
Our Ref: Your Ref:
Subject: RE: Cyclic dependency
Can you elaborate further.
What maven defiantly does support is for example.
Project A
Project B depends on A
Project C depends on B
In this case you can set up maven to build A first then B and then C
using the project.xml. Is this what you mean ?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 07 September 2005 11:30
To: [email protected]
Subject: Cyclic dependency
Hi,
Do Maven support cyclic dependencies among multiple project ?
Regards,
Nehal
************************************************************
HSBC Software Development (India) Pvt Ltd HSBC Center, Riverside, West
Avenue, 25-B Raheja Woods, Kalyani Nagar, Pune 411006.
Telephone: +91 20 26683000
Fax: +91 20 26681030
************************************************************
-----------------------------------------
***********************************************************************
This e-mail is confidential. It may also be legally privileged.
If you are not the addressee you may not copy, forward, disclose or use
any part of it. If you have received this message in error, please
delete it and all copies from your system and notify the sender
immediately by return e-mail.
Internet communications cannot be guaranteed to be timely, secure, error
or virus-free. The sender does not accept liability for any errors or
omissions.
***********************************************************************
---------------------------------------------------------------------
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]
************************************************************
HSBC Software Development (India) Pvt Ltd HSBC Center, Riverside, West
Avenue, 25-B Raheja Woods, Kalyani Nagar, Pune 411006.
Telephone: +91 20 26683000
Fax: +91 20 26681030
************************************************************
---------------------------------------------------------------------
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]