Hi
To run install:install-file you don't need to create pomfile. Sorry
.Gautham is wright.
you can run directly the command i gave you under your directory.
So you can use the jar as a dependency .
Tom.
2006/3/9, Ashish Srivastava <[EMAIL PROTECTED]>:
> Thanks Tom. Where do I need to create the
>
Thanks Tom. Where do I need to create the
library-version.pom file?
If say I have a a.jar file in "lib/" where to put the
following in?
4.0.0
GROUIDYOUDEFINE
ARTIFACTIDYOUDEFINE
YOUVERSION
Thanks,
-Ashish
--- Tom Joad <[EMAIL PROTECTED]> wrote:
> You can install your jar in y
:)
Thanks & Regards,
A.S.KRISHNAN,
AZTEC, BANGALORE.
-Original Message-
From: Srikanth Reddy [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 6:56 PM
To: Maven Users List
Subject: RE: how to use my own jar as dependencies
Thanks Krishna for ur reply but i have to include st
You can install your jar in your local repository.
Run command
mvn -e -X install:install-file -Dfile=(Relative or absolute
path)ServletPortlet .jar -Dversion=YOUVERSION
-Dartifactid=ARTIFACTIDYOUDEFINE -DgroupId=GROUIDYOUDEFINE
-Dpackaging=jar -Dgeneratepom=true
It's install your local repositor
Thanks Krishna for ur reply but i have to include struts-portlet-01.jar into my
project but i haven't found that jar in the http://www.ibiblio.org/maven2 i am
comfortably able to include lucen as u said by specifing
groupid,artifactid,version and scope
lucene
lucene
1.4.3
compile
If you have configured your groupId, artifactId, version and scope (as
compile) it will automatically download to your local repo.
You need to configure your remote repository in your
HOME_DIR/settings.xml
Thanks & Regards,
A.S.KRISHNAN,
AZTEC, BANGALORE.
-Original Message-
From: Srikan