Hi Cameron,
welcome to Jangaroo!
Well, you can define multiple source directories in Maven, using a special Maven plugin, but regarding your use case, this is not the way you would do it.
Maven's primary goal is to allow modular development, so Flixel, Greensock etc. would be modules that are built separately and then referenced as dependencies by your application.
For Flixel, this has even already been done and works very well, so you can reuse my Jangaroo Flixel Maven module (use "beta" branch):
git clone
https://github.com/fwienber/flixelgit checkout beta
Note that I used Flixel 2.34.
Then, follow along the lines of one of the Flixel demo applications I also ported, e.g. "Jumper":
git clone
https://github.com/fwienber/jumperThe central part is to declare a dependency on the Flixel module in your application's pom.xml:
<dependency>
<groupId>net.jangaroo.flash.flixel</groupId>
<artifactId>flixel</artifactId>
<version>1.0.0-1-SNAPSHOT</version>
<type>jangaroo</type>
</dependency>
For a general understanding of how a multi-Maven-module Jangaroo project works, you might also want to have a look at
https://github.com/CoreMedia/jangaroo-quickstartand the corresponding documentation at
https://github.com/CoreMedia/jangaroo-tools/wiki/Maven-Build-ProcessActually, the idea behind Maven modules is that you could even reuse the Flixel module without cloning and building the project, because Maven modules can be released and deployed to a Maven repository. Currently I cannot release Flixel because our Jangaroo Maven repository is no longer used: we now release directly to Maven Central so that Jangaroo modules can be used without additional configuration of repositories in your POM. I have to adjust the Flixel POM so that is releases to Maven Central, too. But as said, for the time being, you can clone (or download) and build the Flixel module yourself, and it will be in your local Maven repository. The advantage is that you can tweak Flixel if needed.
Feel free to come back here if you get stuck somewhere along the way. Using Maven is a bit to learn in the beginning, but when you are in the third or fourth project, it really pays off!
Greetings
-Frank-