Consider this sources structure:
- org
|- eolang
|- number.eo
After transpile step in generated-sources directory we will have the next files:
- EOorg
|- EOeolang
|- EOnumber.java
|- package-info.java
As you see - there's package-info.java file only in EOorg.EOeolang package, because number.eo contains +package org.eolang meta. There are 2 problems:
- after
unspile step EOorg/EOeolang/package-info.class file is deleted because it's present in generated-sources
- if eo sources file structure is different from java sources structure - we don't have
package-info.class in target/classes after compilation
As the result - our package is published to maven central without package-info.class files in some packages.
Consider this sources structure:
After
transpilestep ingenerated-sourcesdirectory we will have the next files:As you see - there's
package-info.javafile only inEOorg.EOeolangpackage, becausenumber.eocontains+package org.eolangmeta. There are 2 problems:unspilestepEOorg/EOeolang/package-info.classfile is deleted because it's present ingenerated-sourcespackage-info.classintarget/classesafter compilationAs the result - our package is published to maven central without
package-info.classfiles in some packages.