Adding SCell API to your Maven Java project

SCell Public API supports Maven and Gradle projects.

To use the SCell Public API you should add the settings.xml to your local Maven repository folder ($HOME/.m2) configured with credentials for the Intechcore's Nexus.

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

<servers>
    <server>
        <id>intechcore-server</id>
        <username>given_username</username>
        <password>given_password</password>
    </server>
</servers>

</settings>

Now you can connect SCell API as dependencies in your Maven project. The api-interfaces-core and api-impl-core are obligatory, the api-interfaces-ui and api-impl-ui provide the UI spreadsheet control:

    <repositories>
        <repository>
            <id>intechcore-server</id>
            <name>scalable components demo</name>
            <url>https://nexus.intechcore.online/repository/maven-scomponents-demo</url> <!-- Remove if the full version is used -->
            <url>https://nexus.intechcore.online/repository/maven-scomponents-releases-scell/</url> <!-- Remove if the demo version is used -->
        </repository>
    </repositories>

    <properties>
        <!-- leave just one you need, remove the rest -->
        <scell.api.version>1.4.6-java8</scell.api.version>       <!-- to use Java 8 -->
        <scell.api.version>1.4.6-java11</scell.api.version>      <!-- to use Java from 11 to 21 -->
        <scell.api.version>1.4.6-java8-DEMO</scell.api.version>  <!-- DEMO to use Java 8 -->
        <scell.api.version>1.4.6-java11-DEMO</scell.api.version> <!-- DEMO to use Java from 11 to 21 -->
    </properties>

    <dependencies>
        <dependency>
            <groupId>com.intechcore.scomponents.scell</groupId>
            <artifactId>api-interfaces-core</artifactId>
            <version>${scell.api.version}</version>
        </dependency>
        <dependency>
            <groupId>com.intechcore.scomponents.scell</groupId>
            <artifactId>api-impl-core</artifactId>
            <version>${scell.api.version}</version>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>com.intechcore.scomponents.scell</groupId>
            <artifactId>api-interfaces-ui</artifactId>
            <version>${scell.api.version}</version>
        </dependency>
        <dependency>
            <groupId>com.intechcore.scomponents.scell</groupId>
            <artifactId>api-impl-ui</artifactId>
            <version>${scell.api.version}</version>
            <scope>runtime</scope>
        </dependency>
    </dependencies>

ATTENTION! Scope runtime is required for the implementations

Now you can use the first access-point of the API - ScellApiEntryPoint.

Next - Hello World