Commit e6827657 authored by R.W.Majeed's avatar R.W.Majeed
Browse files

more verbose logging

parent 342b5c9d
......@@ -27,7 +27,7 @@ import de.sekmi.histream.i2b2.ont.SQLGenerator;
import de.sekmi.histream.ontology.OntologyException;
import de.sekmi.histream.ontology.skos.Store;
@Mojo(name="ontology")//, defaultPhase=LifecyclePhase.GENERATE_RESOURCES)
public class OntologyMojo extends AbstractMojo {
FileSet source;
......@@ -60,10 +60,15 @@ public class OntologyMojo extends AbstractMojo {
FileSetManager fsm = new FileSetManager();
String[] files = fsm.getIncludedFiles(source);
String base = source.getDirectory();
getLog().info("Using source base directory: "+base);
List<File> list = new ArrayList<>(files.length);
for( int i=0; i<files.length; i++ ){
getLog().info("Source: "+files[i]);
list.add(new File(base, files[i]));
if( list.isEmpty() ){
getLog().warn("No ontology source files to process");
return list;
private Map<String,String> loadConfiguration(){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment