-SNAPSHOT
Dependencies
EA SDK dependencies should be available starting Monday, July 29. The builds for these are scheduled weekly.
EA dependency APIs cannot be guaranteed to be stable. Be prepared to refactor during the EA window.
These artifacts are published to nexus.inductiveautomation.com like SDK artifacts for regular releases. But with a few differences:
- As
-SNAPSHOT
versions. Even npm packages. - To "beta" subprepositories. They allow anonymous access like the regular subrepos.
Maven Dependencies
Gradle
For resolving EA Maven artifacts in Gradle builds, add the inductiveautomation-beta
repository to either your build script or root settings script.
// build.gradle.kts
// ...
repositories {
// ...
maven {
name = "inductiveautomation-beta"
url = uri(
"https://nexus.inductiveautomation.com/repository/inductiveautomation-beta/"
)
}
// ...
}
dependencies {
// ...
implementation("com.inductiveautomation.ignitionsdk:ignition-common:8.3.0-SNAPSHOT")
// ...
}
// settings.gradle.kts
// ...
dependencyResolutionManagement {
// ...
repositories {
maven {
name = "inductiveautomation-beta"
url = uri(
"https://nexus.inductiveautomation.com/repository/inductiveautomation-beta/"
)
}
// ...
Maven
For Maven builds, add the add the inductiveautomation-beta
repository to your POM.
<!-- pom.xml -->
<!-- ... -->
<repository>
<id>ia-beta</id>
<url>https://nexus.inductiveautomation.com/repository/inductiveautomation-beta</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<!-- ... -->
<dependency>
<groupId>com.inductiveautomation.ignitionsdk</groupId>
<artifactId>ignition-common</artifactId>
<version>8.3.0-SNAPSHOT</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<!-- ... -->
SDK Javadoc
A link is in the usual place, at the SDK Examples Javadocs & Notable API Changes wiki page.
npm Dependencies
Yarn projects can be configured to resolve EA npm packages.
# .yarnrc.yml
# ...
npmScopes:
inductiveautomation:
npmRegistryServer: "https://nexus.inductiveautomation.com/repository/inductiveautomation-beta-node-packages/"
# ...
// package.json
// ...
"dependencies": {
// ...
"@inductiveautomation/ignition-lib": "^1.3.0-SNAPSHOT",
"@inductiveautomation/ignition-react": "^1.3.0-SNAPSHOT",
"@inductiveautomation/perspective-client": "^2.3.0-SNAPSHOT",
// ...
},
// ...
That ^<n>.3.0-SNAPSHOT
semantic version pattern will resolve to the newest snapshot build similar to
the way resolution of Maven snapshot artifacts are resolved in Gradle and Maven builds.
After a yarn install
the lockfile will contain EA npm dependencies like this one, for example.
# yarn.lock
# ...
"@inductiveautomation/perspective-client@npm:^2.3.0-SNAPSHOT":
version: 2.3.0-SNAPSHOT.20240722.1027
resolution: "@inductiveautomation/perspective-client@npm:2.3.0-SNAPSHOT.20240722.1027"
# ...