Re: how to use my own jar as dependencies

2006-03-10 Thread Tom Joad
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
 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

 Thanks,
 -Ashish

 --- Tom Joad [EMAIL PROTECTED] wrote:

  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
modelVersion4.0.0/modelVersion
groupIdGROUIDYOUDEFINE /groupId
artifactIdARTIFACTIDYOUDEFINE  /artifactId
nameClover/name
versionYOUVERSION /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]
 
 


 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com

 -
 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]



Re: how to use my own jar as dependencies

2006-03-09 Thread Ashish Srivastava
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

Thanks,
-Ashish

--- Tom Joad [EMAIL PROTECTED] wrote:

 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
   modelVersion4.0.0/modelVersion
   groupIdGROUIDYOUDEFINE /groupId
   artifactIdARTIFACTIDYOUDEFINE  /artifactId
   nameClover/name
   versionYOUVERSION /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]
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



how to use my own jar as dependencies

2006-02-24 Thread Srikanth Reddy
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.

RE: how to use my own jar as dependencies

2006-02-24 Thread Krishnan A S

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: 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 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.



**

The information contained in, or attached to, this e-mail, contains 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and is subject to legal privilege. If you 
have received this e-mail in error you should notify the sender immediately by 
reply e-mail, delete the message from your system and notify your system 
manager. Please do not copy it for any purpose, or disclose its contents to any 
other person. The views or opinions presented in this e-mail are solely those 
of the author and do not necessarily represent those of the company. The 
recipient should check this e-mail and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email



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



RE: how to use my own jar as dependencies

2006-02-24 Thread Srikanth Reddy
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 
  dependency
   groupIdlucene/groupId
   artifactIdlucene/artifactId
   version1.4.3/version
   scopecompile/scope
 /dependency
   but http://www.ibiblio.org/maven2  repositry dosen't contain struts-portlet 
jar


Krishnan A S [EMAIL PROTECTED] wrote:
  
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: 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 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 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.



**

The information contained in, or attached to, this e-mail, contains 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and is subject to legal privilege. If you 
have received this e-mail in error you should notify the sender immediately by 
reply e-mail, delete the message from your system and notify your system 
manager. Please do not copy it for any purpose, or disclose its contents to any 
other person. The views or opinions presented in this e-mail are solely those 
of the author and do not necessarily represent those of the company. The 
recipient should check this e-mail and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email



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




-
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

Re: how to use my own jar as dependencies

2006-02-24 Thread Tom Joad
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
  modelVersion4.0.0/modelVersion
  groupIdGROUIDYOUDEFINE /groupId
  artifactIdARTIFACTIDYOUDEFINE  /artifactId
  nameClover/name
  versionYOUVERSION /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]



RE: how to use my own jar as dependencies

2006-02-24 Thread Krishnan A S

Reddy you can look for the struts-portler.jar in some other repository
and that repository you may need to configure in your settings.xml and
then the dependency entry in pom.xml will look into the remote
repository automatically.

Refer this site: http://maven.apache.org/
For more info on maven :)

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-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
  dependency
   groupIdlucene/groupId
   artifactIdlucene/artifactId
   version1.4.3/version
   scopecompile/scope
 /dependency
   but http://www.ibiblio.org/maven2  repositry dosen't contain
struts-portlet jar


Krishnan A S [EMAIL PROTECTED] wrote:
 
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: 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 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 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.



**

The information contained in, or attached to, this e-mail, contains
confidential information and is intended solely for the use of the
individual or entity to whom they are addressed and is subject to legal
privilege. If you have received this e-mail in error you should notify
the sender immediately by reply e-mail, delete the message from your
system and notify your system manager. Please do not copy it for any
purpose, or disclose its contents to any other person. The views or
opinions presented in this e-mail are solely those of the author and do
not necessarily represent those of the company. The recipient should
check this e-mail and any attachments for the presence of viruses. The
company accepts no liability for any damage caused, directly or
indirectly, by any virus transmitted in this email



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




-
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.



**

The information contained in, or attached to, this e-mail, contains 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and is subject to legal privilege. If you 
have received this e-mail in error you should notify the sender immediately by 
reply e-mail, delete the message from your system and notify your system 
manager. Please do not copy it for any purpose, or disclose its contents to any 
other person. The views or opinions presented in this e-mail are solely those 
of the author and do not necessarily represent those of the company. The 
recipient should check this e-mail and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email



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