Hi Igor, 
     
    After reading my first question, I can understand you did not fully
    get it. It was no very well written ;) 
    Reacting to your advices, I simply removed the additional
    depedencies in the maven-surefire-plugin (except the surefire-junit4
    dep). Then all my bundles get part of the test, and the test are now
    working independently of OSGi & Tycho. 
     
    To sum it up, for those who want to do the same, then trust default
    behavior and do not try to re-define depedencies, it works. 
     
    Regards, 
     
    On 07/10/2011 20:01, Igor Fedorenko wrote:
    Honest
      answer -- you will have to figure it out yourself.
       
      Interoperability with "standard" Maven plugins, like surefire,
      currently
       
      falls gray area. Tycho injects manifest-first dependencies back
      into
       
      MavenProject model, but this is apparently not enough to make it
      work
       
      for you (or I completely misunderstood the problem). We would like
      to
       
      improve Tycho interoperability story, so if you find a way to make
      it
       
      work, please share your findings on this list. And, as per usual,
      we
       
      welcome quality patches.
       
       
      --
       
      Regards,
       
      Igor
       
       
      On 11-10-07 11:16 AM, Mickael Istria wrote:
       
      Hi all,
         
         
        I am trying to perform tests that I wrote in a bundle in a
        non-OSGi
         
        environment. However, I can only express its depdencies as
         
        p2-installable-unit. Tycho succeeds to compile the sources, but
        when I
         
        want to execute a maven-surefire-plugin, I don't find a way to
        add to it
         
        the depdencies to other p2-installable-unit. I complains about
        groupId,
         
        or because it cannot find the artifact...
         
         
        Has someone succeeded to do so?
         
        --
         
         
        Mickael Istria
         
        R&D Engineer, Eclipse Plug-in RCP Developer
         
         
        PetalsLink <http://www.petalslink.com> - Open Source SOA
         
         
        My blog <http://mickaelistria.wordpress.com> - My Tweets
         
        <https://twitter.com/#%21/mickaelistria>
         
         
         
         
        _______________________________________________
         
        tycho-user mailing list
         
        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
       
     
     
     
    
  
 |