Cyclic dependency

2005-09-07 Thread nehalshah
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 2668

Cyclic dependency status

2007-08-28 Thread Adrian Gonzalez
Hello, I've read some post and cyclic dependency between maven artifacts is not supported for the moment i.e. artifact A depends on artifact B which depends on artifact A. I would like to know if something is planned about cyclic dependency support or will it never be managed by Maven ? M

Cyclic dependency problem

2007-08-28 Thread COPPENS, Fabien
for its build. In my CORE_A and CORE_B POM files, I have tried to avoid getting a cyclic dependency error in the build phase by : - using a client classifier for the depency of CORE to EJB client - using an exclusion e.g. for the pom.xml of the CORE_A project : com.acme EJB-B

RE: Cyclic dependency

2005-09-07 Thread Walsh, Richard \(Richard\)
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 11:30 To: users@maven.apache.org Subject: Cyclic dependency Hi, Do Maven support cyclic dependencies among multiple project ? Regards, Nehal HSBC Software Development

Re: Cyclic dependency status

2007-08-28 Thread Wayne Fay
I can't forsee Maven ever realistically making it possible/easy to introduce cyclical dependencies into your dependency graphs. This goes against the basic principles of the tool. Wayne On 8/28/07, Adrian Gonzalez <[EMAIL PROTECTED]> wrote: > Hello, > > I've read some p

RE: Cyclic dependency problem

2007-09-04 Thread COPPENS, Fabien
Any ideas ?? De : COPPENS, Fabien Envoyé : mardi 28 août 2007 17:32 À : 'users@maven.apache.org' Objet : Cyclic dependency problem Hi all. I have just joined the list, so please forgive me if the exact same question has already been posted.

Re: Cyclic dependency problem

2007-09-04 Thread Insitu
Hello, I would suggest breaking explicitly the dependency by creating separate projects for the ejbs and the pure java code they encapsulate and expose. HTH -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. \web> http://www.oqube.com

Re: Cyclic dependency problem

2007-09-04 Thread Tim Kettler
Hi, the excludes won't help here. Maven calculates the dependencies based on the projects in your reactor build. And as both, the main ejb-jar and the ejb-client-jar are built by the same project the cyclic dependency remains. Your best option is to factor out the exposed ejb interfac

Memo: RE: Cyclic dependency

2005-09-07 Thread nehalshah
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

Memo: RE: Cyclic dependency

2005-09-07 Thread nehalshah
Your Ref: Subject:RE: Cyclic dependency Hi Nehal, One of my friend have got an initial offer from HSBC Pune after 1year experince. On my friends' behalf, i am asking u for a help. Can u please share your views about work n wor

tricky cyclic dependency issue

2009-03-25 Thread Giovanni Azua
work because ProjectX-API already depends on ProjectX-TestCommon (to test the concrete Singletons and more) and Maven reports a cyclic dependency. I tried many alternatives e.g. exclusion (excluding ProjectX-API when ProjectX-API declares dependency on ProjectX-TestCommon), changing scope to

tricky cyclic dependency issue ...

2009-03-25 Thread Giovanni Azua
does not work because ProjectX-API already depends on ProjectX-TestCommon (to test the concrete Singletons and more) and Maven reports a cyclic dependency. I tried many alternatives e.g. exclusion (excluding ProjectX-API when ProjectX-API declares dependency on ProjectX-TestCommon), changing scope

tricky cyclic dependency issue ...

2009-03-25 Thread Giovanni Azua
already depends on ProjectX-TestCommon (to test the concrete Singletons and more) and Maven reports a cyclic dependency. I tried many alternatives e.g. exclusion (excluding ProjectX-API when ProjectX-API declares dependency on ProjectX-TestCommon), changing scope to provided, etc. Any other ideas how

tricky cyclic dependency issue ...

2009-03-25 Thread Giovanni Azua
because ProjectX-API already depends on ProjectX-TestCommon (to test the concrete Singletons and more) and Maven reports a cyclic dependency. I tried many alternatives e.g. exclusion (excluding ProjectX-API when ProjectX-API declares dependency on ProjectX-TestCommon), changing scope to provided, etc

RE : Re: Cyclic dependency status

2007-08-28 Thread Adrian Gonzalez
[EMAIL PROTECTED]> > wrote: > > Hello, > > > > I've read some post and cyclic dependency between > > maven artifacts is not supported for the moment > > i.e. artifact A depends on artifact B which > depends on > > artifact A. > > > >

Re: Memo: RE: Cyclic dependency

2005-09-07 Thread Kristian Nordal
oth A and C depend on in a separate project. -- Kristian Nehal "Walsh, Richard \(Richard\)" <[EMAIL PROTECTED]> on 07 Sep 2005 16:04 To:"Maven Users List" cc: Our Ref: Your Ref: Subject:RE: Cyclic dependency Can you

RE: Memo: RE: Cyclic dependency

2005-09-07 Thread Walsh, Richard \(Richard\)
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

RE: Memo: RE: Cyclic dependency

2005-09-07 Thread Walsh, Richard \(Richard\)
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

Re: Memo: RE: Cyclic dependency

2005-09-07 Thread eric . starr
ng eclipse. Eric [EMAIL PROTECTED] 09/07/2005 06:36 AM Please respond to "Maven Users List" To "Maven Users List" cc 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 thi

Memo: Re: RE: Cyclic dependency

2005-09-07 Thread nehalshah
Your Ref: Subject: Re: RE: Cyclic dependency I had a cyclical dependency issue and I had to bring the code all under one directory structure and work with it as one project. Sometimes development teams may try to create projects like this: projectA (business rules) p

Complex test cyclic dependency problem

2007-01-25 Thread andy law \(RI\)
All, I have some rather complex objects that need to be viewed at varying 'depths'. In fact, in many ways the entire database contains objects that are inter-related and I only want to be looking at a subset at any one time. This is causing me some grief in my module and testing layout. Let's ima

Re: tricky cyclic dependency issue ...

2009-03-25 Thread Edelson, Justin
Common (to test the concrete Singletons and more) and Maven reports a cyclic dependency. I tried many alternatives e.g. exclusion (excluding ProjectX-API when ProjectX-API declares dependency on ProjectX- TestCommon), changing scope to provided, etc. Any other ideas how to resolve this?

RE: Complex test cyclic dependency problem

2007-01-25 Thread Jörg Schaible
andy law (RI) wrote on Thursday, January 25, 2007 1:47 PM: [snip] > Has anyone else done anything as complex (read: STUPID) as > this and can > anyone suggest any sensible, practical solutions? Use a dynamic mock implementation like jMock. With the CGLIB extension you may even mock classes not

RE: Complex test cyclic dependency problem

2007-01-25 Thread Matthew . Pocock
> andy law (RI) wrote on Thursday, January 25, 2007 1:47 PM: > > [snip] > >> Has anyone else done anything as complex (read: STUPID) as >> this and can >> anyone suggest any sensible, practical solutions? > > Use a dynamic mock implementation like jMock. With the CGLIB extension you > may even mock

[m2] yet another cyclic dependency issue

2009-10-01 Thread Adrian Herscu
he generator before running the generator's test. Any "clean" way out of this cyclic dependency? TIA, Adrian. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Test scope to avoid cyclic dependency

2012-11-05 Thread zebahmad
'd prefer not calling two separate maven commands from two profiles to get coverage) -- View this message in context: http://maven.40175.n5.nabble.com/Test-scope-to-avoid-cyclic-dependency-tp5729481.html Sent from the Maven - Users mail

[m2] cyclic dependency created by build plugin?!

2007-06-10 Thread Adrian Herscu
depends on lang for testing 3) maven-lang-plugin -- contains a maven plugin for the "lang" compiler depends on lang-comp Trying to mvn install the root leads to a cyclic dependency error stating something like this: lang-comp --> lang --> maven-lang-plugin --> la

Re: [m2] yet another cyclic dependency issue

2009-10-01 Thread Stephen Connolly
ds on the "generator" for building > > I used to unpack the samples artifact into the target directory of the > generator before running the generator's test. > > Any "clean" way out of this cyclic dependency? > > TIA, > Adrian. > > > --

Re: [m2] yet another cyclic dependency issue

2009-10-01 Thread Adrian Herscu
nds on the "generator" for building I used to unpack the samples artifact into the target directory of the generator before running the generator's test. Any "clean" way out of this cyclic dependency? TIA, Adrian. -

[M2] cyclic dependency M2 'plugins' trunk between checkstyle and javadoc plugin.

2006-11-06 Thread Davy Toch
Hi, I rebuilt the M2 'core' trunk without a problem (2.1-SNAPSHOT). However, when trying to build the M2 'plugins' trunk afterwards (requires maven 2.1-SNAPSHOT), I get : $set M2_HOME=c:\devtools\src\m2\trunk\core\maven-cli\target\maven-2.1-SNAPSHOT-bin\maven-2.1-SNAPSHOT $cd c:\devtools\src\m

RE: [M2] cyclic dependency M2 'plugins' trunk between checkstyle andjavadoc plugin.

2006-11-06 Thread hermod.opstvedt
Hi I am having the same problem. Hermod -Original Message- From: Davy Toch [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 11:13 AM To: Maven Users List Subject: [M2] cyclic dependency M2 'plugins' trunk between checkstyle andjavadoc plugin. Hi, I rebuilt th

Maven cyclic dependency when compling tests only - how to resolve easily?

2012-06-08 Thread Ken E
on C to run its tests. Obviously, Maven is going to complain and say there is a cyclic dependency. Besides out-right fixing the code (which is sadly not going to happen on this project - it's tens of millions of lines), is there any way to tell Maven, "Please compile ALL of the main so

Re: Maven cyclic dependency when compling tests only - how to resolve easily?

2012-06-08 Thread Manfred Moser
Maven is going to > complain and say there is a cyclic dependency. > > Besides out-right fixing the code (which is sadly not going to happen on > this project - it's tens of millions of lines), is there any way to tell > Maven, "Please compile ALL of the main source code first

Re: Maven cyclic dependency when compling tests only - how to resolve easily?

2012-06-08 Thread Ken E
test code as they did with their main source code. > > > > For example, C depends on B, and B depends on A in the main source code. > > However, A depends on C to run its tests. Obviously, Maven is going to > > complain and say there is a cyclic dependency. > > > &g

Re: Maven cyclic dependency when compling tests only - how to resolve easily?

2012-06-09 Thread Anders Hammar
s tomcat plugin. >> > >> > The problem is with compiling the tests. >> > >> > Unfortunately, this company did not apply the same dependency >> restrictions >> > for their test code as they did with their main source code. >> > >> >

Re: Maven cyclic dependency when compling tests only - how to resolve easily?

2012-06-09 Thread Ken E
gt; The problem is with compiling the tests. > >> > > >> > Unfortunately, this company did not apply the same dependency > >> restrictions > >> > for their test code as they did with their main source code. > >> > > >> > For example, C depends