No, I what I meant was that you might
be running an actual Nexus OSS or Nexus Enterprise application for
your company/team.
Such Nexus instance would have artifacts specific to your project
that are not present in Maven Central. You probably want to
include these in search results, right?
Cheers,
Rafał
On 11/06/2012 04:15 PM, Andrew Mak wrote:
Thanks for your reply
Rafal. Could
you clarify what you mean by using information from the local
Nexus instance?
Does it have anything to do with using the Nexus indexer [1] in
some
way?
[1] http://maven.apache.org/maven-indexer/indexer-core/apidocs/org/apache/maven/index/NexusIndexer.html
Thanks,
Andrew
From:
Rafał Krzewski
<rafal.krzewski@xxxxxxxxx>
To:
Maven Integration for
Eclipse developers mailing list <m2e-dev@xxxxxxxxxxx>
Date:
11/05/2012 11:17 AM
Subject:
Re: [m2e-dev]
API for discovering dependent projects?
Sent by:
m2e-dev-bounces@xxxxxxxxxxx
If I recall correctly, indexes downloaded by m2e
from
central don't have class/package information.
This means that you need to use REST API or search.maven.org [1]
to discover
the needed projects.
You probably want to combine that information with information
from your
local Nexus instance: it provides REST API and it provides
classname search
also.
Finally you might to combine it with JDT search results to
include projects
available in the workspace and not yet deployed to a
reposiotory.
It would be really cool if m2e could provide such functionality
out of
the box :)
Cheers,
Rafał
[1] http://search.maven.org/#api
On 11/02/2012 04:33 PM, Andrew Mak wrote:
Hi,
I'm trying to write some tools for the following scenario:
A user wants to use classes from package com.abc in their
project, but
they have no idea which project provides this. How would they
go
about finding this out?
Are there some APIs that I can use to discover which project
provides package
com.abc, so I can then programmatically add the dependency to
the POM file
for the user?
Thanks in advance.
Andrew
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev
|