Thanks, I hadn't tried that.  I found a
patch<http://jira.codehaus.org/browse/MASPECTJ-9>for the aspectj
plugin that allows the use of .class directories.

Lee

On Sun, Apr 26, 2009 at 2:58 PM, Martin Gainty <mgai...@hotmail.com> wrote:

>
> Lee
> did you try to put the root folder of .classes in classpathPrefix element
> e.g.
>  <build>
>    <plugins>
>      <plugin>
>         <artifactId>maven-war-plugin</artifactId>
>         <configuration>
>           <archive>
>             <manifest>
>               <addClasspath>true</addClasspath>
>               <classpathPrefix>lib/</classpathPrefix>
>             </manifest>
>           </archive>
>         </configuration>
>      </plugin>
>    </plugins>
>  </build>
> HTH
> Martin
> ______________________________________________
> Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note
> de déni et de confidentialité
> This message is confidential. If you should not be the intended receiver,
> then we ask politely to report. Each unauthorized forwarding or
> manufacturing of a copy is inadmissible. This message serves only for the
> exchange of information and has no legal binding effect. Due to the easy
> manipulation of emails we cannot take responsibility over the the contents.
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
>
>
> > Date: Sun, 26 Apr 2009 11:18:15 -0700
> > Subject: systemPath for directories not jars
> > From: leemighd...@gmail.com
> > To: users@maven.apache.org
> >
> > I'd like to specify a directory of .class files instead of a jar with
> > systemPath.  Is there any way to do this?
> >
> > 1) It would be convenient during development not to have to create a jar
> of
> > a closely related project
> > 2) It might help work around a problem with the maven aspectj plugin,
> which
> > afaik will weave compiled classes only when they're specified as a
> > dependencies.
> >
> > Lee
>
> _________________________________________________________________
> Windows Live™ Hotmail®:…more than just e-mail.
> http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_more_042009
>

Reply via email to