You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jblack <jb...@gestalt-llc.com> on 2007/12/21 21:28:51 UTC

[M2] find out the repository, groupid and artifactid for a jar

Given a jar obtained from somewhere unknown, how can I best find out which
repository I need to include in the pom and the groupId and artifactId for
the proper maven version of that jar?

At some point, I think I saw a website that allowed you to search for a jar
and it would search multiple repos (central, ibiblio, codehaus, sourceforge,
etc) and return that info to you.  Anyone heard of this before?

-- 
View this message in context: http://www.nabble.com/-M2--find-out-the-repository%2C-groupid-and-artifactid-for-a-jar-tp14461740s177p14461740.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] find out the repository, groupid and artifactid for a jar

Posted by nicolas de loof <ni...@apache.org>.
mvnrepository.com can search central based on artifactId / jar name

Check the java package used in your jar, and the MANIFEST file. They could
help you discover where it comes from, also with the version number. You may
then search for an existing artifact in central / ask the developers /
create an upload bundle to get it added to central.

Nico.


2007/12/21, jblack <jb...@gestalt-llc.com>:
>
>
> Given a jar obtained from somewhere unknown, how can I best find out which
> repository I need to include in the pom and the groupId and artifactId for
> the proper maven version of that jar?
>
> At some point, I think I saw a website that allowed you to search for a
> jar
> and it would search multiple repos (central, ibiblio, codehaus,
> sourceforge,
> etc) and return that info to you.  Anyone heard of this before?
>
> --
> View this message in context:
> http://www.nabble.com/-M2--find-out-the-repository%2C-groupid-and-artifactid-for-a-jar-tp14461740s177p14461740.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>