How can depends on a pom in gradle?
Seems like gradle couldn’t autodownload pure pom from remote.
gradle doesn’t work unless I install manually the pom to local.
How can depends on a pom in gradle?
Seems like gradle couldn’t autodownload pure pom from remote.
gradle doesn’t work unless I install manually the pom to local.
can you elaborate what you’re trying to achieve? do you have a reproducable example of the scenario that is not working for you?
Consider this as pom in your private maven repository https://github.com/yhjhoo/princeSSH/blob/master/me.princeSSH/pom.xml
I configure gradle project to depend on this pom and I refresh STS gradle dependencies. STS compliant that it couldn’t find princeSSH.jar.
Can you please give us the full path including the file name to your artifacts (JAR and POM) in the Maven repository?
Are you sure you are not mixing up groupId and artifactId in your POM? The artifactId looks more like a groupId to me.
<groupId>princeSSH</groupId>
<artifactId>me.princeSSH</artifactId>
Tks for point out. Yes, that’s the main reason caused this issue.
Initially I thought it was just a string, but gradle process it different as maven.