Re: [m2e-users] Glassfish, EAR, m2e/wtp and all that

2012-09-26 Thread Fred Bricon
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

[m2e-users] Getting content of all transitive dependencies

2012-09-26 Thread Artem Grigoryev
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__

Re: [m2e-users] Getting content of all transitive dependencies

2012-09-26 Thread 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: >

Re: [m2e-users] Creating and editing a parent POM in the workspace directory?

2012-09-26 Thread Steinar Bang
> "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

Re: [m2e-users] Creating and editing a parent POM in the workspace directory?

2012-09-26 Thread Steinar Bang
> 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

Re: [m2e-users] Creating and editing a parent POM in the workspace directory?

2012-09-26 Thread Igor Fedorenko
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

Re: [m2e-users] Getting content of all transitive dependencies

2012-09-26 Thread Igor Fedorenko
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

Re: [m2e-users] Creating and editing a parent POM in the workspace directory?

2012-09-26 Thread Steinar Bang
> 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