Skip to content

Commit 869bfce

Browse files
johnmayegonw
authored andcommitted
Cleanup of the cdk/base modules - using dependency analzye to ensure all used undelcared dependencies are included and unused declared are removed.
1 parent a207f62 commit 869bfce

File tree

21 files changed

+90
-46
lines changed

21 files changed

+90
-46
lines changed

base/annotation/pom.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@
1313
<artifactId>cdk-annotation</artifactId>
1414

1515
<name>cdk-annotation</name>
16-
<dependencies>
17-
<dependency>
18-
<groupId>junit</groupId>
19-
<artifactId>junit</artifactId>
20-
<scope>test</scope>
21-
</dependency>
22-
</dependencies>
2316
<build>
2417
<plugins>
2518
<plugin>

base/atomtype/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@
2929
<artifactId>cdk-standard</artifactId>
3030
<version>${project.parent.version}</version>
3131
</dependency>
32-
<dependency>
33-
<groupId>junit</groupId>
34-
<artifactId>junit</artifactId>
35-
<scope>test</scope>
36-
</dependency>
3732
</dependencies>
3833
<build>
3934
<plugins>

base/core/pom.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515
<name>cdk-core</name>
1616
<dependencies>
17+
<dependency>
18+
<groupId>javax.vecmath</groupId>
19+
<artifactId>vecmath</artifactId>
20+
</dependency>
1721
<dependency>
1822
<groupId>com.google.guava</groupId>
1923
<artifactId>guava</artifactId>
@@ -23,11 +27,6 @@
2327
<artifactId>cdk-interfaces</artifactId>
2428
<version>${project.parent.version}</version>
2529
</dependency>
26-
<dependency>
27-
<groupId>junit</groupId>
28-
<artifactId>junit</artifactId>
29-
<scope>test</scope>
30-
</dependency>
3130
</dependencies>
3231

3332
<build>

base/data/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</dependency>
3030
<dependency>
3131
<groupId>org.hamcrest</groupId>
32-
<artifactId>hamcrest-core</artifactId>
32+
<artifactId>hamcrest</artifactId>
3333
<scope>test</scope>
3434
</dependency>
3535
<dependency>

base/datadebug/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</dependency>
2626
<dependency>
2727
<groupId>org.hamcrest</groupId>
28-
<artifactId>hamcrest-core</artifactId>
28+
<artifactId>hamcrest</artifactId>
2929
<scope>test</scope>
3030
</dependency>
3131
<dependency>

base/dict/pom.xml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,26 @@
1919
<artifactId>xom</artifactId>
2020
</dependency>
2121
<dependency>
22-
<groupId>junit</groupId>
23-
<artifactId>junit</artifactId>
24-
<scope>test</scope>
22+
<groupId>xml-apis</groupId>
23+
<artifactId>xml-apis</artifactId>
24+
<version>1.3.03</version>
2525
</dependency>
2626
<dependency>
2727
<groupId>${project.groupId}</groupId>
2828
<artifactId>cdk-interfaces</artifactId>
2929
<version>${project.parent.version}</version>
3030
</dependency>
3131
<dependency>
32+
<groupId>junit</groupId>
33+
<artifactId>junit</artifactId>
34+
<scope>test</scope>
35+
</dependency>
36+
<dependency>
37+
<!-- Only used for CDK logging in tests-->
3238
<groupId>${project.groupId}</groupId>
3339
<artifactId>cdk-core</artifactId>
3440
<version>${project.parent.version}</version>
41+
<scope>test</scope>
3542
</dependency>
3643
<dependency>
3744
<groupId>${project.groupId}</groupId>

base/isomorphism/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</dependency>
3030
<dependency>
3131
<groupId>org.hamcrest</groupId>
32-
<artifactId>hamcrest-core</artifactId>
32+
<artifactId>hamcrest</artifactId>
3333
<scope>test</scope>
3434
</dependency>
3535
<dependency>

base/reaction/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
<artifactId>junit</artifactId>
2020
<scope>test</scope>
2121
</dependency>
22+
<dependency>
23+
<groupId>org.hamcrest</groupId>
24+
<artifactId>hamcrest</artifactId>
25+
<scope>test</scope>
26+
</dependency>
2227
<dependency>
2328
<groupId>${project.groupId}</groupId>
2429
<artifactId>cdk-interfaces</artifactId>

base/silent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</dependency>
3030
<dependency>
3131
<groupId>org.hamcrest</groupId>
32-
<artifactId>hamcrest-core</artifactId>
32+
<artifactId>hamcrest</artifactId>
3333
<scope>test</scope>
3434
</dependency>
3535
<dependency>

base/test-atomtype/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
<artifactId>junit</artifactId>
2626
<scope>test</scope>
2727
</dependency>
28+
<dependency>
29+
<groupId>org.hamcrest</groupId>
30+
<artifactId>hamcrest</artifactId>
31+
<scope>test</scope>
32+
</dependency>
2833
<dependency>
2934
<groupId>${project.groupId}</groupId>
3035
<artifactId>cdk-interfaces</artifactId>

0 commit comments

Comments
 (0)