question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Non-resolvable parent POM for io.sarl.tycho-parent

See original GitHub issue

Hi there,

When compiling my basic SARL project against SARL 0.5.6, I am running into the following error:

[ERROR] Failed to execute goal io.sarl.maven:sarl-maven-plugin:0.5.6:compile (default-compile) on project elsim-prolog: Unable to get dependency information for io.sarl.maven:io.sarl.maven.sdk:jar:0.5.6: Failed to process POM for io.sarl.maven:io.sarl.maven.sdk:jar:0.5.6: Non-resolvable parent POM for io.sarl:io.sarl.tycho-parent:[unknown-version]: Could not transfer artifact io.sarl:io.sarl:pom:0.5.6 from/to org.eclipse.ide.neon (http://download.eclipse.org/releases/neon/): Cannot access http://download.eclipse.org/releases/neon/ with type p2 using the available connector factories: BasicRepositoryConnectorFactory
[ERROR]   io.sarl.maven:io.sarl.maven.sdk:jar:0.5.6

This occurs when building from CLI with mvn install and not within SARL Eclipse 0.5.6. I have tried removing old versions of 0.5.6 from my .m2 and retrying, however this has not helped. For reference, my POM file is as follows:

<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>elsim-prolog</groupId>
    <artifactId>elsim-prolog</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <properties>
        <sarl.version>0.5.6</sarl.version>
        <compiler.level>1.8</compiler.level>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <!-- Janus project version -->
        <janus.version>2.${sarl.version}</janus.version>
    </properties>

    <!-- Repository definitions -->
    <pluginRepositories>
        <pluginRepository>
            <id>maven.sarl.io</id>
            <name>SARL Maven Repository</name>
            <url>http://maven.sarl.io/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>
    
    <repositories>
        <repository>
            <id>maven.sarl.io</id>
            <name>SARL Maven Repository</name>
            <url>http://maven.sarl.io/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

    <!-- Project dependencies -->
    <dependencies>
        <!-- Janus Project kernel (contains SARL language core) -->
        <dependency>
            <groupId>io.janusproject</groupId>
            <artifactId>io.janusproject.kernel</artifactId>
            <version>${janus.version}</version>
        </dependency>
    </dependencies>

    <!-- Build pipeline plugins -->
    <build>
        <plugins>
            <plugin>
                <!-- SARL Maven compiler plugin -->
                <!-- Facilitate compilation of SARL source code to Java classes -->
                <groupId>io.sarl.maven</groupId>
                <artifactId>sarl-maven-plugin</artifactId>
                <version>${sarl.version}</version>
                <extensions>true</extensions>
                <configuration>
                    <source>${compiler.level}</source>
                    <target>${compiler.level}</target>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

Hopefully this helps, Matt

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gallandarakhneorgcommented, Aug 15, 2017

Release 0.5.7 of SARL will be available soon on the Maven Central server and on the SARL website, after all the servers will be synchronized.

Please re-open this issue if it does not solve your problem.

0reactions
mattmcnallycommented, Aug 16, 2017

Thanks @gallandarakhneorg, yes 0.5.7 worked!

Cheers, Matt

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maven: Non-resolvable parent POM - Stack Overflow
Non-resolvable parent POM: This means you cannot resolve the parent repo. Trun on debug mode: [DEBUG] Reading global settings from ...
Read more >
Non-resolvable parent POM for org.jboss.t...
I tried to set up the demo in Teiid-Quickstart and failed in preparing for the development environment. In this case, I want to...
Read more >
Maven's Non-resolvable parent POM Problem
I recently got an email from Nosheen Javed asking about an exception he was getting on his Maven build. The exception was:
Read more >
Non-resolvable parent POM error - Atlassian Community
Hello, i am integrating a sample soa application, where i have pom.xml in the project as well as the parent folder.
Read more >
Installing for the first time: Non-resolvable parent POM
[FATAL] Non-resolvable parent POM for com.xebia.incubator:xebium:0.14-SNAPSHOT: Could not transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found