[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
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