Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] please test staged tycho 0.14.0

Well, I think I spoke too soon.  That snippet does indeed make it
possible to clean and install the one project I pasted it in, but when
I move the snippet into its grandparent pom, and run "clean" from the
grandparent, that same child project fails!  I have verified that the
"effective pom" is exactly the same in both cases, except for the
order of the two <pluginRepository> elements.  Very confusing!  I've
been working on getting a minimal test case, but I can't yet get the
minimal version to fail.  This seems weird enough that maybe it's my
environment, but who knows.


On Thu, Feb 9, 2012 at 10:09 AM, Thomas Smith <thomathom@xxxxxxxxx> wrote:
> Hi,
> When I upgraded, Tycho wasn't able to resolve a dependency from an
> eclipse-test-plugin package to org.junit 0.0.0, even though Eclipse
> Orbit was available as a repository, and it contains several versions
> of JUnit.  After messing around for a while, it turns out that I
> needed to enable Maven updates by saying:
>        <pluginRepositories>
>                ...
>                <pluginRepository>
>                        <releases>
>                                <updatePolicy>always</updatePolicy>
>                        </releases>
>                        <id>central</id>
>                        <name>Maven Plugin Repository</name>
>                        <url></url>
>                </pluginRepository>
>        </pluginRepositories>
> After allowing Maven to update itself, Tycho was able to clean and
> install the project.  I wonder if this has anything to do with the
> other dependency issues people are having...
> -Thomas


Back to the top