0

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

4

1 回答 1

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>
于 2015-05-13T11:25:24.800 回答