JBoss Community

Re: JAR blacklist for deployment

created by Nicklas Karlsson in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community