You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Yann Albou <ya...@club-internet.fr> on 2007/12/02 17:43:28 UTC

[m2] Any suggestion to include pom root in eclipse workspace

Hello;

I use a multi module maven project.
after generating the eclipse project and importing these project in an 
eclipse workspace I get all my projects in my worspace.

Now I would to have a way to get access to the root pom.xml (parent pom 
of all my imported projects).

Do you guys have any suggestion on how to acheive this in eclipse ?

I have created a simple project in which I created a linked resource and 
it works. The only issue is that linked resources doesn't support 
relative path and doesn't support variables like ${project_loc}, So that 
means I need to reference an absolute path.
And in my company we don't all use the same directory to store projects...

Yann.


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


RE: Re: [m2] Any suggestion to include pom root in eclipse workspace

Posted by "Boeckli, Dominique" <do...@eds.com>.
what i do:

check out multi project.
check out sub projects as needed.

that's all. 



-----Original Message-----
From: news [mailto:news@ger.gmane.org] On Behalf Of Yann Albou
Sent: Monday, December 03, 2007 11:07 PM
To: users@maven.apache.org
Subject: Re: [m2] Any suggestion to include pom root in eclipse workspace


That will be very useful...
What is the feature in Europa that allows to have recursive projects ? I couldn't find any information on it...

Yann.

Carlos Sanchez a écrit :
> In Q4E we are going to add that option in the next release so you see 
> the parent pom as another project http://code.google.com/p/q4e/
> 
> On Dec 2, 2007 2:36 PM, Siarhei Dudzin <si...@gmail.com> wrote:
>> Eclipse Europa allows you to have recursive projects. Which means you 
>> can checkout the project with the parent poms and then simply import 
>> the sub-projects.
>>
>> Siarhei
>>
>>
>> On 12/2/07, Nick Stolwijk <ni...@planet.nl> wrote:
>>> I'm on a Linux machine and simply created a symlink to the parent 
>>> pom in one of the submodules. Then it showed up in Eclipse.
>>>
>>> Hth,
>>>
>>> Nick Stolwijk
>>>
>>> Yann Albou wrote:
>>>> Hello;
>>>>
>>>> I use a multi module maven project.
>>>> after generating the eclipse project and importing these project in 
>>>> an eclipse workspace I get all my projects in my worspace.
>>>>
>>>> Now I would to have a way to get access to the root pom.xml (parent 
>>>> pom of all my imported projects).
>>>>
>>>> Do you guys have any suggestion on how to acheive this in eclipse ?
>>>>
>>>> I have created a simple project in which I created a linked 
>>>> resource and it works. The only issue is that linked resources 
>>>> doesn't support relative path and doesn't support variables like 
>>>> ${project_loc}, So that means I need to reference an absolute path.
>>>> And in my company we don't all use the same directory to store 
>>>> projects...
>>>>
>>>> Yann.
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> -- 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
>>>
>>>
> 
> 
> 


---------------------------------------------------------------------
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: [m2] Any suggestion to include pom root in eclipse workspace

Posted by Michael McCallum <gh...@apache.org>.
You could install the m2eclipse plugin in eclipse 
and use eclipse:m2eclipse to create the project files
then just do an import from the base of the tree 
eclipse will prompt you with a list of all the eclipse projects in one go

On Tue, 18 Dec 2007 06:25:26 Jim Sellers wrote:
> I'm not clear if this was covered by the other responses:
>
> 1) check out your root (parent) project
> 2) run eclipse:eclipse on it (you may have to run mvn install first)
> 3) Import -> Existing projects into workspace
> 4) browse to the sub-project (module)
> 5) make sure "copy projects into workspace" is NOT checked.  This process
> will give you a "symbolic link"-like to the module.
> 6) repeat steps 3-6 until all modules are showing up as "projects" in
> eclipse
>
> Having said all that, your original question was:
> "Now I would to have a way to get access to the root pom.xml"
> Why are you trying to get the root pom?
>
> As for linked resources, are you talking about this:
> http://jira.codehaus.org/browse/MECLIPSE-178
>
> I was under the impression that linked resources HAD to be absolute links.
>
> HTH
> Jim
>
> On 12/13/07, nicolas de loof <ni...@apache.org> wrote:
> > I myselft use this process :
> >
> > - check out with command line svn outside eclipse
> > - run mvn eclipse:eclipse
> > - in eclipse : right clic / import existing projects into workspace
> > - create a new "simple" (non java) project at the project root
> >
> > Europa supports having multiple projects in workspace that overlap : my
> > root
> > project contains all sub-projects as folder.
> >
> > Nico.
> >
> > 2007/12/3, Yann Albou <ya...@club-internet.fr>:
> > > That will be very useful...
> > > What is the feature in Europa that allows to have recursive projects ?
> > > I couldn't find any information on it...
> > >
> > > Yann.
> > >
> > > Carlos Sanchez a écrit :
> > > > In Q4E we are going to add that option in the next release so you see
> > > > the parent pom as another project
> > > > http://code.google.com/p/q4e/
> > > >
> > > > On Dec 2, 2007 2:36 PM, Siarhei Dudzin <si...@gmail.com>
> >
> > wrote:
> > > >> Eclipse Europa allows you to have recursive projects. Which means
> > > >> you
> > >
> > > can
> > >
> > > >> checkout the project with the parent poms and then simply import the
> > > >> sub-projects.
> > > >>
> > > >> Siarhei
> > > >>
> > > >> On 12/2/07, Nick Stolwijk <ni...@planet.nl> wrote:
> > > >>> I'm on a Linux machine and simply created a symlink to the parent
> >
> > pom
> >
> > > in
> > >
> > > >>> one of the submodules. Then it showed up in Eclipse.
> > > >>>
> > > >>> Hth,
> > > >>>
> > > >>> Nick Stolwijk
> > > >>>
> > > >>> Yann Albou wrote:
> > > >>>> Hello;
> > > >>>>
> > > >>>> I use a multi module maven project.
> > > >>>> after generating the eclipse project and importing these project
> > > >>>> in
> > >
> > > an
> > >
> > > >>>> eclipse workspace I get all my projects in my worspace.
> > > >>>>
> > > >>>> Now I would to have a way to get access to the root pom.xml
> > > >>>> (parent pom of all my imported projects).
> > > >>>>
> > > >>>> Do you guys have any suggestion on how to acheive this in eclipse
> > > >>>> ?
> > > >>>>
> > > >>>> I have created a simple project in which I created a linked
> >
> > resource
> >
> > > >>>> and it works. The only issue is that linked resources doesn't
> >
> > support
> >
> > > >>>> relative path and doesn't support variables like ${project_loc},
> > > >>>> So that means I need to reference an absolute path.
> > > >>>> And in my company we don't all use the same directory to store
> > > >>>> projects...
> > > >>>>
> > > >>>> Yann.
> >
> > ---------------------------------------------------------------------
> >
> > > >>>> 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
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org



-- 
Michael McCallum
Enterprise Engineer
mailto:gholam@apache.org

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


Re: [m2] Any suggestion to include pom root in eclipse workspace

Posted by nicolas de loof <ni...@apache.org>.
I do the same, expect I do the checkout as command line to avoid a .project,
so that I can import all modules in one click.

I the "create a new project" "general", uncheck defaut location to enter the
checkout directory containing the root pom. Eclispe 3.2+ is required to
support nested projects

I the get a general project will all my maven modules as files and java
projects for each java module.
The main project is used to edit non-java modules, and to launch maven as
multiproject using "external tools".

Nico.


2007/12/17, Jim Sellers <ji...@gmail.com>:
>
> I'm not clear if this was covered by the other responses:
>
> 1) check out your root (parent) project
> 2) run eclipse:eclipse on it (you may have to run mvn install first)
> 3) Import -> Existing projects into workspace
> 4) browse to the sub-project (module)
> 5) make sure "copy projects into workspace" is NOT checked.  This process
> will give you a "symbolic link"-like to the module.
> 6) repeat steps 3-6 until all modules are showing up as "projects" in
> eclipse
>
> Having said all that, your original question was:
> "Now I would to have a way to get access to the root pom.xml"
> Why are you trying to get the root pom?
>
> As for linked resources, are you talking about this:
> http://jira.codehaus.org/browse/MECLIPSE-178
>
> I was under the impression that linked resources HAD to be absolute links.
>
> HTH
> Jim
>
>
> On 12/13/07, nicolas de loof <ni...@apache.org> wrote:
> >
> > I myselft use this process :
> >
> > - check out with command line svn outside eclipse
> > - run mvn eclipse:eclipse
> > - in eclipse : right clic / import existing projects into workspace
> > - create a new "simple" (non java) project at the project root
> >
> > Europa supports having multiple projects in workspace that overlap : my
> > root
> > project contains all sub-projects as folder.
> >
> > Nico.
> >
> >
> >
> > 2007/12/3, Yann Albou <ya...@club-internet.fr>:
> > >
> > >
> > > That will be very useful...
> > > What is the feature in Europa that allows to have recursive projects ?
> I
> > > couldn't find any information on it...
> > >
> > > Yann.
> > >
> > > Carlos Sanchez a écrit :
> > > > In Q4E we are going to add that option in the next release so you
> see
> > > > the parent pom as another project
> > > > http://code.google.com/p/q4e/
> > > >
> > > > On Dec 2, 2007 2:36 PM, Siarhei Dudzin <si...@gmail.com>
> > wrote:
> > > >> Eclipse Europa allows you to have recursive projects. Which means
> you
> > > can
> > > >> checkout the project with the parent poms and then simply import
> the
> > > >> sub-projects.
> > > >>
> > > >> Siarhei
> > > >>
> > > >>
> > > >> On 12/2/07, Nick Stolwijk <ni...@planet.nl> wrote:
> > > >>> I'm on a Linux machine and simply created a symlink to the parent
> > pom
> > > in
> > > >>> one of the submodules. Then it showed up in Eclipse.
> > > >>>
> > > >>> Hth,
> > > >>>
> > > >>> Nick Stolwijk
> > > >>>
> > > >>> Yann Albou wrote:
> > > >>>> Hello;
> > > >>>>
> > > >>>> I use a multi module maven project.
> > > >>>> after generating the eclipse project and importing these project
> in
> > > an
> > > >>>> eclipse workspace I get all my projects in my worspace.
> > > >>>>
> > > >>>> Now I would to have a way to get access to the root pom.xml(parent
> > > >>>> pom of all my imported projects).
> > > >>>>
> > > >>>> Do you guys have any suggestion on how to acheive this in eclipse
> ?
> > > >>>>
> > > >>>> I have created a simple project in which I created a linked
> > resource
> > > >>>> and it works. The only issue is that linked resources doesn't
> > support
> > > >>>> relative path and doesn't support variables like ${project_loc},
> So
> > > >>>> that means I need to reference an absolute path.
> > > >>>> And in my company we don't all use the same directory to store
> > > >>>> projects...
> > > >>>>
> > > >>>> Yann.
> > > >>>>
> > > >>>>
> > > >>>>
> > ---------------------------------------------------------------------
> > > >>>> 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
> > > >>>
> > > >>>
> > > >
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
>

Re: [m2] Any suggestion to include pom root in eclipse workspace

Posted by Jim Sellers <ji...@gmail.com>.
I'm not clear if this was covered by the other responses:

1) check out your root (parent) project
2) run eclipse:eclipse on it (you may have to run mvn install first)
3) Import -> Existing projects into workspace
4) browse to the sub-project (module)
5) make sure "copy projects into workspace" is NOT checked.  This process
will give you a "symbolic link"-like to the module.
6) repeat steps 3-6 until all modules are showing up as "projects" in
eclipse

Having said all that, your original question was:
"Now I would to have a way to get access to the root pom.xml"
Why are you trying to get the root pom?

As for linked resources, are you talking about this:
http://jira.codehaus.org/browse/MECLIPSE-178

I was under the impression that linked resources HAD to be absolute links.

HTH
Jim


On 12/13/07, nicolas de loof <ni...@apache.org> wrote:
>
> I myselft use this process :
>
> - check out with command line svn outside eclipse
> - run mvn eclipse:eclipse
> - in eclipse : right clic / import existing projects into workspace
> - create a new "simple" (non java) project at the project root
>
> Europa supports having multiple projects in workspace that overlap : my
> root
> project contains all sub-projects as folder.
>
> Nico.
>
>
>
> 2007/12/3, Yann Albou <ya...@club-internet.fr>:
> >
> >
> > That will be very useful...
> > What is the feature in Europa that allows to have recursive projects ? I
> > couldn't find any information on it...
> >
> > Yann.
> >
> > Carlos Sanchez a écrit :
> > > In Q4E we are going to add that option in the next release so you see
> > > the parent pom as another project
> > > http://code.google.com/p/q4e/
> > >
> > > On Dec 2, 2007 2:36 PM, Siarhei Dudzin <si...@gmail.com>
> wrote:
> > >> Eclipse Europa allows you to have recursive projects. Which means you
> > can
> > >> checkout the project with the parent poms and then simply import the
> > >> sub-projects.
> > >>
> > >> Siarhei
> > >>
> > >>
> > >> On 12/2/07, Nick Stolwijk <ni...@planet.nl> wrote:
> > >>> I'm on a Linux machine and simply created a symlink to the parent
> pom
> > in
> > >>> one of the submodules. Then it showed up in Eclipse.
> > >>>
> > >>> Hth,
> > >>>
> > >>> Nick Stolwijk
> > >>>
> > >>> Yann Albou wrote:
> > >>>> Hello;
> > >>>>
> > >>>> I use a multi module maven project.
> > >>>> after generating the eclipse project and importing these project in
> > an
> > >>>> eclipse workspace I get all my projects in my worspace.
> > >>>>
> > >>>> Now I would to have a way to get access to the root pom.xml (parent
> > >>>> pom of all my imported projects).
> > >>>>
> > >>>> Do you guys have any suggestion on how to acheive this in eclipse ?
> > >>>>
> > >>>> I have created a simple project in which I created a linked
> resource
> > >>>> and it works. The only issue is that linked resources doesn't
> support
> > >>>> relative path and doesn't support variables like ${project_loc}, So
> > >>>> that means I need to reference an absolute path.
> > >>>> And in my company we don't all use the same directory to store
> > >>>> projects...
> > >>>>
> > >>>> Yann.
> > >>>>
> > >>>>
> > >>>>
> ---------------------------------------------------------------------
> > >>>> 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
> > >>>
> > >>>
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: [m2] Any suggestion to include pom root in eclipse workspace

Posted by nicolas de loof <ni...@apache.org>.
I myselft use this process :

- check out with command line svn outside eclipse
- run mvn eclipse:eclipse
- in eclipse : right clic / import existing projects into workspace
- create a new "simple" (non java) project at the project root

Europa supports having multiple projects in workspace that overlap : my root
project contains all sub-projects as folder.

Nico.



2007/12/3, Yann Albou <ya...@club-internet.fr>:
>
>
> That will be very useful...
> What is the feature in Europa that allows to have recursive projects ? I
> couldn't find any information on it...
>
> Yann.
>
> Carlos Sanchez a écrit :
> > In Q4E we are going to add that option in the next release so you see
> > the parent pom as another project
> > http://code.google.com/p/q4e/
> >
> > On Dec 2, 2007 2:36 PM, Siarhei Dudzin <si...@gmail.com> wrote:
> >> Eclipse Europa allows you to have recursive projects. Which means you
> can
> >> checkout the project with the parent poms and then simply import the
> >> sub-projects.
> >>
> >> Siarhei
> >>
> >>
> >> On 12/2/07, Nick Stolwijk <ni...@planet.nl> wrote:
> >>> I'm on a Linux machine and simply created a symlink to the parent pom
> in
> >>> one of the submodules. Then it showed up in Eclipse.
> >>>
> >>> Hth,
> >>>
> >>> Nick Stolwijk
> >>>
> >>> Yann Albou wrote:
> >>>> Hello;
> >>>>
> >>>> I use a multi module maven project.
> >>>> after generating the eclipse project and importing these project in
> an
> >>>> eclipse workspace I get all my projects in my worspace.
> >>>>
> >>>> Now I would to have a way to get access to the root pom.xml (parent
> >>>> pom of all my imported projects).
> >>>>
> >>>> Do you guys have any suggestion on how to acheive this in eclipse ?
> >>>>
> >>>> I have created a simple project in which I created a linked resource
> >>>> and it works. The only issue is that linked resources doesn't support
> >>>> relative path and doesn't support variables like ${project_loc}, So
> >>>> that means I need to reference an absolute path.
> >>>> And in my company we don't all use the same directory to store
> >>>> projects...
> >>>>
> >>>> Yann.
> >>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> 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
> >>>
> >>>
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [m2] Any suggestion to include pom root in eclipse workspace

Posted by Yann Albou <ya...@club-internet.fr>.
That will be very useful...
What is the feature in Europa that allows to have recursive projects ? I 
couldn't find any information on it...

Yann.

Carlos Sanchez a écrit :
> In Q4E we are going to add that option in the next release so you see
> the parent pom as another project
> http://code.google.com/p/q4e/
> 
> On Dec 2, 2007 2:36 PM, Siarhei Dudzin <si...@gmail.com> wrote:
>> Eclipse Europa allows you to have recursive projects. Which means you can
>> checkout the project with the parent poms and then simply import the
>> sub-projects.
>>
>> Siarhei
>>
>>
>> On 12/2/07, Nick Stolwijk <ni...@planet.nl> wrote:
>>> I'm on a Linux machine and simply created a symlink to the parent pom in
>>> one of the submodules. Then it showed up in Eclipse.
>>>
>>> Hth,
>>>
>>> Nick Stolwijk
>>>
>>> Yann Albou wrote:
>>>> Hello;
>>>>
>>>> I use a multi module maven project.
>>>> after generating the eclipse project and importing these project in an
>>>> eclipse workspace I get all my projects in my worspace.
>>>>
>>>> Now I would to have a way to get access to the root pom.xml (parent
>>>> pom of all my imported projects).
>>>>
>>>> Do you guys have any suggestion on how to acheive this in eclipse ?
>>>>
>>>> I have created a simple project in which I created a linked resource
>>>> and it works. The only issue is that linked resources doesn't support
>>>> relative path and doesn't support variables like ${project_loc}, So
>>>> that means I need to reference an absolute path.
>>>> And in my company we don't all use the same directory to store
>>>> projects...
>>>>
>>>> Yann.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>>
>>>
> 
> 
> 


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


Re: [m2] Any suggestion to include pom root in eclipse workspace

Posted by Carlos Sanchez <ca...@apache.org>.
In Q4E we are going to add that option in the next release so you see
the parent pom as another project
http://code.google.com/p/q4e/

On Dec 2, 2007 2:36 PM, Siarhei Dudzin <si...@gmail.com> wrote:
> Eclipse Europa allows you to have recursive projects. Which means you can
> checkout the project with the parent poms and then simply import the
> sub-projects.
>
> Siarhei
>
>
> On 12/2/07, Nick Stolwijk <ni...@planet.nl> wrote:
> >
> > I'm on a Linux machine and simply created a symlink to the parent pom in
> > one of the submodules. Then it showed up in Eclipse.
> >
> > Hth,
> >
> > Nick Stolwijk
> >
> > Yann Albou wrote:
> > > Hello;
> > >
> > > I use a multi module maven project.
> > > after generating the eclipse project and importing these project in an
> > > eclipse workspace I get all my projects in my worspace.
> > >
> > > Now I would to have a way to get access to the root pom.xml (parent
> > > pom of all my imported projects).
> > >
> > > Do you guys have any suggestion on how to acheive this in eclipse ?
> > >
> > > I have created a simple project in which I created a linked resource
> > > and it works. The only issue is that linked resources doesn't support
> > > relative path and doesn't support variables like ${project_loc}, So
> > > that means I need to reference an absolute path.
> > > And in my company we don't all use the same directory to store
> > > projects...
> > >
> > > Yann.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
> >
>



-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

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


Re: [m2] Any suggestion to include pom root in eclipse workspace

Posted by Siarhei Dudzin <si...@gmail.com>.
Eclipse Europa allows you to have recursive projects. Which means you can
checkout the project with the parent poms and then simply import the
sub-projects.

Siarhei

On 12/2/07, Nick Stolwijk <ni...@planet.nl> wrote:
>
> I'm on a Linux machine and simply created a symlink to the parent pom in
> one of the submodules. Then it showed up in Eclipse.
>
> Hth,
>
> Nick Stolwijk
>
> Yann Albou wrote:
> > Hello;
> >
> > I use a multi module maven project.
> > after generating the eclipse project and importing these project in an
> > eclipse workspace I get all my projects in my worspace.
> >
> > Now I would to have a way to get access to the root pom.xml (parent
> > pom of all my imported projects).
> >
> > Do you guys have any suggestion on how to acheive this in eclipse ?
> >
> > I have created a simple project in which I created a linked resource
> > and it works. The only issue is that linked resources doesn't support
> > relative path and doesn't support variables like ${project_loc}, So
> > that means I need to reference an absolute path.
> > And in my company we don't all use the same directory to store
> > projects...
> >
> > Yann.
> >
> >
> > ---------------------------------------------------------------------
> > 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: [m2] Any suggestion to include pom root in eclipse workspace

Posted by Nick Stolwijk <ni...@planet.nl>.
I'm on a Linux machine and simply created a symlink to the parent pom in 
one of the submodules. Then it showed up in Eclipse.

Hth,

Nick Stolwijk

Yann Albou wrote:
> Hello;
>
> I use a multi module maven project.
> after generating the eclipse project and importing these project in an 
> eclipse workspace I get all my projects in my worspace.
>
> Now I would to have a way to get access to the root pom.xml (parent 
> pom of all my imported projects).
>
> Do you guys have any suggestion on how to acheive this in eclipse ?
>
> I have created a simple project in which I created a linked resource 
> and it works. The only issue is that linked resources doesn't support 
> relative path and doesn't support variables like ${project_loc}, So 
> that means I need to reference an absolute path.
> And in my company we don't all use the same directory to store 
> projects...
>
> Yann.
>
>
> ---------------------------------------------------------------------
> 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