Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

Non-resolvable parent POM in tutorial project #8

Closed

Description

@andrew-koster-

There appears to be a problem with the structure of the Maven projects, and I don't know these projects well enough to fix this structural problem.

I'm following the instructions in https://www.kurento.org/docs/current/tutorials/java/tutorial-3-one2many.html with the goal of setting up a basic media server.

I've created a new Ubuntu 14.04 machine for this purpose and cloned the sources just before the build, so everything is up to date.

root@chat-server-rtc:~/kurento-tutorial-java/kurento-one2many-call# mvn compile
exec:java
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.kurento.tutorial:kurento-one2many-call:6.1.1-SNAPSHOT
(/root/kurento-tutorial-java/kurento-one2many-call/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.kurento.tutorial:kurento-tutorial:
6.1.1-SNAPSHOT: Could not find artifact org.kurento:kurento-parent-pom:pom:6.1.1
-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ org.kurento.tuto
rial:kurento-tutorial:6.1.1-SNAPSHOT, /root/kurento-tutorial-java/pom.xml, line
5, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
delException

I opened the POM files in question and everything looks fine to me, but I'm far from an expert at Maven or at Kurento. This IS a tutorial project, it seems to me that it should Just Work for someone who isn't familiar with this software. Isn't that the point?

Activity

  1. added
    not-a-bug
    on Oct 27, 2015
  2. igracia commented on Oct 27, 2015

    @igracia
    Contributor

    There is no problem with the structure of the project. You had just checked out the development version of the tutorials, which depends on a SNAPSHOT artifact. Since dev artifacts are not published in maven central, you need to checkout a release version of the projects, or add our development repo. Please read more in this stackoverflow answer.

    We've updated the documentation to check out a release version, so this doesn't happen to new users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    not-a-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions