Skip to content

Commit 319fe9d

Browse files
committed
Merge remote-tracking branch 'origin/master' into sdo/updateRepoLink
2 parents be2a7ce + c213da5 commit 319fe9d

File tree

7 files changed

+484
-33
lines changed

7 files changed

+484
-33
lines changed

DEPENDENCIES

Lines changed: 446 additions & 0 deletions
Large diffs are not rendered by default.

NOTICE.md

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -33,37 +33,9 @@ The project maintains the following source code repositories:
3333

3434
This project leverages the following third party content.
3535

36-
ANTLR Runtime only: (3.2)
36+
Dependencies automatically captured by the license-check-plugin: [DEPENDENCIES](DEPENDENCIES)
3737

38-
* License: New BSD license
39-
40-
Apache Commons Logging Jar (1.2.0)
41-
42-
* License: Apache License, 2.0
43-
44-
Apache Log4J (1.2.24)
45-
46-
* License: Apache License, 2.0
47-
48-
ASM (9.5.0)
49-
50-
* License: New BSD license
51-
52-
Google Guava (30.1.0)
53-
54-
* License: Apache License 2.0
55-
56-
Google Guava (33.0.0)
57-
58-
* License: Apache License 2.0
59-
60-
Google Guice / Inject Core API (5.0.1)
61-
62-
* License: Apache License, 2.0
63-
64-
ICU4J (74.2)
65-
66-
* License: ICU
38+
The following third-party content and licences are either not automatically captured or are used in the [elk-models](https://github.com/eclipse/elk-models) repository.
6739

6840
libavoid (0.3.1)
6941

build/RELEASE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ The Eclipse release process is described in more detail in the [Eclipse Project
77
1. Add a new release on ELK's [project page](https://projects.eclipse.org/projects/modeling.elk).
88
1. For major releases:
99
1. Update NOTICE.md file with relevant information regarding used third-party content.
10-
1. Have [PMC](mailto:[email protected]) approve the release documentation.
11-
1. Schedule a release review. Release reviews run for a minimum of one week and conclude on the first and third Wednesdays of each month.
10+
2. Run `mvn org.eclipse.dash:license-tool-plugin:license-check -Dmaven.repo.local=./mvnrepo clean -Dtycho.target.eager=true -Dmaven.test.skip=true -Ddash.summary=../DEPENDENCIES` and commit the updated DEPENDENCIES file.
11+
3. Have [PMC](mailto:[email protected]) approve the release documentation.
12+
4. Schedule a release review. Release reviews run for a minimum of one week and conclude on the first and third Wednesdays of each month.
1213

1314

1415
## The Release Branch

build/pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,21 @@
140140
<!-- Modify the build process to add Tycho and configure some utility plug-ins. -->
141141
<build>
142142
<plugins>
143+
144+
<!-- license-check plugin to automatically generate dependency list -->
145+
<plugin>
146+
<groupId>org.eclipse.dash</groupId>
147+
<artifactId>license-tool-plugin</artifactId>
148+
<version>1.1.0</version>
149+
<executions>
150+
<execution>
151+
<id>license-check</id>
152+
<goals>
153+
<goal>license-check</goal>
154+
</goals>
155+
</execution>
156+
</executions>
157+
</plugin>
143158

144159
<!-- We need tycho to build eclipse plugins -->
145160
<plugin>
@@ -427,6 +442,14 @@
427442

428443
<!-- Maven plugin repositories -->
429444
<pluginRepositories>
445+
<pluginRepository>
446+
<id>dash-licenses-releases</id>
447+
<url>https://repo.eclipse.org/content/repositories/dash-licenses-releases/</url>
448+
<snapshots>
449+
<enabled>true</enabled>
450+
</snapshots>
451+
</pluginRepository>
452+
430453
<pluginRepository>
431454
<id>central</id>
432455
<name>Maven Plugin Repository</name>

plugins/org.eclipse.elk.graph.json/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<dependency>
3434
<groupId>com.google.code.gson</groupId>
3535
<artifactId>gson</artifactId>
36-
<version>[2.7.0,2.9.0)</version>
36+
<version>[2.7.0,)</version>
3737
</dependency>
3838
<dependency>
3939
<groupId>org.eclipse.elk</groupId>

plugins/org.eclipse.elk.graph.json/src/org/eclipse/elk/graph/json/JsonAdapter.xtend

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,14 @@ final class JsonAdapter {
186186
}
187187
}
188188

189+
// - - - - - - - - - - - - - - - - - - -
190+
// Remove members from a json object
191+
// - - - - - - - - - - - - - - - - - - -
192+
193+
def void removeJsonObj(JsonObject o, String element) {
194+
o.remove(element)
195+
}
196+
189197
// - - - - - - - - - - - - - - - - - - -
190198
// Add to a json array
191199
// - - - - - - - - - - - - - - - - - - -

plugins/org.eclipse.elk.graph.json/src/org/eclipse/elk/graph/json/JsonImporter.xtend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ final class JsonImporter {
627627
}
628628

629629
]
630+
jsonObj.removeJsonObj("sections")
630631
jsonObj.addJsonObj("sections", sections)
631632
}
632633

0 commit comments

Comments
 (0)