hi,

for now, i have been using ant to build my java program.

now i am trying to build it with maven.

i simply have a directory, witha a 'src' and a 'lib' subdirectory.
the source code is in 'src', the needed jar files are in 'lib'.

i understand that maven likes to do it the other way, so that i specify
the probablyopensource jars i want to use (xerces-4 or whatever), and he
will fetch them for me, but in my case, most of the jars can't be found
on the net (either in-house created jar libraries, or modified
opensource jars and so on).

i understand, that i could probably do the following:
create a subdirectory in my homedir/.maven, like 'fake/jars', put all
the jars here, and add a lot of these depencendy stuff into the project
xml.

but is this the only way???

i mean, for every jar file i have to add

   <dependency>
        <groupId>xyz</groupId>
        <artifactId>klm</artifactId>
        <version>1</version>
        <url>http://www.qwerty.com</url>
    </dependency>
?

or is it at least enough to say:
        <dependency><jar>mycustom.jar</jar></dependency>

?

or what should i do?

thanks,
gabor


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

Reply via email to