[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tycho-user] Missing <repositories> Entry When Downloading from Central Artifactory
- From: Timo Rohrberg <rti.init@xxxxxxxxxxxxxx>
- Date: Thu, 3 May 2012 08:38:54 +0200
- Delivered-to: email@example.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=WmwagLx+P6l/+i1azrKXdWzAqpQEyVBkN+tESLK6eX0=; b=chEZcNLnheHyxD3kLYlD5KrTYG1MTGj1YqK2i3o8I7Cei6dzTphXMNjnnhXQPrNHz7 5jYnmarBEAnXR4xHc3cACfob1XWAyHnv7QukxwcX0SOVXATWgD7L1Ukzj0kM9nKG6I1W e/qqmo2+5vp8527MjzxRGJAg5394HqhjFXs7XOgSnkDY2yS27hEVCM9+748HiT4uX3e3 Y1T59TN/SLudpJVMDSWhlJsibw4/j1nBZKebxyibZhVLY6qDtDKgxEsRsbveZ/JNb8sI Lf8PwEvH1FzOPG7yspteOR+B1m4Z1k5jLxpuvlGPYmUkuYQM8cDbrFRVEJDi2iMZyzoz +kvA==
thanks for your reply. I checked it with a file:// repository now and
the problem is exactly the same. Since I could use file://
repositories for the ones given in my original post, I reproduced the
problem with another parent pom.xml which I use for my internal
projects. That pom.xml originally contained the following
When deployed into my central artifactory, everything looks fine
there. Once a Tycho build updates its local snapshots from that
central artifactory, the above <repository> section vanishes from the
retrieved copy and instead there are some blank lines in the file.
I now copied the content of the "srvaoide" webserver hosting the p2
update site to a local directory and replaced the above <repositories>
section by the following:
Again, that section is correctly deployed into the central artifactory
but vanishes in the copy automatically retrieved from there by
subsequent Tycho builds.
Everything works fine as long as I install the parent pom.xml into the
local repository of the developer machine by executing "mvn install"
on the parent project before running any depending Tycho build.
Do you have any further hints? What could I try to tackle down the problem?
Thank you for any help.
2012/5/2 Igor Fedorenko <igor@xxxxxxxxxxxxxx>:
> Tycho is not involved in pom.xml file resolution, so I wonder if
> repository manager is to blame here. Can you reproduce the problem with
> a file:// repository?
> On 12-05-02 8:16 AM, Timo Rohrberg wrote:
>> Hello everybody,
>> I do have a slight problem with tycho in our build environment. For my
>> various projects, I do have a parent pom project containing default
>> settings for the Tycho plugins. Additionally, that parent pom.xml
>> contains the following<repositories> section:
>> If I now deploy that parent pom project into our central JFrog Maven
>> Artifactory, everything seems fine first. The pom.xml is correctly
>> deployed and can be retrieved from there via the Web-Interface.
>> Unfortunately, once the subsequent Tycho projects update their
>> snapshots (in the Jenkins local repository), the downloaded pom.xml
>> contains everything but the above<repositories> section. How is that
>> possible? Why is the downloaded pom.xml file adapted and not just
>> taken as deployed in the central artifactory?
>> Do you have any hint for me?
>> Thank you very much.
>> Best regards
>> tycho-user mailing list
> tycho-user mailing list