If you needed the JAR file at compile time for some reason you can add it build.classpath.extras, but I doubt that's necessary. Just put the driver JAR in JBoss lib directory and you'll be good to go.