1

I have set up my artificat so it appropriately builds a jar file and includes the source, manifest file etc. However, it does not include the class file. Is there a way to include that as well?

Thanks!

user1357015
  • 11,168
  • 22
  • 66
  • 111

1 Answers1

1

Class files are included by default into the jar artifact you create for the module.

It's controlled by the compile output entry in the artifact:

compile output

You may not have the classes included if the source roots are misconfigured or the files are excluded from compilation, or for some other reasons described in this answer.

See this answer for the sample project link that you can download and verify the correct project/artifact configuration so that you can compare it with yours and find what's wrong.

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904