Re: [m2] multiproject and dependency management.

2005-10-26 Thread Miks Rozenbergs

Brett Porter wrote:

This mode is not currently avilable (only binary, or from source in
your current source tree). It's a good feature request though, if
someone would like to file it in JIRA and vote


Here you are -- http://jira.codehaus.org/browse/MNG-1326. However this 
is my first file on JIRA, so I might have missed something. And I also 
do not know how to initiate voting.




- Brett

On 10/21/05, Miks Rozenbergs [EMAIL PROTECTED] wrote:

Sridhar Radhakrishnan wrote:


2)  Is that functionality in place such that I could get project B as
either a binary or as source from cvs and then build it?




Maven gets the dependent jar from the remote/local repositories. You
would have to define your remote repository(cvs) and specify the type
for the same

I was under impression that repository contains binary artifact. What
exactly I should be putting in pom.xml to make Maven2 to actually
download source from CVS and compile it?

Regards,
Miks Rozenbergs


-
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] multiproject and dependency management.

2005-10-21 Thread Miks Rozenbergs

Sridhar Radhakrishnan wrote:


2)  Is that functionality in place such that I could get project B as
either a binary or as source from cvs and then build it?

 

Maven gets the dependent jar from the remote/local repositories. You 
would have to define your remote repository(cvs) and specify the type 
for the same


I was under impression that repository contains binary artifact. What 
exactly I should be putting in pom.xml to make Maven2 to actually 
download source from CVS and compile it?


Regards,
Miks Rozenbergs


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



Re: [m2] multiproject and dependency management.

2005-10-21 Thread Brett Porter
This mode is not currently avilable (only binary, or from source in
your current source tree). It's a good feature request though, if
someone would like to file it in JIRA and vote

- Brett

On 10/21/05, Miks Rozenbergs [EMAIL PROTECTED] wrote:
 Sridhar Radhakrishnan wrote:

  2)  Is that functionality in place such that I could get project B as
  either a binary or as source from cvs and then build it?
 
 
 
  Maven gets the dependent jar from the remote/local repositories. You
  would have to define your remote repository(cvs) and specify the type
  for the same

 I was under impression that repository contains binary artifact. What
 exactly I should be putting in pom.xml to make Maven2 to actually
 download source from CVS and compile it?

 Regards,
 Miks Rozenbergs


 -
 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] multiproject and dependency management.

2005-10-20 Thread Sridhar Radhakrishnan



I have two projects, project A and B where project A depends on project
B.

1)  How is this represented in the pom.xml?  Would project B considered
a module in this case or an actual dependency?
 


In Project A's pom.xml, you would need something like this...

dependencies
   dependency
   groupIdfoo/groupId
   artifactIdB/artifactId
   version1.0-SNAPSHOT/version
   typejar/type
   scopeprovided/scope
   /dependency
dependencies


2)  Is that functionality in place such that I could get project B as
either a binary or as source from cvs and then build it?

 

Maven gets the dependent jar from the remote/local repositories. You 
would have to define your remote repository(cvs) and specify the type 
for the same



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