Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] mvn clean triggers target definition resolution

https://bugs.eclipse.org/bugs/show_bug.cgi?id=353889

--
Regards,
Igor

On 12-04-16 11:30 AM, Craig Foote wrote:
At the command line and then through m2e, I ran "mvn clean
-Dtycho-mode=maven" but it's still resolving my target definition :(
Even if I can get this to work, why is tycho resolving the target
definition with the clean goal?

Craig

On Sat, Apr 14, 2012 at 2:31 PM, Benjamin Schwertfeger
<benjamin.schwertfeger@xxxxxxxxxxxxxxxxxxxxxxxxx
<mailto:benjamin.schwertfeger@xxxxxxxxxxxxxxxxxxxxxxxxx>> wrote:

    Hello Craig,
    I've blogged a little bit about our build structure:
    http://blogs.itemis.de/schwertfeger/2012/04/14/building-eclipse-plugins-with-tycho-and-target-definition/
    The main problem here was, that the target is resolved/verified for
    each project again. We also used tycho.mode=maven to speed up clean
    local builds, because tycho needed much more time to resolve, if the
    target folder was large. By splitting target resolution and using a
    <repository> for the daily build, the build time was reduced
    drastically. By the cost of keeping one additional category.xml in
    sync with the target definition.

    Benjamin

    Am 13.04.2012 um 22:59 schrieb Craig Foote:

    Shouldn't the clean goal just empty the target folder? I'm using
    tycho_0.14.1 (and m2e_1.0.200.20111228-1245 though this happens at
    the command line too) and a target definition rather than
    repositories in my pom. Our target definition points to a large
    composite p2 repo that takes a long time to parse, doubly long
    when we do separate mvn clean and mvn install (as m2e provides by
    default). Is this correct or are we misconfigured somewhere?

    Thanks,
    Craig
    _______________________________________________
    tycho-user mailing list
    tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
    https://dev.eclipse.org/mailman/listinfo/tycho-user


    _______________________________________________
    tycho-user mailing list
    tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
    https://dev.eclipse.org/mailman/listinfo/tycho-user




_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top