Dear
 the version can ideentify the folder!!





thanks.
Tel: (020)36315358-328 Fax: (020)36315170


                                                                                
                                                       
                      Krikor Krumlian                                           
                                                       
                      <krikor_krumlian@        To:       Maven Users List 
<[email protected]>                                     
                      wgbh.org>                cc:                              
                                                       
                                               Subject:  jars that are not in 
maven repository and how to deal with them               
                      17/11/2005 04:44                                          
                                                       
                      Please respond to                                         
                                                       
                      "Maven Users                                              
                                                       
                      List"                                                     
                                                       
                                                                                
                                                       
                                                                                
                                                       




Ok guys here is the deal -

Now I have a jar file called db2xml.jar - and this needs to go in my
repository. So i executed the following command

mvn install:install-file -Dfile=/Users/greg/.maven/repository/db2xml/
jars/db2xml.jar -DgroupId=db2xml -DartifactId=db2xml -Dversion=1.4 -
Dpackaging=jar

Ok now that is very good it added all the stuff to the repository
now i go to compile and i get the following

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Online Ingestor
[INFO]    task-segment: [compile]
[INFO]
------------------------------------------------------------------------
----
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://repo1.maven.org/maven2/db2xml/db2xml/1.4/
db2xml-1.4.pom
[WARNING] Unable to get resource from repository central (http://
repo1.maven.org/maven2)
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO]
------------------------------------------------------------------------
----
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
----
[INFO] Total time: 24 seconds
[INFO] Finished at: Wed Nov 16 10:57:10 EST 2005
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------
----

So i go to the ./m2/repository/db2xml/db2xml/1.4 and create a
db2xml-1.4.pom with the following content


<project>
   <modelVersion>4.0.0</modelVersion>
   <groupId>db2xml</groupId>
   <artifactId>db2xml</artifactId>
   <version>1.4</version>
</project>

Now i compile and I dont get that message which is beautiful . But my
question do i Have to do the same for
each jar that is not in the maven 2 repository ?

Thank you

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


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________



Hactl..........Moving forward with you.

Best Air Cargo Terminal - Asia 2005
Air Cargo Terminal of the Year 2002, 2003 & 2004

Web: http://www.hactl.com

DISCLAIMER :-
The information contained in this message, including any attachment, is
confidential and may also be privileged. The information is intended only
for the person or entity to which it is addressed. Any review,
re-transmission, copying, storage, distribution or other use or disclosure
of this information by persons or entities other than the intended
recipient is prohibited. If you are not the intended recipient, please
contact the sender immediately by return email and delete this message from
your system. Thank you.




______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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

Reply via email to