You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Thomas Jonsson <jo...@gmail.com> on 2008/10/08 08:27:10 UTC

Add directory to the classpath

Hi!

Is it possible to add a directory to the classpath with maven? To make
the directory as a jar artifact is not an option.
The background is that I'm managing a seam project using maven, and in
the test phase, a "bootstrap directory" must be on the classpath ,
otherwise the jboss embedded application server can't start. Any
ideas?

Best regards,
Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Add directory to the classpath

Posted by Jeff MAURY <je...@jeffmaury.com>.
In the Maven way of life, the classpath is managed through the dependencies
mecanism. So I would say no.
Regarding you case, I think this is a problem regarding the way you run
JBoss with Maven. So you should look at the cargo maven plugin or, but I
don't know if such a plugin exists, the JBoss maven plugin.

Regards
Jeff MAURY

On Wed, Oct 8, 2008 at 8:27 AM, Thomas Jonsson <jo...@gmail.com>wrote:

> Hi!
>
> Is it possible to add a directory to the classpath with maven? To make
> the directory as a jar artifact is not an option.
> The background is that I'm managing a seam project using maven, and in
> the test phase, a "bootstrap directory" must be on the classpath ,
> otherwise the jboss embedded application server can't start. Any
> ideas?
>
> Best regards,
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.lastfm.fr/listen/user/jeffmaury/personal
Mes CDs à récupérer:
http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTA&hl=en