Open mxsb opened 12 years ago
You can use the following code to check if a dependency exists
DependencyBuilder dependency = DependencyBuilder.create("org.hibersap:hibersap-jco");
boolean hasDep = getProject().getFacet(DependencyFacet.class).hasDirectDependency(dependency);
Thanks for the hint, but I want to do this before the plugin is installed. The plugin itself uses sap jco as dependency and won't work if its not in the local repository
Check for JCo dependency in lokal repo at installation or usage and give the user a hint that this dependency is needed.