AVSystem commons

AVSystem commons library for Scala

License

License

GroupId

GroupId

com.avsystem.commons
ArtifactId

ArtifactId

commons-core_2.11
Last Version

Last Version

1.48.2
Release Date

Release Date

Type

Type

jar
Description

Description

AVSystem commons
AVSystem commons library for Scala
Project URL

Project URL

https://github.com/AVSystem/scala-commons
Project Organization

Project Organization

AVSystem
Source Code Management

Source Code Management

https://github.com/AVSystem/scala-commons.git

Download commons-core_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.avsystem.commons/commons-core_2.11/ -->
<dependency>
    <groupId>com.avsystem.commons</groupId>
    <artifactId>commons-core_2.11</artifactId>
    <version>1.48.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.avsystem.commons/commons-core_2.11/
implementation 'com.avsystem.commons:commons-core_2.11:1.48.2'
// https://jarcasting.com/artifacts/com.avsystem.commons/commons-core_2.11/
implementation ("com.avsystem.commons:commons-core_2.11:1.48.2")
'com.avsystem.commons:commons-core_2.11:jar:1.48.2'
<dependency org="com.avsystem.commons" name="commons-core_2.11" rev="1.48.2">
  <artifact name="commons-core_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.avsystem.commons', module='commons-core_2.11', version='1.48.2')
)
libraryDependencies += "com.avsystem.commons" % "commons-core_2.11" % "1.48.2"
[com.avsystem.commons/commons-core_2.11 "1.48.2"]

Dependencies

compile (6)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.12
com.avsystem.commons : commons-macros_2.11 jar 1.48.2
com.avsystem.commons : commons-annotations_2.11 jar 1.48.2
com.google.code.findbugs : jsr305 Optional jar 3.0.2
com.google.guava : guava Optional jar 23.0
io.monix : monix_2.11 Optional jar 3.3.0

provided (1)

Group / Artifact Type Version
com.github.ghik : silencer-lib_2.11.12 jar 1.7.1

test (5)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 jar 3.2.1
org.scalacheck : scalacheck_2.11 jar 1.14.3
org.scalatestplus : scalacheck-1-14_2.11 jar 3.2.1.0
org.mockito : mockito-core jar 3.5.2
org.apache.commons : commons-io jar 1.3.2

Project Modules

There are no modules declared in this project.

AVSystem Commons Library for Scala

Build Status Maven Central

API reference

NOTE This library is available to the public but it's mostly used internally at AVSystem. Therefore, API may frequently change in an incompatible way.

Modules and features

  • commons-core - basic language utilities and generic features not associated with any particular library of framework:
    • GenCodec: format-agnostic, typeclass based serialization framework with automatic typeclass derivation for case classes and sealed hierarchies
    • Typesafe RPC/proxy framework used in particular by Udash Framework for client-server communication
    • Better enumeration support for Scala - ValueEnum, SealedEnumCompanion, NamedEnumCompanion, OrderedEnum
    • Java interoperability utilities - JavaInterop
    • Google Guava interoperability utilities (dependency on Guava is optional)
    • Various Scala language-level utilities
    • Lightweight alternatives for Scala Option - Opt - guarantees no nulls, OptArg, NOpt, OptRef (implemented as value classes)
  • commons-redis - Scala driver for Redis
  • commons-akka - Akka utilities, primarily AkkaRPCFramework which supports methods returning Monix Observables
  • commons-macros contains implementations of macros used in other modules and reusable macro utilities:
    • MacroCommons trait with several convenience functions for implementing macros
    • TypeClassDerivation - implements infrastructure for automatic type class derivation
  • commons-analyzer - static analyzer for Scala code, i.e. a compiler plugin that enforces various (mostly unrelated) rules and conventions on source code
  • commons-jetty - Jetty server utilities
  • commons-mongo - MongoDB utilities for Scala & Java MongoDB drivers, integration with GenCodec
  • commons-hocon - Utilities for working with HOCON
    • HoconInput - an Input implementation for GenCodec that can read Lightbend Config (com.typesafe.config.Config)
    • An AST (HTree) and a lexer/parser for HOCON (HLexer, HParser)
  • commons-spring - Spring framework utilities:
    • HoconBeanDefinitionReader - an utility that allows you to define Spring application context using HOCON format

Development

  • Introduce your changes
  • Write some unit tests
  • Bump the version number in version.sbt file
  • Submit a pull request

Test on local environment

  • Publish the artifact locally
    • Use sbt publishLocal for projects managed by Ivy (e.g. SBT projects)
    • Or sbt publishM2 for projects managed by maven
  • Update avsystem-commons dependency version in your project and refresh your project dependencies
com.avsystem.commons

AVSystem

Device Management Solutions

Versions

Version
1.48.2
1.48.1
1.48.0
1.47.4
1.47.3
1.47.2
1.47.1
1.47.0
1.46.3
1.46.2
1.46.0
1.45.0
1.44.2
1.44.1
1.44.0
1.43.0
1.42.7
1.42.5
1.42.4
1.42.3
1.42.2
1.42.1
1.42.0
1.41.0
1.40.1
1.40.0
1.39.0
1.38.0
1.37.0
1.36.0
1.35.0
1.34.21
1.34.20
1.34.19
1.34.18
1.34.17
1.34.16
1.34.15
1.34.14
1.34.13
1.34.12
1.34.11
1.34.10
1.34.9
1.34.8
1.34.7
1.34.6
1.34.5
1.34.4
1.34.3
1.34.2
1.34.1
1.34.0
1.33.3
1.33.2
1.33.1
1.33.0
1.32.2
1.32.1
1.32.0
1.31.0
1.30.0
1.29.1
1.29.0
1.28.3
1.28.2
1.28.1
1.28.0
1.27.8
1.27.7
1.27.6
1.27.5
1.27.4
1.27.3
1.27.2
1.27.1
1.27.0
1.26.3
1.26.2
1.26.1
1.25.9
1.25.8
1.25.7
1.25.6
1.25.5
1.25.4
1.25.3
1.25.2
1.25.1
1.25.0
1.24.3
1.24.2
1.24.1.1
1.24.1
1.24.0
1.23.2
1.23.1
1.23.0
1.22.7
1.22.6
1.22.5
1.22.4
1.22.3
1.22.2
1.22.1
1.22.0
1.21.5
1.21.4
1.21.3
1.21.2
1.21.1
1.21.0
1.20.6
1.20.5
1.20.4
1.20.3
1.20.2
1.20.1
1.20.0
1.19.14
1.19.13
1.19.11
1.19.10
1.19.9
1.19.8
1.19.7
1.19.6
1.19.5
1.19.4
1.19.3
1.19.1
1.19.0
1.18.6
1.18.5
1.18.4
1.18.3
1.18.2
1.18.1
1.18.0
1.17.4
1.17.3
1.17.2
1.17.1
1.17.0
1.16.3
1.16.2
1.16.1
1.16.0
1.15.1
1.15.0
1.14.2
1.14.0
1.13.4
1.13.3
1.13.2
1.13.1
1.13.0
1.12.0