无法解析的构建扩展:虽然目标文件

时间:2017-01-30 09:53:35

标签: eclipse maven tycho

不可解析的构建扩展:插件org.eclipse.tycho:tycho-maven-plugin:0.26.0或其中一个依赖项无法解析:无法读取org.eclipse.tycho的工件描述符:tycho-maven-plugin :罐:0.26.0

下面的

是我的pom.xml文件

http://maven.apache.org/xsd/maven-4.0.0.xsd">     4.0.0     com.in2soft.otx.checker     com.kpit.otx.checker.build     1.0.0-SNAPSHOT

<properties>
    <tycho-version>0.26.0</tycho-version>
</properties>

<repositories>
    <repository>
        <id>Mars</id>
        <layout>p2</layout>
        <url>http://download.eclipse.org/releases/mars</url>
    </repository>
</repositories>

<build>
    <plugins>
        <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>tycho-maven-plugin</artifactId>
            <configuration>
                <pomDependencies>consider</pomDependencies>
            </configuration>
            <version>${tycho-version}</version>
            <extensions>true</extensions>
        </plugin>
        <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>target-platform-configuration</artifactId>
            <configuration>
                <environments>
                    <environment>
                        <os>${os}</os>
                        <ws>${ws}</ws>
                        <arch>${arch}</arch>
                    </environment>
                </environments>
                <target>
                    <artifact>
                        <groupId>com.in2soft.otx.checker</groupId>
                        <artifactId>rcp</artifactId>
                        <version>1.0.0-SNAPSHOT</version>
                        <classifier>rcp</classifier>
                    </artifact>
                </target>
            </configuration>
        </plugin>
    </plugins>
</build>

0 个答案:

没有答案