On Fri, Aug 17, 2007 at 09:19:12AM -0500, Wayne Fay spake thus:
> I don't use the SAR plugin but I think I understand the error
> message... It looks like your dependencies define the sar as
> <packaging>jboss-sar without a classifier... and then your EAR
> configuration says <classifier>jboss-sar without a packaging.
> 
> I'd assume one of those is wrong. My guess would be to change
> <classifier> to <packaging>.
> 
> Wayne
[...]

My recent experience with the jboss-packaging-maven-plugin confirms
Wayne's suspicion. In my particular case, simply omitting the
'classfier' element from the EJB <SarModule> solved the problem.

> 
> On 8/16/07, Steve Dobson <[EMAIL PROTECTED]> wrote:
[...]
> > However it builds just fine if I remove the SAR information.  What am I
> > doing wrong?
[...]
> >         <dependency>
> >            <groupId>uk.org.syscall.pugwash</groupId>
> >            <artifactId>pugwash-sar</artifactId>
> >            <version>2.0</version>
> >            <type>jboss-sar</type>
> >         </dependency>
[...]

That's fine as is.

> >             <sarModule>
> >                     <groupId>uk.org.syscall.pugwash</groupId>
> >                     <artifactId>pugwash-sar</artifactId>
> >               <classifier>jboss-sar</classifier>
> >                   </sarModule>

Try this, instead:

    <sarModule>
      <groupId>uk.org.syscall.pugwash</groupId>
      <artifactId>pugwash-sar</artifactId>
    </sarModule>

HTH,
-Al

-- 
:: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
::
Alan D. Salewski
Software Developer
Health Market Science, Inc.
:: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
:: 

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

Reply via email to