[JBoss AS 7 Development] - Re: JAR blacklist for deployment
by Nicklas Karlsson
Nicklas Karlsson [https://community.jboss.org/people/nickarls] created the discussion
"Re: JAR blacklist for deployment"
To view the discussion, visit: https://community.jboss.org/message/785286#785286
--------------------------------------------------------------
I actually has a monologue on the topic on the irc channel on dec 18 on the topic ;-)
[20:37:27] <nickarls> wonder if it would be difficult to take the example subsystem from "Extending JBoss AS 7" and make it a pluggable "Deployment sanity checker"? You could e.g. throw in a "hibernate" check module which would warn if you have bundled hibernate jars accidently etc...
[20:46:24] <nickarls> obsolete configuration files check, zipped war in exploded ear check, too-old-spring-version check etc. of course, the general deployers could be improved but these would be pluggable (and could be more verbose)
Like I said, it would be nice if the architechture would be pluggable and the JAR check would be one component
You might want to check what options JBoss Modules has for querying the module repository. Does it have a "what provides"-function for a class or can you list all jars in the module an match against regexp-patterns etc....
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/785286#785286]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 3 months