de.vandermeer.skb.mvn.pm.model.Model_ManagedProject Maven / Gradle / Ivy
/* Copyright 2016 Sven van der Meer
*
* Licensed 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.
*/
package de.vandermeer.skb.mvn.pm.model;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.Validate;
import org.apache.commons.lang3.text.StrBuilder;
import de.vandermeer.skb.mvn.Licenses;
import de.vandermeer.skb.mvn.ProjectFiles;
import de.vandermeer.skb.mvn.ProjectProperties;
/**
* Managed project object for the model.
*
* @author Sven van der Meer <[email protected]>
* @version v0.0.2 build 160304 (04-Mar-16) for Java 1.8
* @since v0.0.1
*/
public class Model_ManagedProject {
/** Model context, everything the model needs to know. */
protected final PM_Context mc;
/** The project base directory. */
protected final File baseDir;
/** The project PM directory. */
protected final File pmDir;
/** The project property file. */
protected final File projectPropertyFile;
/** The PM identifier of the project. */
protected final String pmId;
/** THe project properties as read from the PM configuration file. */
protected Properties properties;
// /** A map view of the properties. */
// protected final Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy