You can use the install:install-file goal of maven to intall jars to local repository such as : ______________________________________________________________________________ mvn install:install-file -DgroupId=<group-id> -DartifactId=<artifact-id>-Dversion= <version> -Dfile=<path-to-file> -Dpackaging=jar -DgeneratePom=true ______________________________________________________________________________ and this command will generating the pom and signature of your jar automatically.
2006/1/19, Mick Knutson <[EMAIL PROTECTED]>: > > Ok, The reason I want is this. > I have a project that ahs many modules and jars, included into 1 ear. > I want to run idea:idea to create my Intellij project, but it is looking > into ibbiblio for my common.jar etc.... > > So I am assuming that I need to install my jars into my repository right? > > > -------------------------------------------------------------------------------- > Thanks > Mick Knutson > > http://www.BASELogic.com > http://www.MickKnutson.com > > MSN Messenger: [EMAIL PROTECTED] > > > -------------------------------------------------------------------------------- > > ----- Original Message ----- > From: "Maria Odea Ching" <[EMAIL PROTECTED]> > To: "Maven Users List" <[email protected]> > Sent: Wednesday, January 18, 2006 5:54 PM > Subject: Re: [m2] want advance about setting up multiple > > > > Hi Mick, > > > > You don't have to specify your local repository and the ibiblio > repository > > in your pom. > > Maven automatically checks your local repository first, then the central > > repository (ibiblio) last. > > > > Thanks, > > Odea > > > > Mick Knutson wrote: > > > >>I want to setup my local repository as my initial, then ibbiblio as the > >>secondary repository. > >>How do I do this?: > >> > >> > >> <repository> > >> <id>central</id> > >> <name>Maven Repository Switchboard</name> > >> <layout>default</layout> > >> <url>C:\\Documents and > Settings\\Owner\\.m2\\repository</url> > >> > >> <snapshots> > >> <enabled>false</enabled> > >> </snapshots> > >> </repository> > >> <repository> > >> <id>backup</id> > >> <name>Maven Repository Switchboard</name> > >> <layout>default</layout> > >> <url>http://repo1.maven.org/maven2</url> > >> > >> <snapshots> > >> <enabled>false</enabled> > >> </snapshots> > >> </repository> > >> > >> > >>?????? > >> > >> > >> > > >>-------------------------------------------------------------------------------- > >>Thanks > >>Mick Knutson > >> > >>http://www.BASELogic.com > >>http://www.MickKnutson.com > >> > >>MSN Messenger: [EMAIL PROTECTED] > >> > > >>-------------------------------------------------------------------------------- > >> > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
