Promote SchemaSourceRepresentation
[yangtools.git] / plugin / yang-maven-plugin / src / main / java / org / opendaylight / yangtools / yang2sources / plugin / YangProvider.java
index ea4401d9c439017e35795197c72d85f73ae44e84..ee880da8a06a1450199284aa7a3ea553b5337f37 100644 (file)
@@ -12,12 +12,12 @@ import java.io.IOException;
 import java.util.Collection;
 import java.util.List;
 import org.apache.maven.project.MavenProject;
-import org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource;
+import org.opendaylight.yangtools.yang.model.spi.source.YangTextSource;
 
 @FunctionalInterface
 @VisibleForTesting
 interface YangProvider {
 
-    List<FileState> addYangsToMetaInf(MavenProject project,
-            Collection<YangTextSchemaSource> modelsInProject) throws IOException;
+    List<FileState> addYangsToMetaInf(MavenProject project, Collection<YangTextSource> modelsInProject)
+        throws IOException;
 }