Example usage for org.apache.maven.project.path PathTranslator ROLE

List of usage examples for org.apache.maven.project.path PathTranslator ROLE

Introduction

In this page you can find the example usage for org.apache.maven.project.path PathTranslator ROLE.

Prototype

String ROLE

To view the source code for org.apache.maven.project.path PathTranslator ROLE.

Click Source Link

Usage

From source file:org.codehaus.gmaven.plugin.execute.ExpressionEvaluatorImpl.java

License:Apache License

private PathTranslator lookupPathTranslator() {
    try {//w w  w.ja  v a2s. c  o m
        return (PathTranslator) context.lookup(PathTranslator.ROLE);
    } catch (ComponentLookupException e) {
        throw new RuntimeException(e);
    }
}