On 31 May 2006 at 17:38, Tim Kettler wrote:

The difference between bundling an ejb jar (dependency handling is done
automatically by maven) and a rar (I have to do some more work in the poms, as 
suggested
by you and Roland) in an ear lead to some obscurities on my side.

>> Wouldn't it be nice to have some option? Or wouldn't it be enough to say if
>> I specify manifest classpath entries, I can leave out the dependencies from
>> the rar archive?
>
> Can you elaborate on this a bit more? This isn't entirely clear to me.
>
>>

Therefore I thought about some option:
a)
<plugin>
  <artifactId>maven-rar-plugin</artifactId>
     <configuration>
        <includeDependencies>false</includeDependencies>
    </configuration>
</plugin>

or some implicit check
b) if I add a classpath configuration like
<configuration>
      <archive>
         <manifest>
           <addClasspath>true</addClasspath>
           <classpathPrefix>APP-INF/lib</classpathPrefix>
        </manifest>
     </archive>
</configuration>
then there is no need to bundle the dependend jars, because they will be bundled
later in the ear.

a) is clearer

But it's only an idea.
regards, carsten

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

Reply via email to