File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 </plugin >
4242 </plugins >
4343 </build >
44+ <profiles >
45+ <profile >
46+ <!-- The starter has no source, so Dokka produces no javadoc jar. Maven Central still
47+ requires one, so we attach an empty javadoc jar for the release build. -->
48+ <id >makeRelease</id >
49+ <build >
50+ <plugins >
51+ <plugin >
52+ <groupId >org.apache.maven.plugins</groupId >
53+ <artifactId >maven-jar-plugin</artifactId >
54+ <executions >
55+ <execution >
56+ <id >empty-javadoc-jar</id >
57+ <phase >package</phase >
58+ <goals >
59+ <goal >jar</goal >
60+ </goals >
61+ <configuration >
62+ <classifier >javadoc</classifier >
63+ <classesDirectory >${project.build.directory} /empty-javadoc</classesDirectory >
64+ <forceCreation >true</forceCreation >
65+ </configuration >
66+ </execution >
67+ </executions >
68+ </plugin >
69+ </plugins >
70+ </build >
71+ </profile >
72+ </profiles >
4473</project >
You can’t perform that action at this time.
0 commit comments