On Tue, 2003-01-07 at 05:29, Michal Maczka wrote:
> Is it possible to set dependency on ejb-jar in new snapshot of maven?
> 
> I tried something like 
>   
>     <dependency>
>       <groupId>mygroup</groupId>     
>       <id>myejbjar</id>
>       <type>ejb</type>
>       <version>1.0.0</version>
>      </dependency> 
> 
> 
> and it seems that maven is searching for it in:
> 
> ${local.repo}/mygroup/ejbs/myejbjar-1.0.0.ejb 
> 
> 
> So basically artifact type is used for two different things:
> 1. specifying directory where artifact is stored
> (${local.repo}/{$artifactname}/${type}s)
> 2. specifying the extension of the file
> 
> So how to set dependency on ejb-jar which has extension '.jar' and is of
> type 'ejb'?

That is not possible, if what you have is packed in a JAR then it is a
JAR artifact. If what you have is packed in a WAR it's a WAR archive and
so on.

What are you trying to do exactly?

> Is it possible in any straightforward way without renaming the file by
> myself?
> 
> 
> Michal 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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

Reply via email to