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'?

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]>

Reply via email to