This is a normal Maven Problem. The problem is that when adding a dependency to another module, you only include the normal scope files. The test scope files are not available. We solved this problem by creating special modules (usually calling them test-support somewhere in their name) which contain the classes and resources in the normal scope and reference them with a dependency of type "test".
Chris 2011/10/26 Cyril Balit <[email protected]>: > Hello, > > I have the following situation > > In a maven multiple module project I have a core swc that contain in > the src/test/flex path an AbstractTest class that extends TestCase. > In another swf module I create a Test class that extends > AbstractTest. > When i run the test i have a exception telling that the AbstractTest > class is not found. > > I'm using flexmojos 4.0-RC1 and the Junit dependencie is available > only in test scope. > > Is there a way to include the AbstractTest class in the test scope of > the other modules ? > > > Thank you > > Cyril > > -- > 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 > > http://flexmojos.sonatype.org/ > -- 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 http://flexmojos.sonatype.org/
