Skip to content

Commit

Permalink
further adjusments for successful deployment on Maven Central
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
  • Loading branch information
ceki committed Aug 29, 2023
1 parent 17f5bf3 commit 10a1517
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 41 deletions.
43 changes: 2 additions & 41 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,15 @@
<packaging>pom</packaging>
<name>SLF4J Parent POM</name>
<description>SLF4J project parent pom.xml file</description>
<url>http://www.slf4j.org</url>


<organization>
<name>QOS.ch</name>
<url>http://www.qos.ch</url>
</organization>
<inceptionYear>2005</inceptionYear>

<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<url>https://github.com/qos-ch/slf4j</url>
<connection>scm:git:https://github.com/qos-ch/slf4j.git</connection>
</scm>

<properties>
<!-- yyyy-MM-dd'T'HH:mm:ss'Z' -->
Expand Down Expand Up @@ -64,14 +53,7 @@
<maven-bundle-plugin.version>5.1.8</maven-bundle-plugin.version>
</properties>

<developers>
<developer>
<id>ceki</id>
<name>Ceki Gulcu</name>
<email>ceki@qos.ch</email>
</developer>
</developers>



<dependencies>
<dependency>
Expand Down Expand Up @@ -419,27 +401,6 @@
</pluginRepositories>
</profile>

<profile>
<id>sign-artifacts</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>generate-osgi-service-loader-mediator-entries</id>
Expand Down
48 changes: 48 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,25 @@
<version>2.0.8</version>
<packaging>pom</packaging>

<url>http://www.slf4j.org</url>

<name>SLF4J BOM</name>
<description>SLF4J project BOM</description>

<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<url>https://github.com/qos-ch/slf4j</url>
<connection>scm:git:https://github.com/qos-ch/slf4j.git</connection>
</scm>


<!-- Inspired by Improving the Maven Bill of Materials (BOM) Pattern -->
<!-- https://www.garretwilson.com/blog/2023/06/14/improve-maven-bom-pattern -->
<modules>
Expand Down Expand Up @@ -122,4 +137,37 @@

</distributionManagement>

<developers>
<developer>
<id>ceki</id>
<name>Ceki Gulcu</name>
<email>ceki@qos.ch</email>
</developer>
</developers>

<profiles>

<profile>
<id>sign-artifacts</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit 10a1517

Please sign in to comment.