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?
project
modelVersion4.0.0/modelVersion
groupIdGROUIDYOUDEFINE /groupId
artifactIdARTIFACTIDYOUDEFINE /artifactId
versionYOUVERSION /version
/project
Hi,
I am new to maven environment i started intigrating an already existing
project with maven, i have to use ServletPortlet jar in one of the files but
http://www.ibiblio.org/maven2 dosent have any thing by which i could map to
that repositry and download that jar into my local repository
: Srikanth Reddy [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 6:24 PM
To: users@maven.apache.org
Subject: how to use my own jar as dependencies
Hi,
I am new to maven environment i started intigrating an already
existing project with maven, i have to use ServletPortlet jar in one of
the files
@maven.apache.org
Subject: how to use my own jar as dependencies
Hi,
I am new to maven environment i started intigrating an already
existing project with maven, i have to use ServletPortlet jar in one of
the files but
http://www.ibiblio.org/maven2 dosent have any thing by which i could
map
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
:)
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 struts