When workspace project dependencies are closed, m2e/m2e-wtp reference
binaries from your local repo, if they exist.
I assume the glassfish server adapter never unpacks referenced binaries by
default. And I don't know if you can force it to unpack such dependencies.
I hardly use glassfish so you'll
Hello to everyone!
I want to get the file content of all transitive dependencies of my Eclipse
project.
I look through m2e source code and find following way to do it:
https://gist.github.com/3787958
Is this right API for this task? Or there are easily way?
Thanks,
Artem Grigoryev__
Sorry,
the correct link is https://gist.github.com/3787981
On Sep 26, 2012, at 8:25 PM, Artem Grigoryev wrote:
> Hello to everyone!
>
> I want to get the file content of all transitive dependencies of my Eclipse
> project.
> I look through m2e source code and find following way to do it:
>
> "KARR, DAVID" :
> If you want to resolve to a pom in the workspace, you have to have a
> project that contains that pom. You simply have to have a project
> with a single file, being that pom file.
If you mean having a project alongside all of the other projects that
holds the parent pom.x
> Igor Fedorenko :
> Typical workspace filesystem directory structure looks like
> workspace/
> parentA/
> moduleA1/
> pom.xml
> moudleA1/
> pom.xml
> pom.xml
> parentB/
> ...
Hm... the directory structure I have used previously, using the
mav
On 12-09-26 11:32 AM, Steinar Bang wrote:
Igor Fedorenko :
Typical workspace filesystem directory structure looks like
workspace/
parentA/
moduleA1/
pom.xml
moudleA1/
pom.xml
pom.xml
parentB/
...
...
During project import m2e
This snippet should give dependencies of all scopes and workspace
resolution enabled/disabled according to project configuration
IMavenProjectRegistry registry = ...;
IMavenProjectFacade facade = registry.create(project);
facade.getMavenProject(monitor).getArtifacts()
Use IMaven#readPro
> Igor Fedorenko :
> Not sure what you mean. The structure on filesystem is the conventional
> layout of a multi-module maven project. There are plenty of archetypes
> that will generate projects with this structure.
Yes, I know. What I meant, was: can I go to New->Project... and create
this