updated build plugins/dependencies: spotless, bnd, junit, archunit

pull/19/head
Stefan Feuerhahn 5 years ago
parent 066a034c49
commit 75ad0eb76c

@ -3,8 +3,8 @@ plugins {
`maven-publish` `maven-publish`
signing signing
eclipse eclipse
id("biz.aQute.bnd.builder") version "5.0.0" id("biz.aQute.bnd.builder") version "5.1.1"
id("com.diffplug.gradle.spotless") version "3.27.2" id("com.diffplug.gradle.spotless") version "4.4.0"
id("io.codearte.nexus-staging") version "0.21.2" id("io.codearte.nexus-staging") version "0.21.2"
} }
@ -65,7 +65,7 @@ tasks.register<Tar>("tar") {
//-----java root project configurations //-----java root project configurations
dependencies { dependencies {
implementation("com.beanit:asn1bean:1.11.4-SNAPSHOT") implementation("com.beanit:asn1bean:1.12.0")
implementation("com.toedter:jcalendar:1.4") implementation("com.toedter:jcalendar:1.4")
implementation("org.slf4j:slf4j-api:1.7.25") implementation("org.slf4j:slf4j-api:1.7.25")
runtimeOnly("ch.qos.logback:logback-classic:1.2.3") runtimeOnly("ch.qos.logback:logback-classic:1.2.3")
@ -138,7 +138,6 @@ configure(javaProjects) {
repositories { repositories {
mavenCentral() mavenCentral()
mavenLocal()
} }
java { java {
@ -149,8 +148,8 @@ configure(javaProjects) {
} }
dependencies { dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:5.5.1") testImplementation("org.junit.jupiter:junit-jupiter:5.6.2")
testImplementation("com.tngtech.archunit:archunit-junit5:0.13.1") testImplementation("com.tngtech.archunit:archunit-junit5:0.14.1")
} }
tasks.test { tasks.test {

@ -23,6 +23,7 @@ public class Myexternal implements BerType, Serializable {
private BerObjectIdentifier directReference = null; private BerObjectIdentifier directReference = null;
private BerInteger indirectReference = null; private BerInteger indirectReference = null;
private Encoding encoding = null; private Encoding encoding = null;
public Myexternal() {} public Myexternal() {}
public Myexternal(byte[] code) { public Myexternal(byte[] code) {

@ -23,6 +23,7 @@ public class Myexternal2 implements BerType, Serializable {
private BerObjectIdentifier directReference = null; private BerObjectIdentifier directReference = null;
private BerInteger indirectReference = null; private BerInteger indirectReference = null;
private Encoding encoding = null; private Encoding encoding = null;
public Myexternal2() {} public Myexternal2() {}
public Myexternal2(byte[] code) { public Myexternal2(byte[] code) {

@ -17,6 +17,7 @@ public class CPAPPDU implements BerType, Serializable {
private byte[] code = null; private byte[] code = null;
private ModeSelector modeSelector = null; private ModeSelector modeSelector = null;
private NormalModeParameters normalModeParameters = null; private NormalModeParameters normalModeParameters = null;
public CPAPPDU() {} public CPAPPDU() {}
public CPAPPDU(byte[] code) { public CPAPPDU(byte[] code) {

@ -17,6 +17,7 @@ public class CPType implements BerType, Serializable {
private byte[] code = null; private byte[] code = null;
private ModeSelector modeSelector = null; private ModeSelector modeSelector = null;
private NormalModeParameters normalModeParameters = null; private NormalModeParameters normalModeParameters = null;
public CPType() {} public CPType() {}
public CPType(byte[] code) { public CPType(byte[] code) {

@ -19,6 +19,7 @@ public class ContextList implements BerType, Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private byte[] code = null; private byte[] code = null;
private List<SEQUENCE> seqOf = null; private List<SEQUENCE> seqOf = null;
public ContextList() { public ContextList() {
seqOf = new ArrayList<SEQUENCE>(); seqOf = new ArrayList<SEQUENCE>();
} }
@ -155,6 +156,7 @@ public class ContextList implements BerType, Serializable {
private PresentationContextIdentifier presentationContextIdentifier = null; private PresentationContextIdentifier presentationContextIdentifier = null;
private AbstractSyntaxName abstractSyntaxName = null; private AbstractSyntaxName abstractSyntaxName = null;
private TransferSyntaxNameList transferSyntaxNameList = null; private TransferSyntaxNameList transferSyntaxNameList = null;
public SEQUENCE() {} public SEQUENCE() {}
public SEQUENCE(byte[] code) { public SEQUENCE(byte[] code) {

@ -21,6 +21,7 @@ public class PDVList implements BerType, Serializable {
private TransferSyntaxName transferSyntaxName = null; private TransferSyntaxName transferSyntaxName = null;
private PresentationContextIdentifier presentationContextIdentifier = null; private PresentationContextIdentifier presentationContextIdentifier = null;
private PresentationDataValues presentationDataValues = null; private PresentationDataValues presentationDataValues = null;
public PDVList() {} public PDVList() {}
public PDVList(byte[] code) { public PDVList(byte[] code) {

@ -20,6 +20,7 @@ public class ResultList implements BerType, Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private byte[] code = null; private byte[] code = null;
private List<SEQUENCE> seqOf = null; private List<SEQUENCE> seqOf = null;
public ResultList() { public ResultList() {
seqOf = new ArrayList<SEQUENCE>(); seqOf = new ArrayList<SEQUENCE>();
} }

@ -19,6 +19,7 @@ public class AlternateAccess implements BerType, Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private byte[] code = null; private byte[] code = null;
private List<CHOICE> seqOf = null; private List<CHOICE> seqOf = null;
public AlternateAccess() { public AlternateAccess() {
seqOf = new ArrayList<CHOICE>(); seqOf = new ArrayList<CHOICE>();
} }

@ -20,6 +20,7 @@ public class AlternateAccessSelection implements BerType, Serializable {
private SelectAccess selectAccess = null; private SelectAccess selectAccess = null;
public AlternateAccessSelection() {} public AlternateAccessSelection() {}
public AlternateAccessSelection(byte[] code) { public AlternateAccessSelection(byte[] code) {
this.code = code; this.code = code;
} }
@ -140,6 +141,7 @@ public class AlternateAccessSelection implements BerType, Serializable {
private byte[] code = null; private byte[] code = null;
private AccessSelection accessSelection = null; private AccessSelection accessSelection = null;
private AlternateAccess alternateAccess = null; private AlternateAccess alternateAccess = null;
public SelectAlternateAccess() {} public SelectAlternateAccess() {}
public SelectAlternateAccess(byte[] code) { public SelectAlternateAccess(byte[] code) {
@ -299,7 +301,9 @@ public class AlternateAccessSelection implements BerType, Serializable {
private Unsigned32 index = null; private Unsigned32 index = null;
private IndexRange indexRange = null; private IndexRange indexRange = null;
private BerNull allElements = null; private BerNull allElements = null;
public AccessSelection() {} public AccessSelection() {}
public AccessSelection(byte[] code) { public AccessSelection(byte[] code) {
this.code = code; this.code = code;
} }
@ -739,7 +743,9 @@ public class AlternateAccessSelection implements BerType, Serializable {
private Unsigned32 index = null; private Unsigned32 index = null;
private IndexRange indexRange = null; private IndexRange indexRange = null;
private BerNull allElements = null; private BerNull allElements = null;
public SelectAccess() {} public SelectAccess() {}
public SelectAccess(byte[] code) { public SelectAccess(byte[] code) {
this.code = code; this.code = code;
} }

@ -35,7 +35,9 @@ public class Data implements BerType, Serializable {
private TimeOfDay binaryTime = null; private TimeOfDay binaryTime = null;
private MMSString mMSString = null; private MMSString mMSString = null;
private UtcTime utcTime = null; private UtcTime utcTime = null;
public Data() {} public Data() {}
public Data(byte[] code) { public Data(byte[] code) {
this.code = code; this.code = code;
} }

@ -22,7 +22,9 @@ public class DeleteNamedVariableListRequest implements BerType, Serializable {
private BerInteger scopeOfDelete = null; private BerInteger scopeOfDelete = null;
private ListOfVariableListName listOfVariableListName = null; private ListOfVariableListName listOfVariableListName = null;
private DomainName domainName = null; private DomainName domainName = null;
public DeleteNamedVariableListRequest() {} public DeleteNamedVariableListRequest() {}
public DeleteNamedVariableListRequest(byte[] code) { public DeleteNamedVariableListRequest(byte[] code) {
this.code = code; this.code = code;
} }

@ -21,6 +21,7 @@ public class FileDirectoryResponse implements BerType, Serializable {
private byte[] code = null; private byte[] code = null;
private ListOfDirectoryEntry listOfDirectoryEntry = null; private ListOfDirectoryEntry listOfDirectoryEntry = null;
private BerBoolean moreFollows = null; private BerBoolean moreFollows = null;
public FileDirectoryResponse() {} public FileDirectoryResponse() {}
public FileDirectoryResponse(byte[] code) { public FileDirectoryResponse(byte[] code) {

@ -19,6 +19,7 @@ public class GetNameListRequest implements BerType, Serializable {
private ObjectClass objectClass = null; private ObjectClass objectClass = null;
private ObjectScope objectScope = null; private ObjectScope objectScope = null;
private Identifier continueAfter = null; private Identifier continueAfter = null;
public GetNameListRequest() {} public GetNameListRequest() {}
public GetNameListRequest(byte[] code) { public GetNameListRequest(byte[] code) {

@ -21,6 +21,7 @@ public class GetNameListResponse implements BerType, Serializable {
private byte[] code = null; private byte[] code = null;
private ListOfIdentifier listOfIdentifier = null; private ListOfIdentifier listOfIdentifier = null;
private BerBoolean moreFollows = null; private BerBoolean moreFollows = null;
public GetNameListResponse() {} public GetNameListResponse() {}
public GetNameListResponse(byte[] code) { public GetNameListResponse(byte[] code) {

@ -20,6 +20,7 @@ public class InformationReport implements BerType, Serializable {
private byte[] code = null; private byte[] code = null;
private VariableAccessSpecification variableAccessSpecification = null; private VariableAccessSpecification variableAccessSpecification = null;
private ListOfAccessResult listOfAccessResult = null; private ListOfAccessResult listOfAccessResult = null;
public InformationReport() {} public InformationReport() {}
public InformationReport(byte[] code) { public InformationReport(byte[] code) {

@ -20,6 +20,7 @@ public class InitiateRequestPDU implements BerType, Serializable {
private Integer16 proposedMaxServOutstandingCalled = null; private Integer16 proposedMaxServOutstandingCalled = null;
private Integer8 proposedDataStructureNestingLevel = null; private Integer8 proposedDataStructureNestingLevel = null;
private InitRequestDetail initRequestDetail = null; private InitRequestDetail initRequestDetail = null;
public InitiateRequestPDU() {} public InitiateRequestPDU() {}
public InitiateRequestPDU(byte[] code) { public InitiateRequestPDU(byte[] code) {

@ -20,6 +20,7 @@ public class InitiateResponsePDU implements BerType, Serializable {
private Integer16 negotiatedMaxServOutstandingCalled = null; private Integer16 negotiatedMaxServOutstandingCalled = null;
private Integer8 negotiatedDataStructureNestingLevel = null; private Integer8 negotiatedDataStructureNestingLevel = null;
private InitResponseDetail initResponseDetail = null; private InitResponseDetail initResponseDetail = null;
public InitiateResponsePDU() {} public InitiateResponsePDU() {}
public InitiateResponsePDU(byte[] code) { public InitiateResponsePDU(byte[] code) {

@ -18,6 +18,7 @@ public class ObjectName implements BerType, Serializable {
private Identifier vmdSpecific = null; private Identifier vmdSpecific = null;
private DomainSpecific domainSpecific = null; private DomainSpecific domainSpecific = null;
private Identifier aaSpecific = null; private Identifier aaSpecific = null;
public ObjectName() {} public ObjectName() {}
public ObjectName(byte[] code) { public ObjectName(byte[] code) {

@ -20,6 +20,7 @@ public class ReadResponse implements BerType, Serializable {
private byte[] code = null; private byte[] code = null;
private VariableAccessSpecification variableAccessSpecification = null; private VariableAccessSpecification variableAccessSpecification = null;
private ListOfAccessResult listOfAccessResult = null; private ListOfAccessResult listOfAccessResult = null;
public ReadResponse() {} public ReadResponse() {}
public ReadResponse(byte[] code) { public ReadResponse(byte[] code) {

@ -18,6 +18,7 @@ public class RejectPDU implements BerType, Serializable {
private byte[] code = null; private byte[] code = null;
private Unsigned32 originalInvokeID = null; private Unsigned32 originalInvokeID = null;
private RejectReason rejectReason = null; private RejectReason rejectReason = null;
public RejectPDU() {} public RejectPDU() {}
public RejectPDU(byte[] code) { public RejectPDU(byte[] code) {

@ -20,6 +20,7 @@ public class ServiceError implements BerType, Serializable {
private ErrorClass errorClass = null; private ErrorClass errorClass = null;
private BerInteger additionalCode = null; private BerInteger additionalCode = null;
private BerVisibleString additionalDescription = null; private BerVisibleString additionalDescription = null;
public ServiceError() {} public ServiceError() {}
public ServiceError(byte[] code) { public ServiceError(byte[] code) {

@ -32,7 +32,9 @@ public class TypeDescription implements BerType, Serializable {
private BerBoolean binaryTime = null; private BerBoolean binaryTime = null;
private Integer32 mMSString = null; private Integer32 mMSString = null;
private BerNull utcTime = null; private BerNull utcTime = null;
public TypeDescription() {} public TypeDescription() {}
public TypeDescription(byte[] code) { public TypeDescription(byte[] code) {
this.code = code; this.code = code;
} }
@ -626,6 +628,7 @@ public class TypeDescription implements BerType, Serializable {
private byte[] code = null; private byte[] code = null;
private BerBoolean packed = null; private BerBoolean packed = null;
private Components components = null; private Components components = null;
public Structure() {} public Structure() {}
public Structure(byte[] code) { public Structure(byte[] code) {
@ -788,6 +791,7 @@ public class TypeDescription implements BerType, Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private byte[] code = null; private byte[] code = null;
private List<SEQUENCE> seqOf = null; private List<SEQUENCE> seqOf = null;
public Components() { public Components() {
seqOf = new ArrayList<SEQUENCE>(); seqOf = new ArrayList<SEQUENCE>();
} }

@ -19,6 +19,7 @@ public class VariableDefs implements BerType, Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private byte[] code = null; private byte[] code = null;
private List<SEQUENCE> seqOf = null; private List<SEQUENCE> seqOf = null;
public VariableDefs() { public VariableDefs() {
seqOf = new ArrayList<SEQUENCE>(); seqOf = new ArrayList<SEQUENCE>();
} }

@ -20,6 +20,7 @@ public class WriteRequest implements BerType, Serializable {
private byte[] code = null; private byte[] code = null;
private VariableAccessSpecification variableAccessSpecification = null; private VariableAccessSpecification variableAccessSpecification = null;
private ListOfData listOfData = null; private ListOfData listOfData = null;
public WriteRequest() {} public WriteRequest() {}
public WriteRequest(byte[] code) { public WriteRequest(byte[] code) {

@ -20,6 +20,7 @@ public class WriteResponse implements BerType, Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private byte[] code = null; private byte[] code = null;
private List<CHOICE> seqOf = null; private List<CHOICE> seqOf = null;
public WriteResponse() { public WriteResponse() {
seqOf = new ArrayList<CHOICE>(); seqOf = new ArrayList<CHOICE>();
} }

Loading…
Cancel
Save