Questions tagged [maven-publish]

A Gradle plugin for publishing build artifacts to an Apache Maven Repository.

https://docs.gradle.org/current/userguide/publishing_maven.html

219 questions
0
votes
1 answer

Deploying to artifactory with signed artifacts, facing checksum 409 error

Before we deploy unsigned jars and aars to the artifactory, Now I have just signed my artifacts before pushing to the same artifactory repo. I am using gradle MavenPublishing Plugin to publish the artifacts(jars and aars) I am facing checksum…
AnnapoorniS
  • 71
  • 1
  • 6
0
votes
1 answer

Publish reusable gradle tasks

I would like to publish some common parts of build.gradle file to be reusable in different projects (using apply from: url_to_file construction). To achieve this I've created a project called gradle-common that contains those common build files,…
Piotr Chowaniec
  • 1,160
  • 12
  • 25
0
votes
1 answer

gradle maven-publish publishMavenWebPublicationToRemoteArtifactoryRepository

I'm using the gradle maven-publish plugin. gradlew tasks Publishing tasks generatePomFileForMavenWebPublication - Generates the Maven POM file for publication 'mavenWeb'. publish - Publishes all publications produced by this…
Mark Thomas
  • 141
  • 1
  • 6
0
votes
0 answers

How to handle Gradle maven metadata efficiently?

The following code creates a war file with Maven metadata. Problem is that I don't see nearly as many UP-TO-DATE messages as I should on a rebuild when nothing changes. Clearly I've got something wrong with my task inputs/outputs. Problem is that I…
user447607
  • 5,149
  • 13
  • 33
  • 55
0
votes
1 answer

Credentials not found when publishing a subproject

I am trying to publish my gradle project to nexus but I need credentials for this. It only works if I specify them hardcoded in my subproject build.gradle. I do not want to have my username & password hardcoded in any file. I have found a way to…
Jali Tha
  • 1
  • 1
0
votes
1 answer

Gradle Artifactory Plugin - looking for example of publishing artifacts from multiple modules in a project?

(I typed up a question here a couple of days ago but it's pretty involved so I can imagine it might not get an answer.) Can anyone point me to an example of the Gradle Artifactory Plugin which publishes artifacts from multiple modules in a project?…
Adil Hussain
  • 30,049
  • 21
  • 112
  • 147
0
votes
1 answer

publish grails3 plugin to artifactory - differences in generated poms

I'm trying to publish a snapshot of grails 3 plugin to remote maven repository (Artifactory). Here is my build script: import org.springframework.util.StringUtils buildscript { ext { grailsVersion = project.grailsVersion } …
airfox
  • 137
  • 1
  • 7
0
votes
1 answer

When using gradle with maven-publish, I get Cannot find wagon which supports the requested protocol: scp

The error I get - "" The property uploadURL is defined as scp://user@host/data/apps/repo/m2 Here are the relevant sections configurations { deployerJars } // Apply the java plugin to add support for Java apply plugin:…
Prashant
  • 1,002
  • 13
  • 29
0
votes
0 answers

gradle maven publish via plugin

I am trying to solve for issue for publishing artifacts - specifically a war file via plugin code. So here's the problem statement. We have a gradle projects which uses 'war' plugin to generate project war file and publish it to repo via the…
Nikhil
  • 191
  • 1
  • 6
1 2 3
14
15