maven


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.

Related Links

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

Categories

HOME
google-chrome-extension
keras
reflection
bpmn
webstorm
youtube-dl
sqlite-net-extensions
maven-3
packages
installshield
alpha
uber-api
append
slurm
izpack
rascal
quickbooks
resize
php-7.1
windows-azure-storage
n-gram
usergrid
jsprit
netflix
progressive-web-apps
graphlab
evopdf
jqwidget
lldb
kryo
one-hot-encoding
jquery-ajaxq
tokenize
realex-payments-api
nhapi
webkitspeechrecognition
unboundid
react-chartjs
.net-4.0
exuberant-ctags
create-table
catel
noraui
android-kernel
overriding
adobe-premiere
qwerty
swisscomdev
ncalc
convertapi
parentheses
network-flow
rails-routing
clean-architecture
jlink
svmlight
nativeapplication
csound
lift-json
pg-dump
sybase-asa
namecoin
or-tools
google-cdn
visual-c++-2008
setuptools
firmata
dstu2-fhir
intrusion-detection
lemon
atk4
content-length
wyam
muse
operation
proj4js
bigbluebutton
camanjs
angularjs-ng-click
fpml
websocket4net
openexr
tld
elliptic-curve
p4java
xceed-datagrid
geos
dotnetnuke-5
cisco-jtapi
osql
jquery-ui-layout
xdomainrequest
calling-convention
w3wp.exe
google-friend-connect
coda-slider
dentrix
kdbg
zend-decorators
commodore
uiq3

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile