Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Maven errors when adding pom to bundle

I have an RCP project that has multiple bundles, features, and products. I have converted some of my bundles to maven projects in order to add some maven dependencies. However, I'm getting an error that I don't know how to resolve. I followed the itp04 example in the tycho github: https://git.eclipse.org/r/plugins/gitiles/tycho/org.eclipse.tycho-demo/+/refs/heads/master/itp04-rcp/

Here are the errors I am seeing: 

Description Resource Path Location Type
Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-compiler-plugin:2.1.0:compile (execution: default-compile, phase: compile) pom.xml /edu.illinois.mobius line 4 Maven Project Build Lifecycle Mapping Problem
Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-packaging-plugin:2.1.0:build-qualifier (execution: default-build-qualifier, phase: validate) pom.xml /edu.illinois.mobius line 4 Maven Project Build Lifecycle Mapping Problem
Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-packaging-plugin:2.1.0:validate-id (execution: default-validate-id, phase: validate) pom.xml /edu.illinois.mobius line 4 Maven Project Build Lifecycle Mapping Problem
Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-packaging-plugin:2.1.0:validate-version (execution: default-validate-version, phase: validate) pom.xml /edu.illinois.mobius line 4 Maven Project Build Lifecycle Mapping Problem


My pom.xml in edu.illinois.edu is:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <artifactId>edu.illinois.mobius</artifactId>
    <packaging>eclipse-plugin</packaging>
    <parent>
        <groupId>edu.illinois.mobius</groupId>
        <artifactId>bundles</artifactId>
        <version>3.0.0-SNAPSHOT</version>
    </parent>
</project>


Its parent pom is in its parent directory and contains: 

<project>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>bundles</artifactId>
    <packaging>pom</packaging>

    <parent>
        <groupId>edu.illinois.mobius</groupId>
        <artifactId>root</artifactId>
        <version>3.0.0-SNAPSHOT</version>
    </parent>

    <modules>
        <module>edu.illinois.mobius</module>
        <module>edu.illinois.mobius.atomic</module>
        ...
    </modules>
</project>


Its parent pom is in its parent directory and contains:

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>edu.illinois.mobius</groupId>
    <artifactId>root</artifactId>
    <version>3.0.0-SNAPSHOT</version>
    <packaging>pom</packaging>

    <properties>
        <tycho.version>2.1.0</tycho.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.target>11</maven.compiler.target>
        <maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.release />
    </properties>

    <repositories>
        <repository>
            <id>mobius-target</id>
            <url>https://www.mobius.illinois.edu/target</url>
            <layout>p2</layout>
        </repository>
    </repositories>

    <build>
        <plugins>
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>target-platform-configuration</artifactId>
                <version>${tycho.version}</version>
                <configuration>
                    <environments>
                        <environment>
                            <os>win32</os>
                            <ws>win32</ws>
                            <arch>x86_64</arch>
                        </environment>
                        <environment>
                            <os>linux</os>
                            <ws>gtk</ws>
                            <arch>x86_64</arch>
                        </environment>
                        <environment>
                            <os>macosx</os>
                            <ws>cocoa</ws>
                            <arch>x86_64</arch>
                        </environment>
                    </environments>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-maven-plugin</artifactId>
                <version>${tycho.version}</version>
                <extensions>true</extensions>
            </plugin>
        </plugins>
    </build>

    <dependencies>
    </dependencies>

    <modules>
        <module>bundles</module>
        <module>features</module>
        <module>products</module>
    </modules>
</project>



Any advice for how to fix these?

Thanks,
Ken


Back to the top