Install Structure101 Plugin

Issue gh-6236
This commit is contained in:
Josh Cummings 2021-09-27 14:48:41 -06:00
parent 6978f51f19
commit 4272889dc8
5 changed files with 100 additions and 0 deletions

1
.gitattributes vendored
View File

@ -14,3 +14,4 @@
*.odg binary
*.otg binary
*.png binary
*.hsx binary

View File

@ -14,6 +14,7 @@ buildscript {
apply plugin: 'io.spring.nohttp'
apply plugin: 'locks'
apply plugin: 's101'
apply plugin: 'io.spring.convention.root'
apply plugin: 'io.spring.convention.include-check-remote'
apply plugin: 'org.jetbrains.kotlin.jvm'
@ -155,3 +156,7 @@ tasks.register('checkSamples') {
}
dependsOn checkRemote
}
s101 {
configurationDirectory = project.file("etc/s101")
}

32
etc/s101/config.xml Normal file
View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<headless version="1.0">
<operations>
<operation type="publish">
<argument name="overwrite" value="true"/>
<argument name="diagrams" value="true"/>
</operation>
<operation type="check-key-measures">
<argument name="baseline" value="baseline"/>
<argument name="useProjectFileSpec" value="true"/>
<argument name="useProjectFileDiagrams" value="true"/>
<argument name="fail-on-architecture-violations" value="false"/>
<argument name="fail-on-fat-package" value="false"/>
<argument name="fail-on-fat-class" value="false"/>
<argument name="fail-on-fat-method" value="false"/>
<argument name="fail-on-feedback-dependencies" value="true"/>
<argument name="fail-on-spec-violation-dependencies" value="false"/>
<argument name="fail-on-total-problem-dependencies" value="false"/>
<argument name="fail-on-spec-item-violations" value="false"/>
<argument name="fail-on-biggest-class-tangle" value="true"/>
<argument name="fail-on-tangled-package" value="true"/>
<argument name="fail-on-architecture-violations" value="false"/>
<argument name="fail-on-total-problem-dependencies" value="true"/>
<argument name="identifier-on-violation" value="S101 key measure violation"/>
</operation>
</operations>
<arguments>
<argument name="local-project" value="const(THIS_FILE)/project.java.hsp"/>
<argument name="repository" value="const(THIS_FILE)/repository"/>
<argument name="project" value="snapshots"/>
</arguments>
</headless>

48
etc/s101/project.java.hsp Normal file
View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<local-project language="java" version="6.1.19139" xml-version="3" flavor="j2se">
<property name="show-as-module" value="false" />
<property name="publish-architecture-artifacts" value="true" />
<property name="force-classpath" value="false" />
<property name="project-type" value="classpath" />
<property name="hide-externals" value="true" />
<property name="parse-archive-in-archive" value="false" />
<property name="include-injected-dependency" value="false" />
<property name="relative-to" value="const(THIS_FILE)/../.." />
<property name="action-set-mod" value="1" />
<property name="detail-mode" value="true" />
<property name="hide-deprecated" value="false" />
<property name="resolve-name-clashes" value="true" />
<property name="project-excluded" />
<property name="show-needs-to-compile" value="false" />
<classpath>
<classpathentry kind="lib" path="acl/build/classes/java/main" module="spring-security-acl" />
<classpathentry kind="lib" path="aspects/build/classes/aspectj/main" module="spring-security-aspects" />
<classpathentry kind="lib" path="cas/build/classes/java/main" module="spring-security-cas" />
<classpathentry kind="lib" path="config/build/classes/java/main" module="spring-security-config" />
<classpathentry kind="lib" path="config/build/classes/kotlin/main" module="spring-security-config" />
<classpathentry kind="lib" path="core/build/classes/java/main" module="spring-security-core" />
<classpathentry kind="lib" path="crypto/build/classes/java/main" module="spring-security-crypto" />
<classpathentry kind="lib" path="data/build/classes/java/main" module="spring-security-data" />
<classpathentry kind="lib" path="ldap/build/classes/java/main" module="spring-security-ldap" />
<classpathentry kind="lib" path="messaging/build/classes/java/main" module="spring-security-messaging" />
<classpathentry kind="lib" path="oauth2/oauth2-client/build/classes/java/main" module="spring-security-oauth2-client" />
<classpathentry kind="lib" path="oauth2/oauth2-core/build/classes/java/main" module="spring-security-oauth2-core" />
<classpathentry kind="lib" path="oauth2/oauth2-jose/build/classes/java/main" module="spring-security-oauth2-jose" />
<classpathentry kind="lib" path="oauth2/oauth2-resource-server/build/classes/java/main" module="spring-security-oauth2-resource-server" />
<classpathentry kind="lib" path="openid/build/classes/java/main" module="spring-security-openid" />
<classpathentry kind="lib" path="remoting/build/classes/java/main" module="spring-security-remoting" />
<classpathentry kind="lib" path="rsocket/build/classes/java/main" module="spring-security-rsocket" />
<classpathentry kind="lib" path="saml2/saml2-service-provider/build/classes/java/main" module="spring-security-saml2-service-provider" />
<classpathentry kind="lib" path="saml2/saml2-service-provider/build/classes/java/opensaml3Main" module="spring-security-saml2-service-provider" />
<classpathentry kind="lib" path="saml2/saml2-service-provider/build/classes/java/opensaml4Main" module="spring-security-saml2-service-provider" />
<classpathentry kind="lib" path="taglibs/build/classes/java/main" module="spring-security-taglibs" />
<classpathentry kind="lib" path="test/build/classes/java/main" module="spring-security-test" />
<classpathentry kind="lib" path="web/build/classes/java/main" module="spring-security-web" />
</classpath>
<pom-root-files />
<modules-in-scope />
<restructuring>
<set version="3" name="Action list 1" hiview="Codemap" active="true" todo="false" list="0" />
</restructuring>
<grid-set sep="." version="6.1.19139" />
</local-project>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<structure101-repository language="java" version="19139">
<xs-configuration>
<entry metric="Tangled" scope="design" threshold="0" color="153,53,0" />
<entry metric="Fat" scope="design" threshold="120" color="255,153,0" />
<entry metric="Fat" scope="leaf package" threshold="120" color="0,153,153" />
<entry metric="Fat" scope="class" threshold="120" color="255,153,153" />
<entry metric="Fat" scope="method" threshold="15" color="51,255,51" />
</xs-configuration>
<!--Note: All date strings are stored in short US format e.g. 2/1/06 for 1st Feb 2006-->
<project name="snapshots" dir="snapshots" baselineSnapshot="default" version="19139">
<snapshot label="baseline" location="baseline" timestamp="3/16/21, 4:42 PM" version="19139" detail="true" good="true" size="20" />
</project>
</structure101-repository>