You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ami mehta <am...@yahoo.com> on 2004/02/03 17:29:33 UTC

version problem

I have a directory structure

project
    |_src
    |   |_subproject1
    |   |    |_1.0
    |   |    |  |_project.xml
    |   |    |  |_maven.xml
    |   |    |     
    |   |    |_1.3 
    |   |       |_project.xml
    |   |       |_maven.xml
    |   |           
    |   |_subproject2 
    |         |_1.0
    |         |
    |         |_1.2 
    | 
    |_project.xml
    |_maven.xml

  
>From the project directory using reactor i call a
target call "build" which is present in all the
subproject version direcotries. However it just builds
one version of the subproject not both. for e.g it
just builds version1.0 of subproject1 and version1.0
of subproject2. 
Does maven when building differentiate between the
versions or just sees the id. How do i get other
versions in a subproject to build....


Thanks
Ami



	
	
		
___________________________________________________________
BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk

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


Re: version problem

Posted by Jason van Zyl <jv...@maven.org>.
On Tue, 2004-02-03 at 11:29, ami mehta wrote:
> I have a directory structure
> 
> project
>     |_src
>     |   |_subproject1
>     |   |    |_1.0
>     |   |    |  |_project.xml
>     |   |    |  |_maven.xml
>     |   |    |     
>     |   |    |_1.3 
>     |   |       |_project.xml
>     |   |       |_maven.xml
>     |   |           
>     |   |_subproject2 
>     |         |_1.0
>     |         |
>     |         |_1.2 
>     | 
>     |_project.xml
>     |_maven.xml
> 
>   
> >From the project directory using reactor i call a
> target call "build" which is present in all the
> subproject version direcotries. However it just builds
> one version of the subproject not both. for e.g it
> just builds version1.0 of subproject1 and version1.0
> of subproject2. 
> Does maven when building differentiate between the
> versions or just sees the id. How do i get other
> versions in a subproject to build....

The current version of maven considers the id to be groupId+artifactId
so it will only build one of them. This will be rectified in the future
where the type and version will be taken into consideration. It's a
known issue.

> 
> Thanks
> Ami
> 
> 
> 
> 	
> 	
> 		
> ___________________________________________________________
> BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

-- 
jvz.

Jason van Zyl
jason@maven.org
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


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