diff --git a/maven-compat/compatibility.cfl b/maven-compat/compatibility.cfl index c42f55e445..69445d8e36 100644 --- a/maven-compat/compatibility.cfl +++ b/maven-compat/compatibility.cfl @@ -8,6 +8,7 @@ h2. Maven Remote Resources Plugin functionality has been superceded by the model properties-based system for POM construction. We provide the same functionality using the model properties-based system but have just placed the component as-is in the maven-compat package to ensure the default lifecycle functions. * org.apache.maven.project.ProjectUtils: placed in the maven-compat package. +* org.apache.maven.project.MissingRepositoryElementException ... used by ProjectUtils h2. Maven Help Plugin * org.apache.maven.project.path.PathTranslator: used as a parameter in the EvaluateMojo. The path translator has been replaced the model builder diff --git a/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java b/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java new file mode 100644 index 0000000000..17c267e3a9 --- /dev/null +++ b/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java @@ -0,0 +1,38 @@ +package org.apache.maven.project; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import org.apache.maven.artifact.InvalidRepositoryException; + +public class MissingRepositoryElementException + extends InvalidRepositoryException +{ + + public MissingRepositoryElementException( String message, String repositoryId ) + { + super( message, repositoryId ); + } + + public MissingRepositoryElementException( String message ) + { + super( message, "-unknown-" ); + } + +}