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/
-~----------~----~----~----~------~----~------~--~---