protected static URL[] getWsgenClasspath(DeploymentContext context)
throws DeploymentException, MalformedURLException {
ArrayList<URL> jars = new ArrayList();
DeploymentConfigurationManager cm = (DeploymentConfigurationManager)context.getConfigurationManager();
Collection<ListableRepository> repositories = cm.getRepositories();
jars.add(getLocation(repositories, JAXB_API_ARTIFACT));
jars.add(getLocation(repositories, JAXB_IMPL_ARTIFACT));
jars.add(getLocation(repositories, JAXB_XJC_ARTIFACT));
jars.add(getLocation(repositories, JAXWS_TOOLS_ARTIFACT));