media-core
media-core copied to clipboard
Can't use media-core maven repositories ( where is media-parent ? )
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'.
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.