<@U08SB47TL9E> to follow-up on the debugging sessi...
# maven-central
o
@Yongjun Hong to follow-up on the debugging session we had today, the approach with generating files in the build directory will not work as Gradle does not record such injected artifacts in Publishing metadata. You will need to finish the test started 2 weeks ago and get it to the stage that test application is actually built and the artifacts are actually signed via the
signing
plugin. https://github.com/YongGoose/kotlin-pom-gradle/pull/33/commits/54c8a1ea2d6b94e581a76fa11e9286518459c122 makes some progress towards that, but there is more work to be done. If it becomes too complicated to develop the sample project in tests, you can just do it as a separate project, and then copy configurations into the test (as well as test signing keys). Please provide me with an update on your progress by Saturday noon UTC. I will follow up on the administrative bits separately. And, please, do not hesitate to ask any questions on Slack.
✅ 1
y
@Oleg Nenashev The issue we couldn’t resolve yesterday was that the artifacts were not being generated. To address this, I’m planning to generate the artifacts through the signMavenPublication task. However, the values we wrote in gradle.properties are not actual keys, so the signing process fails. I’m currently considering how to generate the keys. I have two possible approaches in mind. 1. Actually generate the key and store it in GitHub Secrets. 2. Dynamically generate the key each time the test runs. Which approach do you think would be better? Please take a look at this commit (https://github.com/YongGoose/kotlin-pom-gradle/pull/33/commits/2e4f01b12d0f70429af741e62201cf79ff0ab49a#diff-758171f09204ef8[…]62dc793f256842c7cfa35)
Current message:
Copy code
* What went wrong:
Execution failed for task ':signMavenPublication'.
> Cannot perform signing task ':signMavenPublication' because it has no configured signatory
o
You can just create a test experimental key and keep it in the resources. If it's something used only for tests, it is not a secret
👍 1
y
When you have a moment, could you take a look at this commit? As you suggested, I generated private.asc and imported it before proceeding, but I’m still getting the same error.
I think we're almost there 🙂
I’m providing this update in advance since I won’t be able to give a mid-progress report tomorrow due to attending a friend’s wedding. Right now, I’m running into a failure during the Maven publication signing process. If the signMavenPublication task succeeds, I expect .asc files for the JAR files to be generated, allowing the tests to pass.
@Oleg Nenashev PR has been merged. PTAL • https://github.com/YongGoose/kotlin-pom-gradle/pull/33
Next i plan to implementation this task • https://github.com/YongGoose/kotlin-pom-gradle/issues/32
o
@Yongjun Hong Maybe it is better to do a new release and socialize it. You are running out of time to get community feedback as a part of GSoC
✅ 1