You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stephen Boesch <ja...@gmail.com> on 2010/10/21 21:17:14 UTC

Newbie question: how to find a) latest version and b) repository given an artifactID

If I am looking for an artificat and have its artifactID and want to find
the versions available in public maven repos' (maven central, etc).   What
might be recommended way to do that?

Do I have to already know in advance which repo's to try?  E.g. maven
central, mvnrepository.com etc.   Or is there a better (more sane..) way to
do this?

Here's a specific case:  I am looking for gwt-servlet   I think the latest
version is 2.1.0-RC1.   But i have been going in circles trying to find out
where a mvn repo is for it.   This is however just the latest case: I have
been in this pattern of confusion for maven artifacts a number of times
already.

thanks

[eclipse:eclipse] AspectJ Dependencies Not Added to Classpath

Posted by Ole Ersoy <ol...@gmail.com>.
Hi,

When I run eclipse:eclipse the following two dependencies do not get added to the classpath.

		<dependency>
			<groupId>org.aspectj</groupId>
			<artifactId>aspectjrt</artifactId>
			<version>1.5.4</version>
		</dependency>

		<dependency>
			<groupId>org.aspectj</groupId>
			<artifactId>aspectjweaver</artifactId>
			<version>1.5.4</version>
		</dependency>

Any ideas on how to fix this.  I added them manually, but it would be great if there was a "Maven" way.

TIA,
- Ole




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


Re: Newbie question: how to find a) latest version and b) repository given an artifactID

Posted by Nick Stolwijk <ni...@gmail.com>.
The repository URl is nothing more than just a root URL of the
specified directory structure. You can use the url I gave as
repository URL. It was not my decision to create a repository for each
seperate version, and also in Subversion. ;)

With regards,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl



On Thu, Oct 21, 2010 at 9:32 PM, Stephen Boesch <ja...@gmail.com> wrote:
> This shows how to pick up the artifact.  What is the repository url that I
> would use?
>
>
>
> 2010/10/21 Nick Stolwijk <ni...@gmail.com>
>
>> It is hard to get the repository, because everyone can start their own
>> (and in their own way).
>>
>> I googled on filetype:jar gwt-servlet:2.1.0-RC1 and found the repository
>> here:
>>
>>
>> http://code.google.com/p/google-web-toolkit/source/browse/#svn/2.1.0/gwt/maven
>> for the latest version.
>>
>> With regards,
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> IPROFS BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> http://www.iprofs.nl
>>
>>
>>
>> On Thu, Oct 21, 2010 at 9:17 PM, Stephen Boesch <ja...@gmail.com> wrote:
>> > 2.1.0-RC1
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>

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


Re: Newbie question: how to find a) latest version and b) repository given an artifactID

Posted by Stephen Boesch <ja...@gmail.com>.
This shows how to pick up the artifact.  What is the repository url that I
would use?



2010/10/21 Nick Stolwijk <ni...@gmail.com>

> It is hard to get the repository, because everyone can start their own
> (and in their own way).
>
> I googled on filetype:jar gwt-servlet:2.1.0-RC1 and found the repository
> here:
>
>
> http://code.google.com/p/google-web-toolkit/source/browse/#svn/2.1.0/gwt/maven
> for the latest version.
>
> With regards,
>
> Nick Stolwijk
> ~Java Developer~
>
> IPROFS BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> http://www.iprofs.nl
>
>
>
> On Thu, Oct 21, 2010 at 9:17 PM, Stephen Boesch <ja...@gmail.com> wrote:
> > 2.1.0-RC1
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Newbie question: how to find a) latest version and b) repository given an artifactID

Posted by Nick Stolwijk <ni...@gmail.com>.
It is hard to get the repository, because everyone can start their own
(and in their own way).

I googled on filetype:jar gwt-servlet:2.1.0-RC1 and found the repository here:

http://code.google.com/p/google-web-toolkit/source/browse/#svn/2.1.0/gwt/maven
for the latest version.

With regards,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl



On Thu, Oct 21, 2010 at 9:17 PM, Stephen Boesch <ja...@gmail.com> wrote:
> 2.1.0-RC1

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


Re: Newbie question: how to find a) latest version and b) repository given an artifactID

Posted by Tamás Cservenák <ta...@cservenak.net>.
You can try RSO and do a search:
https://repository.sonatype.org/index.html#nexus-search;gav~~gwt-servlet~~~

It indexes "most popular" Maven repositories, but not all of them ;)

Also, it seems that 2.1.0-RC1 is not in central yet (because it is an
"RC"?).


Hope helps,
~t~

On Thu, Oct 21, 2010 at 9:17 PM, Stephen Boesch <ja...@gmail.com> wrote:

> If I am looking for an artificat and have its artifactID and want to find
> the versions available in public maven repos' (maven central, etc).   What
> might be recommended way to do that?
>
> Do I have to already know in advance which repo's to try?  E.g. maven
> central, mvnrepository.com etc.   Or is there a better (more sane..) way
> to
> do this?
>
> Here's a specific case:  I am looking for gwt-servlet   I think the latest
> version is 2.1.0-RC1.   But i have been going in circles trying to find out
> where a mvn repo is for it.   This is however just the latest case: I have
> been in this pattern of confusion for maven artifacts a number of times
> already.
>
> thanks
>