From ac091b558c7a44fa044db33b244fe8e74e20f345 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Sun, 4 Jan 2009 04:42:36 +0000 Subject: [PATCH] o adding some capatibility for plugins and components that use settings directly. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731172 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/settings/RuntimeInfo.java | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 maven-compat/src/main/java/org/apache/maven/settings/RuntimeInfo.java diff --git a/maven-compat/src/main/java/org/apache/maven/settings/RuntimeInfo.java b/maven-compat/src/main/java/org/apache/maven/settings/RuntimeInfo.java new file mode 100644 index 0000000000..2d626d7777 --- /dev/null +++ b/maven-compat/src/main/java/org/apache/maven/settings/RuntimeInfo.java @@ -0,0 +1,43 @@ +package org.apache.maven.settings; + +import java.io.File; + +/* + * 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. + */ + + +/** + * To handle runtime informations like local repository or profiles. + * + * @version $Id$ + */ +public class RuntimeInfo +{ + private File settings; + + public RuntimeInfo( File settings ) + { + this.settings = settings; + } + + public File getFile() + { + return settings; + } +}