What components "owns" the src/main directory?

Language plugins find there source in src/main/<name of lang>, is the src/main part just convention or is there any part of the project structure where all those plugins register themselves to get a subdirectory in src/main? (like src/main/java, src/main/kotlin, etc)