You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Phil Gibbs <ra...@bellsouth.net> on 2008/01/17 17:50:06 UTC

JAR file not being deployed during install

Probably a basic question.  I'm trying to ensure that a specific jar file is
added to the /WEB-INF/lib folder of a WAR file.  The jar in question is on
my local machine, and is not required to build the app.  It is only required
at runtime.  I've specified a dependency in the pom by naming a groupid,
artifactid, version and scope and I've added the jar to my local Maven
repository with a folder structure consistent with the groupid, artifactid
and version.  The install plugin chokes when it tries to process this
dependency in the pom.  What am I not doing, or doing incorrectly?  BTW: The
jar file is not in any remote repository as far as I know.
-- 
View this message in context: http://www.nabble.com/JAR-file-not-being-deployed-during-install-tp14924053s177p14924053.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: JAR file not being deployed during install

Posted by Phil Gibbs <ra...@bellsouth.net>.
Thank you.

Jeff MAURY wrote:
> 
> you must install your jar in your local repository with the install plugin
> and not by copying it manually into the folder structure.
> 
> Jeff
> 
> 
> On Jan 17, 2008 5:50 PM, Phil Gibbs <ra...@bellsouth.net> wrote:
> 
>>
>> Probably a basic question.  I'm trying to ensure that a specific jar file
>> is
>> added to the /WEB-INF/lib folder of a WAR file.  The jar in question is
>> on
>> my local machine, and is not required to build the app.  It is only
>> required
>> at runtime.  I've specified a dependency in the pom by naming a groupid,
>> artifactid, version and scope and I've added the jar to my local Maven
>> repository with a folder structure consistent with the groupid,
>> artifactid
>> and version.  The install plugin chokes when it tries to process this
>> dependency in the pom.  What am I not doing, or doing incorrectly?  BTW:
>> The
>> jar file is not in any remote repository as far as I know.
>> --
>> View this message in context:
>> http://www.nabble.com/JAR-file-not-being-deployed-during-install-tp14924053s177p14924053.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/JAR-file-not-being-deployed-during-install-tp14924053s177p14926354.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: JAR file not being deployed during install

Posted by Jeff MAURY <je...@jeffmaury.com>.
you must install your jar in your local repository with the install plugin
and not by copying it manually into the folder structure.

Jeff


On Jan 17, 2008 5:50 PM, Phil Gibbs <ra...@bellsouth.net> wrote:

>
> Probably a basic question.  I'm trying to ensure that a specific jar file
> is
> added to the /WEB-INF/lib folder of a WAR file.  The jar in question is on
> my local machine, and is not required to build the app.  It is only
> required
> at runtime.  I've specified a dependency in the pom by naming a groupid,
> artifactid, version and scope and I've added the jar to my local Maven
> repository with a folder structure consistent with the groupid, artifactid
> and version.  The install plugin chokes when it tries to process this
> dependency in the pom.  What am I not doing, or doing incorrectly?  BTW:
> The
> jar file is not in any remote repository as far as I know.
> --
> View this message in context:
> http://www.nabble.com/JAR-file-not-being-deployed-during-install-tp14924053s177p14924053.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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