You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Krishnamurthi, Venkat " <ve...@citi.com> on 2008/03/06 17:22:18 UTC

Installing multiple files in the local repository using mvn install?

 
Hi,

Is there a way to install multiple jars in the local repository using
the mvn install:install-file command?

Thanks,
Venkat



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


Re: Installing multiple files in the local repository using mvn install?

Posted by Jeff MAURY <je...@jeffmaury.com>.
The general principle behinh Maven is one project = one file produced.
However, there are some rares cases that go beyond this point : in that
case, you can use the Maven build helper plugin to attach new artifacts to
the main artifact and both will be installed: see
http://mojo.codehaus.org/build-helper-maven-plugin

Jeff MAURY

On Thu, Mar 6, 2008 at 5:41 PM, Stephen Connolly <
stephen.alan.connolly@gmail.com> wrote:

> I've heard rumours about something called "shell scripts" or "batch
> files".
>
> According to the speculation that I've seen about these things, they would
> provide the ability you are looking for
>
> Unfortunately they are not XML files, so you have to learn a whole new
> syntax.
>
> Some of them start with "#!/bin/bash" while others start with "@echo off"
> and then they have a sort of stream of conciousness list of commands
>
> On Thu, Mar 6, 2008 at 4:22 PM, Krishnamurthi, Venkat <
> venkat.krishnamurthi@citi.com> wrote:
>
> >
> > Hi,
> >
> > Is there a way to install multiple jars in the local repository using
> > the mvn install:install-file command?
> >
> > Thanks,
> > Venkat
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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

Re: Installing multiple files in the local repository using mvn install?

Posted by Stephen Connolly <st...@gmail.com>.
I've heard rumours about something called "shell scripts" or "batch files".

According to the speculation that I've seen about these things, they would
provide the ability you are looking for

Unfortunately they are not XML files, so you have to learn a whole new
syntax.

Some of them start with "#!/bin/bash" while others start with "@echo off"
and then they have a sort of stream of conciousness list of commands

On Thu, Mar 6, 2008 at 4:22 PM, Krishnamurthi, Venkat <
venkat.krishnamurthi@citi.com> wrote:

>
> Hi,
>
> Is there a way to install multiple jars in the local repository using
> the mvn install:install-file command?
>
> Thanks,
> Venkat
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>