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 repository with maven standard tree structrur
GROUIDYOUDEFINE/ARTIFACTIDYOUDEFINE/YOUVERSION/ServletPortlet.jar
~/ServletPortlet.pom

You must declare your jar as dependency inside your project pom file.
If this command needs a project with pomfile
Create a directory and copy in your jar create a simple pom.xml file
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>GROUIDYOUDEFINE </groupId>
  <artifactId>ARTIFACTIDYOUDEFINE  </artifactId>
  <name>Clover</name>
  <version>YOUVERSION </version>
</project>
and run the above command.
Tom.

2006/2/24, Srikanth Reddy <[EMAIL PROTECTED]>:
> 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 by providing 
> that info in <dependency></dependency> in pom.xml right.
>
>   Can u plz let me know how to compile my project by specifing 
> ServletPortal.jar externally or any other way by which I can compiling my 
> project
>
>   Regards
>   Srikanth Reddy
>
>
> ---------------------------------
>  Jiyo cricket on Yahoo! India cricket
> Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to