Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use media-core maven repositories ( where is media-parent ? ) #850

Open
mohsenk opened this issue Mar 24, 2018 · 1 comment
Open
Labels

Comments

@mohsenk
Copy link

mohsenk commented Mar 24, 2018

I have an issues with media-core maven repositories.
When i add for sample org.restcomm.media.core:media-core-spi:8.0.0-31 in my depdendencies i give this exception in gradle :

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':media-server:compileClasspath'.
> Could not resolve org.restcomm.media.core:media-core-spi:8.0.0-31.
  Required by:
      project :media-server
   > Could not resolve org.restcomm.media.core:media-core-spi:8.0.0-31.
      > Could not parse POM https://repo1.maven.org/maven2/org/restcomm/media/core/media-core-spi/8.0.0-31/media-core-spi-8.0.0-31.pom
         > Could not resolve org.restcomm.media:media-core:8.0.0-31.
            > Could not resolve org.restcomm.media:media-core:8.0.0-31.
               > Could not parse POM https://repo1.maven.org/maven2/org/restcomm/media/media-core/8.0.0-31/media-core-8.0.0-31.pom
                  > Could not find org.restcomm.media:media-parent:8.0.0-SNAPSHOT.
                    Searched in the following locations:
                        https://repo1.maven.org/maven2/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/maven-metadata.xml
                        https://repo1.maven.org/maven2/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/media-parent-8.0.0-SNAPSHOT.pom
                        https://repo1.maven.org/maven2/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/media-parent-8.0.0-SNAPSHOT.jar
                        https://jcenter.bintray.com/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/maven-metadata.xml
                        https://jcenter.bintray.com/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/media-parent-8.0.0-SNAPSHOT.pom
                        https://jcenter.bintray.com/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/media-parent-8.0.0-SNAPSHOT.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
1 actionable task: 1 executed
Could not find org.restcomm.media:media-parent:8.0.0-SNAPSHOT.
Searched in the following locations:
    https://repo1.maven.org/maven2/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/maven-metadata.xml
    https://repo1.maven.org/maven2/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/media-parent-8.0.0-SNAPSHOT.pom
    https://repo1.maven.org/maven2/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/media-parent-8.0.0-SNAPSHOT.jar
    https://jcenter.bintray.com/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/maven-metadata.xml
    https://jcenter.bintray.com/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/media-parent-8.0.0-SNAPSHOT.pom
    https://jcenter.bintray.com/org/restcomm/media/media-parent/8.0.0-SNAPSHOT/media-parent-8.0.0-SNAPSHOT.jar
16:20:37: Task execution finished 'build'.


@hrosa
Copy link
Contributor

hrosa commented Mar 26, 2018

Hi @mohsenk

The media-parent project can be found here.

You can also declare this repository in your ~/.m2/settings.xml to have access to nightly snapshots:

<repository>
    <id>cxs-snapshot</id>
    <url>http://cxsnexus.restcomm.com/nexus/content/repositories/snapshots</url>
    <releases><enabled>false</enabled></releases>
    <snapshots><enabled>true</enabled></snapshots>
</repository>

In the tag there should not be any references to -snapshot versions... I will check our CI jobs and try to fix that asap.

@hrosa hrosa added the question label Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants