2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.yang2sources.spi;
10 import org.apache.maven.project.MavenProject;
11 import org.opendaylight.yangtools.plugin.generator.api.FileGeneratorFactory;
14 * Bridge for plugins which need access to the underlying maven project.
16 * @deprecated Use {@link FileGeneratorFactory} instead.
19 public interface MavenProjectAware {
21 * Provided maven project object. Any additional information about current
22 * maven project can be accessed from it.
24 void setMavenProject(MavenProject project);