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

mavenCentral is not supported in Gradle 5.3 or latest #9

Closed
sgana123 opened this issue Mar 27, 2019 · 2 comments
Closed

mavenCentral is not supported in Gradle 5.3 or latest #9

sgana123 opened this issue Mar 27, 2019 · 2 comments
Labels

Comments

@sgana123
Copy link

Hi - mavenCentral pom tags are not recognized in Gradle latest version.
Could you please guide on How to substitute with?
maven {
url = "http://repo.maven.apache.org/maven2"
}


Files:
rivr-master\build-instructions.md
rivr-master\build.gradle
rivr-master\rivr-voicexml-dialogue-runner\build.gradle

repositories { mavenCentral() }
repositories {
mavenCentral{
pom.project{ packaging 'jar' }
}
}
repositories {
mavenCentral {
pom.project { packaging 'war' }
}
}

mavenDeployer(name: 'mavenCentral')

@gawi
Copy link
Member

gawi commented Mar 27, 2019

Confirmed using Gradle 5.3.

We are using an archaic technique to produce and publish the Maven artifacts. I will use the maven-publishGradle plugin to fix those issues.

In the mean time, I recommend using the Gradle wrapper provided with the source.

@gawi
Copy link
Member

gawi commented Mar 28, 2019

I have fixed the problem and kept the 'maven' plugin. This is now published to master and 1.0-fix. Gradle wrapper is configured to use Gradle 5.3.

@gawi gawi closed this as completed Mar 28, 2019
@gawi gawi added the bug label Aug 18, 2021
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