Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions docgen/maven.example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,22 @@
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<skipPublishing>true</skipPublishing>
</configuration>

<!--
We set `phase` to `none` instead of setting `skipPublishing` to `true`.
We do so because the plugin does all its work in the final subproject for which it will have an execution.
And, if the final subproject says to skip publishing, it skips *all* publishing.
(`guava-tests` is the final subproject for `guava-android` but not for `guava-jre`, which has `guava-gwt` after it.
So we could use `skipPublishing` in `guava-jre` if we wanted.)
See https://github.com/google/gson/issues/2892#issuecomment-3272499409
-->
<executions>
<execution>
<id>injected-central-publishing</id>
<phase>none</phase>
</execution>
</executions>

</plugin>
</plugins>
</build>
Expand Down
2 changes: 1 addition & 1 deletion emf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<modules>
<module>codegen.maven</module>
<!-- <module>codegen.maven.example</module>-->
<module>codegen.maven.example</module>
</modules>

</project>
Loading