|
Re: Integrate Maven and FRC Java projects?
FRC Java development currently doesn't provide any special support for Maven. If you are only using it to pull in dependencies, there is no reason you can't use it to pull the jars in from target/lib/*.jar to the classpath much like how the networktables jar is. The entire build process is ant scripts, you may need to dig into the sunspotfrcsdk directory to see how it works.
However, it is worth noting that java on the crio is a bit more interesting than Java SE. You need to target 1.2 (I think 1.3 works, but I can't test it right now and sunspotfrcsdk/ant/compile.xml targets 1.2), which will rule out many newer libraries and you have to make sure your libraries go through the preverification process and end up in the suite file that gets deployed to the crio.
Out of curiousity, what libraries are trying to use and why do you want to do maven?
|