Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mike10004/mysql-dists
Builds multiple mysql distribution artifacts for use with jcabi-mysql-maven-plugin
https://github.com/mike10004/mysql-dists
Last synced: 15 days ago
JSON representation
Builds multiple mysql distribution artifacts for use with jcabi-mysql-maven-plugin
- Host: GitHub
- URL: https://github.com/mike10004/mysql-dists
- Owner: mike10004
- License: gpl-2.0
- Created: 2016-08-30T17:51:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-21T17:06:13.000Z (over 6 years ago)
- Last Synced: 2024-10-07T09:21:13.376Z (3 months ago)
- Language: Java
- Size: 44.9 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mysql-dists
Projects that build mysql distribution artifacts for use as embedded
databases in Maven projects. These are designed to be compatible with
[jcabi-mysql-maven-plugin](http://mysql.jcabi.com/).Each subdirectory is an independent project configured to do the
following:* download a MySQL or MariaDB tarball
* extract the tarball
* repackage the contents as a zip usable as a jcabi-mysql-maven-plugin
MySQL distribution artifactEach project is configured with a "practice" profile that tests the
construction of that zip by downloading a tarball from the user web
directory on localhost. If you have Apache installed, you can enable
the userdir module and put the `practice/ziptest-1.0.tar.gz` tarball
in your shared directory such that it is downloadable from the URL
**http://localhost/~USERNAME/mysql-dists-test/ziptest-1.0.tar.gz**.To create a new MySQL distribution, make a copy of an existing subdirectory
and change values in `pom.xml`, as indicated by comments in that file, to
reflect the correct parameters for the target MySQL distribution. Then
run `mvn install` in your new directory to the new MySQL distribution zip to
your local repository.To confirm that it works, in the `example` directory, run
mvn verify -Dmysql-dist.artifactId=MY_DIST_ARTIFACTID -Dmysql-dist.version=MY_DIST_VERSION
and the project's integration tests will run using the embedded MySQL
distribution that you specified with the `mysql-dist.artifactId` and
`mysql-dist.version` system properties.