Skip to content

Commit 97857b8

Browse files
authored
Refresh plugin (#7)
1 parent c1f953c commit 97857b8

File tree

8 files changed

+79
-18
lines changed

8 files changed

+79
-18
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
3+
version: 2
4+
updates:
5+
- package-ecosystem: "maven"
6+
directory: "/"
7+
schedule:
8+
interval: "weekly"

.github/release-drafter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_extends: .github
2+
name-template: v$NEXT_MINOR_VERSION 🌈
3+
tag-template: database-mysql-$NEXT_MINOR_VERSION

.github/workflows/changelog.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
9+
jobs:
10+
update_release_draft:
11+
runs-on: ubuntu-latest
12+
steps:
13+
# Drafts your next Release notes as Pull Requests are merged into "master"
14+
- uses: release-drafter/release-drafter@v5
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.mvn/extensions.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
2+
<extension>
3+
<groupId>io.jenkins.tools.incrementals</groupId>
4+
<artifactId>git-changelist-maven-extension</artifactId>
5+
<version>1.2</version>
6+
</extension>
7+
</extensions>

.mvn/maven.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-Pconsume-incrementals
2+
-Pmight-produce-incrementals

LICENSE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The MIT License
2+
3+
Copyright 2020
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Database plugin for MySQL
2+
3+
This is a driver plugin for [Database](https://plugins.jenkins.io/database/) plugin that adds the [MySQL](https://www.mysql.com/) database driver.
4+
5+
## Contributing
6+
7+
Refer to our [contribution guidelines](https://github.com/jenkinsci/.github/blob/master/CONTRIBUTING.md)
8+
9+
## LICENSE
10+
11+
Licensed under MIT, see [LICENSE](LICENSE.md)
12+

pom.xml

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,43 @@
33
<parent>
44
<groupId>org.jenkins-ci.plugins</groupId>
55
<artifactId>plugin</artifactId>
6-
<version>3.9</version>
6+
<version>4.15</version>
77
<relativePath />
88
</parent>
99

10-
<groupId>org.jenkins-ci.plugins</groupId>
1110
<artifactId>database-mysql</artifactId>
12-
<version>1.4</version>
11+
<version>${revision}${changelist}</version>
1312
<packaging>hpi</packaging>
1413
<name>MySQL Database Plugin</name>
1514

16-
<url>https://wiki.jenkins-ci.org/display/JENKINS/MySQL+Database+Plugin</url>
15+
<url>https://github.com/jenkinsci/database-mysql-plugin</url>
1716

1817
<properties>
18+
<revision>1.4</revision>
19+
<changelist>-SNAPSHOT</changelist>
20+
<gitHubRepo>jenkinsci/database-mysql-plugin</gitHubRepo>
21+
<jenkins.version>2.235.1</jenkins.version>
1922
<java.level>8</java.level>
23+
<database.version>1.7</database.version>
2024
</properties>
2125

26+
<licenses>
27+
<license>
28+
<name>MIT License</name>
29+
<url>https://opensource.org/licenses/MIT</url>
30+
</license>
31+
</licenses>
32+
2233
<dependencies>
2334
<dependency>
2435
<groupId>mysql</groupId>
2536
<artifactId>mysql-connector-java</artifactId>
26-
<version>8.0.21</version>
27-
</dependency>
28-
<dependency>
29-
<groupId>${project.groupId}</groupId>
30-
<artifactId>database</artifactId>
31-
<version>1.1</version>
37+
<version>8.0.22</version>
3238
</dependency>
3339
<dependency>
34-
<groupId>${project.groupId}</groupId>
40+
<groupId>org.jenkins-ci.plugins</groupId>
3541
<artifactId>database</artifactId>
36-
<classifier>tests</classifier>
37-
<version>1.1</version>
38-
<scope>test</scope>
42+
<version>${database.version}</version>
3943
</dependency>
4044
</dependencies>
4145

@@ -54,9 +58,9 @@
5458
</pluginRepositories>
5559

5660
<scm>
57-
<connection>scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git</connection>
58-
<developerConnection>scm:git:[email protected]:jenkinsci/${project.artifactId}-plugin.git</developerConnection>
59-
<url>http://github.com/jenkinsci/${project.artifactId}-plugin</url>
60-
<tag>HEAD</tag>
61+
<connection>scm:git:git://github.com/${gitHubRepo}.git</connection>
62+
<developerConnection>scm:git:[email protected]:${gitHubRepo}.git</developerConnection>
63+
<url>http://github.com/${gitHubRepo}</url>
64+
<tag>${scmTag}</tag>
6165
</scm>
6266
</project>

0 commit comments

Comments
 (0)