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
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
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
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
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
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.
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
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
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
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
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
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
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
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
[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.
> >
> >
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
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
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
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
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
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
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?
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
> 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
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
'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
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
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.
>
>
> --
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.
-
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
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
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
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
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
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.
>> >
>> >
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
36 matches
Mail list logo