maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Taylor <jontay...@gmail.com>
Subject Re: multiproject
Date Wed, 06 Apr 2005 12:26:02 GMT
Hi Bahaa - it looks like you haven't defined the <version> of the jar 
file that you're dependent on.
Regards,
John

Bahaa Nasrallah wrote:

>Thanks Christian,
>I have problem, when i run maven i get 
>(Attempting to downlaod A-.jar
>Error retrieving artifact from [http://www.ibiblio.org/maven/A/jars/A-.jars)
>
>A.jar should be created during the build and not before it!
>do you have any suggestions?
>
>Thanks in advance
>
>
>On Apr 6, 2005 12:36 PM, Christian.Heine@bg-phoenics.de
><Christian.Heine@bg-phoenics.de> wrote:
>  
>
>>Hi,
>>
>>this is easy with maven. To do that, you must define a reactor and
>>dependencies in each project descriptor depends on the pom source
>>of the other project source results:
>>
>>A:  <dependency>
>>     <groupId>${pom.groupId}</groupId>
>>     <artifactId>B</artifactId>
>>     <version>${pom.currentVersion}</version>
>>     <type>jar</type>
>>   </dependency>
>>
>>   <dependency>
>>     <groupId>${pom.groupId}</groupId>
>>     <artifactId>C</artifactId>
>>     <version>${pom.currentVersion}</version>
>>     <type>jar</type>
>>   </dependency>
>>
>>When you use it, the reactor checks each dependency in the project
>>descriptors (A,B,C) and determines the build order dynamicly. For
>>better understanding of these concepts you should read:
>>
>>http://www.theserverside.com/articles/article.tss?l=MavenMagic
>>
>>Bye,
>>Chrisitan
>>
>>
>>    
>>
>>>Hi,
>>>I have a main project A that depends on subprojects B and C.
>>>A needs B and C as jar dependencies to be built so B and C must be
>>>compiled and jared and then to compile A.
>>>how can i perform that order with multiproject goal? how can i refer
>>>to B and C as depndencies in the project.xml of A ?
>>>which properties to set?
>>>      
>>>
>>>thanks in advance,
>>>Bahaa
>>>      
>>>
>>BG-PHOENICS GMBH
>>IT-EW / DS
>>Thurnithistr.16
>>30519 Hannover
>>Telefon: 0511-987-1248
>>
>>mailto: Christian.Heine@bg-phoenics.de
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message