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]