Xpand的最小pom依赖是什么?

时间:2015-04-27 11:15:39

标签: xpand

我在maven插件项目中使用Xpand进行代码生成。因此,我需要在pom.xml中添加所需的库作为依赖项,以便定义和使用Xpand模板。应该添加到pom的最小依赖项列表是什么?

1 个答案:

答案 0 :(得分:1)

您可以将以下内容作为起点

<dependencies>
    <dependency>
        <groupId>org.eclipse.xpand</groupId>
        <artifactId>org.eclipse.xtend</artifactId>
        <version>2.0.0</version>
    </dependency>
    <dependency>
        <groupId>org.eclipse.xpand</groupId>
        <artifactId>org.eclipse.xpand</artifactId>
        <version>2.0.0</version>
    </dependency>
    <dependency>
        <groupId>org.eclipse.xpand</groupId>
        <artifactId>org.eclipse.xtend.typesystem.emf</artifactId>
        <version>2.0.0</version>
    </dependency>
    <dependency>
        <groupId>org.eclipse.emf</groupId>
        <artifactId>org.eclipse.emf.mwe.utils</artifactId>
        <version>1.3.5</version>
    </dependency>
    <dependency>
        <groupId>org.eclipse.emf</groupId>
        <artifactId>org.eclipse.emf.mwe.core</artifactId>
        <version>1.3.5</version>
    </dependency>
    <dependency>
        <groupId>org.eclipse.emf</groupId>
        <artifactId>ecore</artifactId>
        <version>2.3.0-v200706262000</version>
    </dependency>
    <dependency>
        <groupId>commons-cli</groupId>
        <artifactId>commons-cli</artifactId>
        <version>20040117.000000</version>
    </dependency>
    <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.2</version>
    </dependency>
    <dependency>
        <groupId>org.eclipse.emf</groupId>
        <artifactId>org.eclipse.emf.mwe2.runtime</artifactId>
        <version>2.7.1</version>
    </dependency>
    <dependency>
        <groupId>org.antlr</groupId>
        <artifactId>antlr-runtime</artifactId>
        <version>3.5.2</version>
    </dependency>
    <dependency>
        <groupId>com.ibm.icu</groupId>
        <artifactId>icu4j</artifactId>
        <version>55.1</version>
    </dependency>
</dependencies>