After maven build some java files in which i have written code, are not created in jars. Why is this happening? I am just started using maven.
CodePudding user response:
Not easy to answer without your pom.xml but be sure about following items
- Check if any excluded class in pom config
- Be sure about all classes inside src/main/java or not
- run mvn clean install
And if you share pom.xml here we can answer easly.