Few days ago I moved from Xchat to hexChat IRC client. Among it's cool feature I was hoping to find support for reading/searching channel/PM log files. Sometimes I remember "oh I was discussing it with this guy". Then I have to go to terminal, look for the right log file and go through it to find what I am looking for.
Zobrazují se příspěvky se štítkemplugin. Zobrazit všechny příspěvky
Zobrazují se příspěvky se štítkemplugin. Zobrazit všechny příspěvky
pátek 15. května 2015
pátek 31. října 2014
Wildfly Extension Installer - maven plugin
I recently started to play with RHQ Metrics, especially WildFly Monitor subsystem. One thing I found annoying was copying over module to WildFly and registering it as server extension. As WildFly does not (yet) support adding extensions at runtime, I decided to write a maven plugin for it.
Plugin features
- Install module - this is an easy one.Plugin requires a module zip file and just extracts it into your WF home.
- Register extension - your module gets automatically added among server extensions
- Register subsystem - if you supply subsystem xml file, plugin puts it's content to right place
- Register socket-binding - if your subsystem requires to set socket binding and you supply socket-binding xml file, plugin puts it's content to right place
- Support for domain.xml - all above applies to domain.xml as well, for subsystem and socket-bindings you just need to provide wich profiles and socket-binding-groups to affect.
Example usage
Prepare your module.zip (ie. using maven-assembly-plugin) see for example pom.xml and module-assembly.xml from wildfly-monitor project.
Setup your build:
Setup your build:
Run plugin:
mvn wildfly-extension:deploy
Possible future enhancements
- Restart server - plugin could optionally restart WildFly server after it has installed module and registered all stuff
- Extract module only - add option to extract module without registering an extension
- Assemble module - based on configuration and maven depenencies, plugin could generate module.xml and collect all required jars or directories
- Add a way to uninstall module and extension from WildFly server
Přihlásit se k odběru:
Příspěvky (Atom)