pkgforce

Salesforce Metadata Management Utility Library

License

License

GroupId

GroupId

com.github.nawforce
ArtifactId

ArtifactId

pkgforce_2.12
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

pkgforce
Salesforce Metadata Management Utility Library
Project URL

Project URL

https://github.com/nawforce/pkgforce
Project Organization

Project Organization

com.github.nawforce
Source Code Management

Source Code Management

https://github.com/nawforce/pkgforce

Download pkgforce_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.nawforce/pkgforce_2.12/ -->
<dependency>
    <groupId>com.github.nawforce</groupId>
    <artifactId>pkgforce_2.12</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.nawforce/pkgforce_2.12/
implementation 'com.github.nawforce:pkgforce_2.12:1.0.0'
// https://jarcasting.com/artifacts/com.github.nawforce/pkgforce_2.12/
implementation ("com.github.nawforce:pkgforce_2.12:1.0.0")
'com.github.nawforce:pkgforce_2.12:jar:1.0.0'
<dependency org="com.github.nawforce" name="pkgforce_2.12" rev="1.0.0">
  <artifact name="pkgforce_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.nawforce', module='pkgforce_2.12', version='1.0.0')
)
libraryDependencies += "com.github.nawforce" % "pkgforce_2.12" % "1.0.0"
[com.github.nawforce/pkgforce_2.12 "1.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.11
com.lihaoyi : upickle_2.12 jar 1.2.0
org.scala-lang.modules : scala-xml_2.12 jar 1.1.1
org.antlr : antlr4-runtime jar 4.8-1

test (2)

Group / Artifact Type Version
org.scalatest : scalatest_2.12 jar 3.1.0
com.google.jimfs : jimfs jar 1.1

Project Modules

There are no modules declared in this project.

pkgforce

master: Master Build Status

Provides utility functions for the handling collections of Salesforce metadata. The library is implemented in Scala in a style that allows it to be compiled for either use on both JVM or node. This library was originally part of
ApexLink which can perform static analysis of Apex code and support Salesforce IDEs. It has been spun out to allow it to be used for other tasks.

API Model (TODO)

The library is mostly written in Scala to support dual building for Java & JS. This model works well when you are also using Scala but it more awkward for JS or Java clients. As I a only consume this from other Scala code I have not yet created a stable API to make this easier. Please feel free to create an Issue for anything you would like to re-use.

Java Distribution via Maven

To use in a JVM project

<dependency>
    <groupId>com.github.nawforce</groupId>
    <artifactId>pkgforce</artifactId>
    <version>1.2.0</version>
</dependency>

Building

The dual build (Java & JS) is handled by sbt:

sbt build

To run tests:

sbt test   

Source & Licenses

All the source code included uses a 3-clause BSD license. The only third-party component included is the Apex Antlr4 grammar originally from Tooling-force.com, although the version used is now markedly different from the original.

Versions

Version
1.0.0