Adding new ANNIE rules to GATE when using maven
If I use the Ant build script then it would include my created JAPE files if I put them in the right folder. But if I want to use GATE from maven, how do I include my own JAPE files?
Even if you pull in the core GATE libraries from Maven central you will still need a copy of the plugins your application requires - the plugins are not available from a Maven repository. The process of developing a GATE application is the same whatever build system you're using, you need to copy the relevant plugins from the distribution into your project somewhere, then modify/add/remove components as appropriate. Best practice when developing an application that uses GATE Embedded is generally: Don't rely on an "installation" of GATE - create a directory within your project to act as gate.home, with a private copy of the site and user configuration files and call the appropriate Gate.setGateHome, Gate.setUserConfigFile etc. before you call Gate.init (see the Tomcat example in the user guide). Similarly, don't rely on the system-wide GATE plugins - copy all the plugins your application depends on into your project and load them from there instead of from the GATE installation. If possible, develop and test your GATE application(s) using GATE Developer, by unloading the "installed" plugins and loading your project's private copies instead. Build your application in the usual way, then "save application state". In your embedded application all you need to do then is use the PersistenceManager to re-load the saved state, you don't need to explicitly call CreoleRegister.registerDirectories as the PersistenceManager will handle that for you. You can bootstrap steps 2 and 3 by building an application in GATE Developer and using the "export for GATECloud.net" option to package the application along with copies of all the plugins it requires into a zip file, which you can then unpack into your project work space.
maven release plugin with phase and jar-with-dependencies
Failed to resolve dependency for wicket on jenkins and not on local machine
Java Build Tools: Ant vs. Maven [closed]
Maven build parameter to exclude a pom dependency
How to manage Tycho / EAP versionning correctly
Issue when injecting MavenProject into Maven test
Leiningen equivalent for maven dependency `type` element
Nexus Unable to connect with repos on the Internet
Excluding generated-sources from source:jar
Debug Jar that is a Maven Dependency to a Main Project
Can surefire and failsafe plugin deliberately randomize execution order of test classes?
What are “optional” Maven dependencies? [closed]
Cobertura code coverage for failed tests
amazon aws artifacts could not be resolved
difference between “dependency information” and “dependencies” in the auto-generated site
How to set parameters from console to own maven report plugin