c3be8fa80b2a5f1de2ff157903395194260e8105
[yangtools.git] / plugin / yang-maven-plugin-spi / src / main / java / org / opendaylight / yangtools / yang2sources / spi / MavenProjectAware.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.yangtools.yang2sources.spi;
9
10 import org.apache.maven.project.MavenProject;
11 import org.opendaylight.yangtools.plugin.generator.api.FileGeneratorFactory;
12
13 /**
14  * Bridge for plugins which need access to the underlying maven project.
15  *
16  * @deprecated Use {@link FileGeneratorFactory} instead.
17  */
18 @Deprecated
19 public interface MavenProjectAware {
20     /**
21      * Provided maven project object. Any additional information about current
22      * maven project can be accessed from it.
23      */
24     void setMavenProject(MavenProject project);
25 }