maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krikor Krumlian <>
Subject jars that are not in maven repository and how to deal with them
Date Wed, 16 Nov 2005 20:44:43 GMT
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 - 

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] Building Online Ingestor
[INFO]    task-segment: [compile]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] Unable to get resource from repository central (http://
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] Total time: 24 seconds
[INFO] Finished at: Wed Nov 16 10:57:10 EST 2005
[INFO] Final Memory: 3M/6M

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


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:
For additional commands, e-mail:

View raw message