Getting error:maven repository directory exists, but files do not exist

I am not able to understand if we also have to create the jar files and if so then how.
i have added required parameters in qmoney/build.gradle but i get ‘files do exist error’

run this command ./gradlew verifyMavenJarsCreated

i am getting same error on executing the command
java.lang.Exception: maven repository directory exists, but files do not exist

I have checked the existence of the files but the .jar file is missing

.m2/repository/com/crio/warmup/annual-return/1.0.0 only contains .pom file but not .jar

yes that means you have not successfully published the jar to your repository.

read the references provided and you will find your solution. :slight_smile:

I think i am not able to understand the process.

Here is what all i have tried

added groupId,artifactId and version in build.gradle

ran the following as metioned in https://proandroiddev.com/tip-work-with-third-party-projects-locally-with-gradle-961d6c9efb02

./gradlew clean
./gradlew build
./gradlew publishToMavenLocal

also checked the existence of file under .m2/repository/com/crio/warmup/annual-return/1.0.0
only contains .pom file but no .jar file

Can you point me to any steps i missed

@aungrah

Solved it.
It seems that more options must be provided which are specified in milestone instructions.

Hi, how did your you solve it?

read to references and tips in the milestione carefully.
If you follow them carefully,you will not get the error.

1 Like

Refer this :slight_smile: