Kuno,

Why maven wouldn't check from newer versions of snapshot-parent, that is
any issue I can't anwser.
I do have a solution for your problem though.

I would like to suggest: Upgrade your eclipse.
Since Eclipse 3.3 it is possible to have overlapping projects.

I check out the entire multi-module-project from SVN to a location on my
computer outside my eclipse workspace.
This becomes a 'General project'.
Then I run mvn eclipse:eclipse with the project folder and import the
projects for each separate module.

When I synchronize with my SVN-repository I also receive the latest
version of parent pom and do not need the maven-functionality for
retrieving the latest SNAPSHOT of the parent.pom from the
snapshot-repository.

For me it works like a charm.

With kind regards,
  Marco Beelen



 

-----Original Message-----
From: Baeriswyl Kuno - Extern (IT-BA-MV) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 16, 2008 9:01 AM
To: 'users@maven.apache.org'
Subject: Parents version isn't check for new updates on the remote
repository

Hello!

I've defined a hierarchical layout using a parent pom.xml :

|-module1
|     |
|     |-- pom.xml
|-module2
|     |
|     |-- pom.xml
|
|-- pom.xml


Since we are using eclipse, only a flat hierarchy is supported.
Therefore, we checkout only the second level in eclipse for development.
It works well, once the parent pom is installed on the local repository.
The parent pom has a snapshot version and the devlepers shall get the
modifications automatically from the remote repository. However, the m2
doens't check the snapshot version for the projects parent pom.
Is it a bug? Does maven2 require to have the parent pom in the workspace
too? It doens't make sense to me, since I see the parent pom as a normal
dependency.

Thanks for your help in advance

Kuno


**********************************************************************
For information, services and offers, please visit our web site:
http://www.klm.com. This e-mail and any attachment may contain
confidential and privileged material intended for the addressee
only. If you are not the addressee, you are notified that no part
of the e-mail or any attachment may be disclosed, copied or
distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have
received this e-mail by error, please notify the sender immediately
by return e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries
and/or its employees shall not be liable for the incorrect or
incomplete transmission of this e-mail or any attachments, nor
responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal
Dutch Airlines) is registered in Amstelveen, The Netherlands, with
registered number 33014286 
**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to