Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Merge branch 'simplify-pojo-generator-config' of github.com:CJSCommon…
Browse files Browse the repository at this point in the history
…Platform/generator-maven-plugin into simplify-pojo-generator-config
  • Loading branch information
Benster Nzewi committed Jun 21, 2018
2 parents d9a7e30 + fecab4e commit 3c8a15c
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,17 @@ private GenerateGoalConfig configuration(final List<Path> sourcePaths) {
useClassPath);

}

private List<String> getCurrentProjectClasspath(){
List<String> urlPaths = new ArrayList<>();
ClassLoader cl = ClassLoader.getSystemClassLoader();

URL[] urls = ((URLClassLoader)cl).getURLs();

for(URL url: urls){
System.out.println(url.getPath());
urlPaths.add(url.getPath());
}
return urlPaths;
}
}

0 comments on commit 3c8a15c

Please sign in to comment.