Skip to content

Commit

Permalink
Update MYSQL-Api version and refactor Maven configuration
Browse files Browse the repository at this point in the history
Updated the MYSQL-Api artifactId and version in pom.xml from MYSQL-Api 5.7.7 to mysql-api 5.7.8. Removed the 'site-maven-plugin' from plugins and added a new 'distributionManagement' section for package deployment. The changes also included a url change in correlation with the artifactId update.
  • Loading branch information
Coho04 committed Mar 20, 2024
1 parent cb2c75c commit 847deae
Showing 1 changed file with 11 additions and 30 deletions.
41 changes: 11 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<modelVersion>4.0.0</modelVersion>

<groupId>de.goldendeveloper</groupId>
<artifactId>MYSQL-Api</artifactId>
<version>5.7.7</version>
<packaging>jar</packaging>
<url>https://github.com/Golden-Developer/MYSQL-Api</url>
<artifactId>mysql-api</artifactId>
<version>5.7.8</version>
<packaging>jar</packaging>
<url>https://github.com/Golden-Developer/mysql-api</url>

<name>MYSQL-Api | JMA</name>

Expand All @@ -19,32 +19,6 @@

<build>
<plugins>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.12</version>
<configuration>
<message>Maven artifacts for ${project.version}</message>
<noJekyll>true</noJekyll>
<outputDirectory>${project.build.directory}/mvn-repo
</outputDirectory>
<branch>refs/heads/mvn-repo</branch>
<includes>
<include>**/*</include>
</includes>
<repositoryName>MYSQL-Api</repositoryName>
<repositoryOwner>Golden-Developer</repositoryOwner>
<server>github</server>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down Expand Up @@ -107,6 +81,13 @@
</plugins>
</build>

<distributionManagement>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/Golden-Developer/mysql-api</url>
</repository>
</distributionManagement>

<dependencies>
<dependency>
<groupId>com.jcraft</groupId>
Expand Down

0 comments on commit 847deae

Please sign in to comment.