@@ -0,0 +1,1929 @@
+/*%0A * #%25L%0A * Native ARchive plugin for Maven%0A * %25%25%0A * Copyright (C) 2002 - 2014 NAR Maven Plugin developers.%0A * %25%25%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A * #L%25%0A */%0Apackage com.github.maven_nar;%0A%0Aimport java.io.File;%0Aimport java.util.List;%0A%0A/**%0A * An include path.%0A *%0A * Binds together include path itself (e.g. folder path) and allowed%0A * include file masks (e.g. *.h).%0A *%0A * @author Ivan Drobyshevskyi%0A */%0Apublic class IncludePath %7B%0A    /**%0A     * Include path itself.%0A     *%0A     * @parameter%0A     * @required%0A     */%0A    private String path;%0A%0A    /**%0A     * List of include files masks.%0A     *%0A     * @parameter%0A     */%0A    private List/* %3CString%3E */includes;%0A%0A    /**%0A     * File corresponding to the path above.%0A     */%0A    private File file;%0A%0A    public String getPath() %7B%0A        return path;%0A    %7D%0A    public void setPath(String path) %7B%0A        this.path = path;%0A        file = new File(path);%0A    %7D%0A    public void set(String path) %7B%0A    %09setPath(path);%0A    %7D%0A    public File getFile() %7B%0A        return file;%0A    %7D%0A    public final String getIncludes()%0A    %7B%0A        StringBuilder includesString = new StringBuilder();%0A%0A        if (includes == null)%0A            return null;%0A%0A        for (String s : (List%3CString%3E) includes)%0A             includesString.append(s + %22,%22);%0A%0A        return includesString.toString();%0A    %7D%0A    boolean exists() %7B%0A        return file.exists() && file.isDirectory();%0A    %7D%0A%7D%0A

Add support for IncludePath configuration.