Hi Velo, I am still not successful. I have cleaned our proxy and my local repo, removed all dependencies to flexmojos-unittest-support from my POM files as I have seen on your Wiki that since 3.4.0 this dependency is obsolete.
I run mvn dependency:tree mvn dependency:resolve-plugins, but none reported a dependency to flexmojos-unittest-support, but still Maven requires this flexmojos-unittest-support, when it starts to execute the tests. Running mvn dependency:analyze leads to the same error. So I switched back to 3.4.0 with flexmojos-unittest-support and saw that it has downloaded flexmojos-unittest-support-3.4.0 even when the dependency to it has been removed. Therefore I guess the error is in fact that flexmojos-unittest-support 3.4.1 is not available in the Sonatype repository. Best regards, Carsten On Oct 23, 12:57 pm, Marvin Froeder <[email protected]> wrote: > I had to hack 3.4.1 jar, could you delete it from you local repo (and any > proxy you have) and try again? > > VELO > > On Fri, Oct 23, 2009 at 4:26 AM, Carsten Schlipf > <[email protected]>wrote: > > > > > Hi Velo, > > > flexmojos-unittest-support 3.4.1 is missing in the repository. > > > Best regards, > > Carsten > > > On Oct 22, 5:27 pm, Marvin Froeder <[email protected]> wrote: > > > I made a quick dirt 3.4.1 release.... give it a shot, I did't try it > > myself > > > =D > > > > On Thu, Oct 22, 2009 at 12:52 PM, Carsten Schlipf < > > [email protected] > > > > > wrote: > > > > > What a quick reply! Wow! > > > > > Here is the ticket:https://issues.sonatype.org/browse/FLEXMOJOS-208 > > > > > Thank you very much! > > > > > Best regards, > > > > Carsten > > > > > On Oct 22, 4:37 pm, Marvin Froeder <[email protected]> wrote: > > > > > Yeah, you are absolutely right.... file a ticket and I will do a > > quick > > > > 3.4.1 > > > > > release. > > > > > > VELO > > > > > > On Thu, Oct 22, 2009 at 12:29 PM, Carsten Schlipf < > > > > [email protected] > > > > > > > wrote: > > > > > > > Hello, > > > > > > > I just tried to upgrade to Flex Mojos 3.4.0 but encountered an > > error > > > > > > in one module. This module creates an extension for FlexUnit that > > we > > > > > > are using for our tests. It therefore requires an dependency to the > > > > > > Flex Unit libraries using the default scope "compile". The scope > > must > > > > > > not be "test". > > > > > > > It worked with Flex Mojos 3.3.0, but with 3.4.0 I encounter this > > > > > > error: > > > > > > > [ERROR] BUILD > > > > > > ERROR > > > > > > [INFO] > > > ------------------------------------------------------------------------ > > > > > > [INFO] Not found any compatible unit test framework: > > > > > > [org.sonatype.flexmojos:flexmojos-unittest-support] > > >http://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests > > > > > > > So with 3.4.0 the flexmojos-unittest-support seems to expect Flex > > Unit > > > > > > to have the "test" scope and does no longer work with "compile". I > > can > > > > > > reproduce with any other module by simply changing the scope of > > > > > > FlexUnit to "compile". As soon as I switch back to "test" these > > other > > > > > > modules work again. > > > > > > > As this is an unnecessary restriction I consider this as a defect. > > > > > > Velo, can you confirm? I will then enter a JIRA entry for you. We > > are > > > > > > really waiting for Flex Unit 4 since a long time so a quick fix > > would > > > > > > be greatly appreciated. > > > > > > > Best regards, > > > > > > Carsten --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
