Adding SCell API to your Java project
SCell Public API supports only Maven projects.
To use the SCell Public API you should have the settings.xml
for your local Maven repository folder (.m2) configured with credentials for the SCalable Component'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-demo</id>
<username>given_username</username>
<password>given_password</password>
</server>
</servers>
</settings>
Now you can connect SCell API as dependency in your Maven project. The api-interfaces-core
and api-impl-core
are required in any case, and api-interfaces-ui
and api-impl-ui
provide the UI spreadsheet control:
...
<repositories>
<repository>
<id>intechcore-demo</id>
<name>scalable components demo</name>
<url>https://nexus.intechcore.online/repository/maven-scomponents-demo</url>
</repository>
</repositories>
...
<dependencies>
...
<dependency>
<groupId>com.intechcore.scomponents.scell</groupId>
<artifactId>api-interfaces-core</artifactId>
<version>1.0.3-java11</version>
</dependency>
<dependency>
<groupId>com.intechcore.scomponents.scell</groupId>
<artifactId>api-impl-core</artifactId>
<version>1.0.3-java11</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.intechcore.scomponents.scell</groupId>
<artifactId>api-interfaces-ui</artifactId>
<version>1.0.3-java11</version>
</dependency>
<dependency>
<groupId>com.intechcore.scomponents.scell</groupId>
<artifactId>api-impl-ui</artifactId>
<version>1.0.3-java11</version>
<scope>runtime</scope>
</dependency>
...
</dependencies>
...
- set your java version with
-java8
or-java11
ATTENTION! Scope runtime
is required!
Now you can use first access-point of the API - ScellApiEntryPoint
.