You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2008/12/16 04:52:22 UTC
svn commit: r726937 - in /maven/components/trunk/maven-compat:
compatibility.cfl
src/main/java/org/apache/maven/project/MissingRepositoryElementException.java
Author: jvanzyl
Date: Mon Dec 15 19:52:21 2008
New Revision: 726937
URL: http://svn.apache.org/viewvc?rev=726937&view=rev
Log:
o we need the exception used by ProjectUtils as well ...
Added:
maven/components/trunk/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java (with props)
Modified:
maven/components/trunk/maven-compat/compatibility.cfl
Modified: maven/components/trunk/maven-compat/compatibility.cfl
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-compat/compatibility.cfl?rev=726937&r1=726936&r2=726937&view=diff
==============================================================================
--- maven/components/trunk/maven-compat/compatibility.cfl (original)
+++ maven/components/trunk/maven-compat/compatibility.cfl Mon Dec 15 19:52:21 2008
@@ -8,6 +8,7 @@
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
Added: maven/components/trunk/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java?rev=726937&view=auto
==============================================================================
--- maven/components/trunk/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java (added)
+++ maven/components/trunk/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java Mon Dec 15 19:52:21 2008
@@ -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-" );
+ }
+
+}
Propchange: maven/components/trunk/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/trunk/maven-compat/src/main/java/org/apache/maven/project/MissingRepositoryElementException.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"