> -----Original Message----- > From: J�rg Schaible [mailto:[EMAIL PROTECTED] > Sent: Monday, February 02, 2004 10:18 AM > To: Maven Users List > Subject: RE: new idea on maven usage? > > > Hi Michal, > > Maczka Michal wrote on Monday, February 02, 2004 9:25 AM: > > I don't have much experience with native liblaries but I > > think that at least maven should be able to help people who > > are using liblaries like SWT (there is quite a lot of them). > > > > In maven-artifact I solved this problem by introducing special > > artifact type: "native" > > > > With possiblity of defining "repository layout" per both > > artifact type and platform in place type "native" > > can be mapped to following layouts: > > > > native=${groupId}/native/linux/${artifactId}-${version}.so > > > > or > > > > native=${groupId}/native/windows/${artifactId}-${version}.dll > > This will definately not work. You cannot rename the native > libraries!
You can. You are confusing naming convention used for versioning files in the repository with the usage of the artifacts outside the repository. Artifact kept in the repository don't necessarily need to be named in the same way when they are used by the applications/projects. Smart plugins can rename them if this will be needed >At least for Windows you will not even have the > possibility for a symlink. Have a look at Sun's jai. For > Windows they provide an executable and two different dlls. I > would propose something like > For me two different dlls = two different dependenies. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
