Safe

Library for use with Concrete that provides compile-time safety in order to defeat issues around 'requiredness' in Thrift.

License

License

GroupId

GroupId

edu.jhu.hlt
ArtifactId

ArtifactId

concrete-safe
Last Version

Last Version

4.15.0
Release Date

Release Date

Type

Type

jar
Description

Description

Safe
Library for use with Concrete that provides compile-time safety in order to defeat issues around 'requiredness' in Thrift.
Project Organization

Project Organization

Johns Hopkins University HLTCOE

Download concrete-safe

How to add to project

<!-- https://jarcasting.com/artifacts/edu.jhu.hlt/concrete-safe/ -->
<dependency>
    <groupId>edu.jhu.hlt</groupId>
    <artifactId>concrete-safe</artifactId>
    <version>4.15.0</version>
</dependency>
// https://jarcasting.com/artifacts/edu.jhu.hlt/concrete-safe/
implementation 'edu.jhu.hlt:concrete-safe:4.15.0'
// https://jarcasting.com/artifacts/edu.jhu.hlt/concrete-safe/
implementation ("edu.jhu.hlt:concrete-safe:4.15.0")
'edu.jhu.hlt:concrete-safe:jar:4.15.0'
<dependency org="edu.jhu.hlt" name="concrete-safe" rev="4.15.0">
  <artifact name="concrete-safe" type="jar" />
</dependency>
@Grapes(
@Grab(group='edu.jhu.hlt', module='concrete-safe', version='4.15.0')
)
libraryDependencies += "edu.jhu.hlt" % "concrete-safe" % "4.15.0"
[edu.jhu.hlt/concrete-safe "4.15.0"]

Dependencies

compile (4)

Group / Artifact Type Version
joda-time : joda-time jar 2.9.9
commons-io : commons-io jar 2.5
edu.jhu.hlt : acute jar 2.3.0
edu.jhu.hlt : concrete-core jar 4.15.0

runtime (6)

Group / Artifact Type Version
org.apache.logging.log4j : log4j-api jar 2.9.1
org.apache.logging.log4j : log4j-core jar 2.9.1
org.apache.logging.log4j : log4j-slf4j-impl jar 2.9.1
com.fasterxml.jackson.core : jackson-core jar 2.9.8
com.fasterxml.jackson.core : jackson-databind jar 2.9.8
com.fasterxml.jackson.core : jackson-annotations jar 2.9.8

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-all jar 1.10.19

Project Modules

There are no modules declared in this project.

Copyright 2012-2019 Johns Hopkins University HLTCOE. All rights reserved. See LICENSE in the project root directory.

Concrete Java

Java libraries for the Concrete HLT data schema.

JavaDoc API documentation is hosted on javadoc.io

Generating Thrift Java files

Call generate.sh, where the first and only argument is the path to the thrift files from concrete.

As an example, if the concrete repo and this repo are in the same directory, run:

./generate.sh ../concrete/thrift

Be aware that you'll need Thrift 0.10.0 installed and in your $PATH.

Building and Installing

Maven is used to build concrete-java:

mvn clean package

To install the jars into your local maven repository, run:

mvn clean install

Using an IDE

If you are using an IDE such as Eclipse or IntelliJ, you are likely getting many build errors because some modules use FreeBuilder. See the FreeBuilder readme for instructions on configuring your IDE.

Maven Dependencies

See the pom.xml file for the current version.

<dependency>
  <groupId>edu.jhu.hlt</groupId>
  <artifactId>concrete-core</artifactId>
  <version>x.y.z</version>
</dependency>
<dependency>
  <groupId>edu.jhu.hlt</groupId>
  <artifactId>concrete-safe</artifactId>
  <version>x.y.z</version>
</dependency>
<dependency>
  <groupId>edu.jhu.hlt</groupId>
  <artifactId>concrete-util</artifactId>
  <version>x.y.z</version>
</dependency>
<dependency>
  <groupId>edu.jhu.hlt</groupId>
  <artifactId>concrete-validation</artifactId>
  <version>x.y.z</version>
</dependency>
edu.jhu.hlt

JHU Human Language Technology Center of Excellence

Versions

Version
4.15.0
4.14.2
4.14.1
4.14.0
4.13.2
4.13.1
4.13.0
4.12.0
4.11.2.1
4.10.7
4.10.6
4.10.5
4.10.4
4.10.3
4.10.2
4.10.1
4.10.0
4.9.2
4.9.1
4.9.0
4.8.10
4.8.9
4.8.8
4.8.7
4.8.6
4.8.5
4.8.4
4.8.3
4.8.2
4.8.0
4.6.10
4.6.9
4.6.8
4.6.7
4.6.6
4.6.5
4.6.4
4.6.3
4.6.2
4.6.1
4.6.0
4.5.9
4.5.8
4.5.7
4.5.6
4.5.5
4.5.4
4.5.3
4.5.2
4.5.1
4.5.0
4.4.12
4.4.11
4.4.10
4.4.9
4.4.8
4.4.7
4.4.6
4.4.5
4.4.4
4.4.3
4.4.2
4.4.1