mirror of https://github.com/apache/maven.git
o we need the exception used by ProjectUtils as well ...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726937 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7d00c7923c
commit
805b15fea2
|
@ -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
|
||||
|
|
|
@ -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-" );
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue