Skip to content

Commit

Permalink
fix maven central publishing conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
HomeOfTheWizard committed Jul 14, 2024
1 parent adb2b1f commit 686baca
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
7 changes: 5 additions & 2 deletions extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<artifactId>guice-exporter-maven-extension</artifactId>

<parent>
<groupId>com.homeofthewizard</groupId>
<artifactId>spring-bridge-maven-parent</artifactId>
<version>1.0.0-alpha</version>
</parent>

<artifactId>guice-exporter-maven-extension</artifactId>
<name>Guice API Exporter Extension</name>
<description>A Maven Core extension to expose the Guice api to plugins</description>
<url>https://github.com/homeofthewizard/spring-bridge-maven</url>

</project>
7 changes: 7 additions & 0 deletions extension/src/main/java/JavaDoc.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* This is a class only to workaround the following issue and generate a javadoc for the project.
* https://bugs.openjdk.org/browse/JDK-4492654
* The project does not contain any java class. The jar package of this project contains only a maven extension config file: META-INF/maven/extension.xml
*/
public class JavaDoc {
}
3 changes: 3 additions & 0 deletions library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
</parent>

<artifactId>spring-bridge-maven</artifactId>
<name>Spring Bridge Maven Library</name>
<description>A Library that allows using Spring Libraries in Maven plugins</description>
<url>https://github.com/homeofthewizard/spring-bridge-maven</url>

<dependencies>
<!-- maven -->
Expand Down
9 changes: 4 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<version>3.7.0</version>
<configuration>
<notimestamp>true</notimestamp>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -101,7 +104,6 @@
<plugin>
<groupId>org.jreleaser</groupId>
<artifactId>jreleaser-maven-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<jreleaser>
<signing>
Expand Down Expand Up @@ -143,9 +145,6 @@
<goals>
<goal>jar</goal>
</goals>
<configuration>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit 686baca

Please sign in to comment.