Ok, so if understand this correctly I can give it any groupId ArtifctId that
I choose regardless of the file  name.  Once deployed with those
coordinates, then that's what I use to declare the dependencies.....

Sonia



Stephen Connolly-2 wrote:
> 
> If they already exist in a maven repo... you could use that (provided it
> is
> not a short groupId... so if it was www.somecompany.org that you got the
> files you could use the groupId of "com.somecompany")
> 
> If you are unsure in any way... you could use your groupId to ensure that
> it
> is these exact jars that are used... i.e. "com.ericsson.ncl"
> 
> If you are bored you could crack-open the jar files and see what the
> common
> package root is and use that
> 
> -Stephen
> 
> 2008/10/2 solo1970 <[EMAIL PROTECTED]>
> 
>>
>> Hello,
>>
>> I am fairly new to Maven and Archiva and would like some help on two
>> issues
>> both related to the same problem.
>>
>> We have to use 2 jar files: nclmsg.public.jar and nclutil.public.jar
>> provided to us by A third party (we need for compile and packaging (war))
>>
>> 1. In order to use them, I want to do a mvn deploy:deploy-file to our
>> repository, which is Archiva
>>
>> 2. How do we figure out the groupId, artifactId and version of those
>> jars...
>> I searched the different repositories on the net, but didn't find
>> anything,
>> probably because they were provided to us.
>>
>> mvn deploy:deploy-file -Dfile=nclmsg.public.jar -DgroupId=???
>> -DartifactId=??? -Dversion=???? -Dpackaging=jar -DgeneratePom=true
>> -DcreateChecksum=true -DrepositoryId=3pp_cache
>> -Durl=dav:http://maven.xxxx.se:8888/repository/3pp_cache
>>
>> Can anyone help clarify this for me???
>>
>> Sonia
>> --
>> View this message in context:
>> http://www.nabble.com/Determining-jar-groupId-ArtifactId-for-deploy-file-tp19781489p19781489.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Determining-jar-groupId-ArtifactId-for-deploy-file-tp19781489p19785329.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to