• 0.10.2

jcabi-mysql:classify

Full name:

com.jcabi:jcabi-mysql-maven-plugin:0.10.2:classify

Description:

Classify current platform.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 0.1.
  • Binds by default to the lifecycle phase: initialize.

Required Parameters

Name Type Since Description
<classifier> String 0.1 Classifier to set.

This is the name of the Maven property to set, for example "mysql.classifier".


Default value is: mysql.classifier.
<mappings> List 0.9.0 Classification mappings.

This may be useful when your platform doesn't detect correctly (it may happen). In this case you may either specify the classifier explicitly for the maven-dependency-plugin, or use this mechanism of mappings. Each mapping must be formatted as "from to" (with a space inside), for example "linux-i386 linux-x86". When the platform is detected as "linux-i386", it will be changed to "linux-x86". You can specify multiple mappings, for example:

<configuration>
  <mappings>
    <mapping>linux-i386 linux-x86</mapping>
    <mapping>linux-amd64 linux-x86_64</mapping>
  </mappings>
</configuration>

By default, the following mapping is used:

<configuration>
  <mappings>
    <mapping>linux-i386 linux-x86</mapping>
  </mappings>
</configuration>

It means that if your platform is detected as "i386", it will be changed to "x86".


Parameter Details

<classifier>

Classifier to set.

This is the name of the Maven property to set, for example "mysql.classifier".

  • Type: java.lang.String
  • Since: 0.1
  • Required: Yes
  • Default: mysql.classifier

<mappings>

Classification mappings.

This may be useful when your platform doesn't detect correctly (it may happen). In this case you may either specify the classifier explicitly for the maven-dependency-plugin, or use this mechanism of mappings. Each mapping must be formatted as "from to" (with a space inside), for example "linux-i386 linux-x86". When the platform is detected as "linux-i386", it will be changed to "linux-x86". You can specify multiple mappings, for example:

<configuration>
  <mappings>
    <mapping>linux-i386 linux-x86</mapping>
    <mapping>linux-amd64 linux-x86_64</mapping>
  </mappings>
</configuration>

By default, the following mapping is used:

<configuration>
  <mappings>
    <mapping>linux-i386 linux-x86</mapping>
  </mappings>
</configuration>

It means that if your platform is detected as "i386", it will be changed to "x86".

  • Type: java.util.List
  • Since: 0.9.0
  • Required: Yes