mysql-dists

Portables MySQL Maven artifacts

Лицензия

Лицензия

Категории

Категории

MySQL Данные Базы данных
Группа

Группа

com.github.mike10004
Идентификатор

Идентификатор

mysql-dists
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

pom
Описание

Описание

mysql-dists
Portables MySQL Maven artifacts
Ссылка на сайт

Ссылка на сайт

https://github.com/mike10004/mysql-dists
Система контроля версий

Система контроля версий

https://github.com/mike10004/mysql-dists

Скачать mysql-dists

Имя Файла Размер
mysql-dists-1.0.2.pom 4 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.mike10004/mysql-dists/ -->
<dependency>
    <groupId>com.github.mike10004</groupId>
    <artifactId>mysql-dists</artifactId>
    <version>1.0.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.mike10004/mysql-dists/
implementation 'com.github.mike10004:mysql-dists:1.0.2'
// https://jarcasting.com/artifacts/com.github.mike10004/mysql-dists/
implementation ("com.github.mike10004:mysql-dists:1.0.2")
'com.github.mike10004:mysql-dists:pom:1.0.2'
<dependency org="com.github.mike10004" name="mysql-dists" rev="1.0.2">
  <artifact name="mysql-dists" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.mike10004', module='mysql-dists', version='1.0.2')
)
libraryDependencies += "com.github.mike10004" % "mysql-dists" % "1.0.2"
[com.github.mike10004/mysql-dists "1.0.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

  • example

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.

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 artifact

Each 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.

Версии библиотеки

Версия
1.0.2