diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java index 01a3adbcd8..7d5b0fbd56 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java @@ -346,7 +346,6 @@ public class DefaultModelBuilder Map options = new HashMap(); options.put( ModelProcessor.IS_STRICT, Boolean.valueOf( strict ) ); - options.put( ModelProcessor.LOCATION, modelSource.getLocation() ); options.put( ModelProcessor.SOURCE, modelSource ); try diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProcessor.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProcessor.java index 855da03edb..a5c976d157 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProcessor.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProcessor.java @@ -25,7 +25,7 @@ import org.apache.maven.model.locator.ModelLocator; public interface ModelProcessor extends ModelLocator, ModelReader { - String LOCATION = "org.apache.maven.model.building.location"; String SOURCE = "org.apache.maven.model.building.source"; + }