Skip to content

Commit d95742d

Browse files
committed
Added a new MMTF parsing module in biojava
Updated the dependencies accordingly
1 parent 44b3e4c commit d95742d

File tree

4 files changed

+493
-69
lines changed

4 files changed

+493
-69
lines changed

biojava-alignment/pom.xml

Lines changed: 37 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45
<parent>
56
<artifactId>biojava</artifactId>
@@ -24,17 +25,18 @@
2425
<build>
2526
<plugins>
2627

27-
<!-- Excluding demo package is required for avoiding namespace clashes (demo package is in all modules) for signing the jar. See issue #387 -->
28-
<plugin>
29-
<groupId>org.apache.maven.plugins</groupId>
30-
<artifactId>maven-jar-plugin</artifactId>
31-
<configuration>
32-
<excludes>
33-
<exclude>demo/**</exclude>
34-
</excludes>
35-
</configuration>
36-
</plugin>
37-
28+
<!-- Excluding demo package is required for avoiding namespace clashes
29+
(demo package is in all modules) for signing the jar. See issue #387 -->
30+
<plugin>
31+
<groupId>org.apache.maven.plugins</groupId>
32+
<artifactId>maven-jar-plugin</artifactId>
33+
<configuration>
34+
<excludes>
35+
<exclude>demo/**</exclude>
36+
</excludes>
37+
</configuration>
38+
</plugin>
39+
3840
</plugins>
3941
</build>
4042
<dependencies>
@@ -53,28 +55,29 @@
5355
<groupId>org.biojava.thirdparty</groupId>
5456
<artifactId>forester</artifactId>
5557
</dependency>
56-
<!-- logging dependencies (managed by parent pom, don't set versions or scopes here) -->
58+
<!-- logging dependencies (managed by parent pom, don't set versions or
59+
scopes here) -->
60+
<dependency>
61+
<groupId>org.slf4j</groupId>
62+
<artifactId>slf4j-api</artifactId>
63+
</dependency>
64+
<!-- binding for log4j2, scope=runTime set in parent pom -->
65+
<dependency>
66+
<groupId>org.apache.logging.log4j</groupId>
67+
<artifactId>log4j-slf4j-impl</artifactId>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.apache.logging.log4j</groupId>
71+
<artifactId>log4j-api</artifactId>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.apache.logging.log4j</groupId>
75+
<artifactId>log4j-core</artifactId>
76+
</dependency>
5777
<dependency>
58-
<groupId>org.slf4j</groupId>
59-
<artifactId>slf4j-api</artifactId>
60-
</dependency>
61-
<!-- binding for log4j2, scope=runTime set in parent pom -->
62-
<dependency>
63-
<groupId>org.apache.logging.log4j</groupId>
64-
<artifactId>log4j-slf4j-impl</artifactId>
65-
</dependency>
66-
<dependency>
67-
<groupId>org.apache.logging.log4j</groupId>
68-
<artifactId>log4j-api</artifactId>
69-
</dependency>
70-
<dependency>
71-
<groupId>org.apache.logging.log4j</groupId>
72-
<artifactId>log4j-core</artifactId>
73-
</dependency>
74-
<dependency>
75-
<groupId>org.biojava</groupId>
76-
<artifactId>biojava-phylo</artifactId>
77-
<version>5.0.0-SNAPSHOT</version>
78-
</dependency>
78+
<groupId>org.biojava</groupId>
79+
<artifactId>biojava-phylo</artifactId>
80+
<version>5.0.0-SNAPSHOT</version>
81+
</dependency>
7982
</dependencies>
8083
</project>

biojava-structure/pom.xml

Lines changed: 50 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45
<parent>
56
<artifactId>biojava</artifactId>
@@ -19,6 +20,18 @@
1920

2021
<dependencies>
2122

23+
<dependency>
24+
<groupId>org.rcsb</groupId>
25+
<artifactId>mmtf-api</artifactId>
26+
<version>0.0.1-SNAPSHOT</version>
27+
<scope>compile</scope>
28+
</dependency>
29+
<dependency>
30+
<groupId>org.rcsb</groupId>
31+
<artifactId>mmtf-decoder</artifactId>
32+
<version>0.0.1-SNAPSHOT</version>
33+
<scope>compile</scope>
34+
</dependency>
2235
<dependency>
2336
<groupId>org.biojava</groupId>
2437
<artifactId>biojava-alignment</artifactId>
@@ -37,35 +50,36 @@
3750
<artifactId>vecmath</artifactId>
3851
<version>1.3.1</version>
3952
</dependency>
40-
53+
4154
<dependency>
4255
<groupId>org.jgrapht</groupId>
43-
<artifactId>jgrapht-core</artifactId>
44-
<version>0.9.1</version>
56+
<artifactId>jgrapht-core</artifactId>
57+
<version>0.9.1</version>
4558
</dependency>
4659

47-
<!-- logging dependencies (managed by parent pom, don't set versions or scopes here) -->
60+
<!-- logging dependencies (managed by parent pom, don't set versions or
61+
scopes here) -->
62+
<dependency>
63+
<groupId>org.slf4j</groupId>
64+
<artifactId>slf4j-api</artifactId>
65+
</dependency>
66+
<!-- binding for log4j2, scope=runTime set in parent pom -->
67+
<dependency>
68+
<groupId>org.apache.logging.log4j</groupId>
69+
<artifactId>log4j-slf4j-impl</artifactId>
70+
</dependency>
71+
<dependency>
72+
<groupId>org.apache.logging.log4j</groupId>
73+
<artifactId>log4j-api</artifactId>
74+
</dependency>
4875
<dependency>
49-
<groupId>org.slf4j</groupId>
50-
<artifactId>slf4j-api</artifactId>
51-
</dependency>
52-
<!-- binding for log4j2, scope=runTime set in parent pom -->
53-
<dependency>
54-
<groupId>org.apache.logging.log4j</groupId>
55-
<artifactId>log4j-slf4j-impl</artifactId>
56-
</dependency>
57-
<dependency>
58-
<groupId>org.apache.logging.log4j</groupId>
59-
<artifactId>log4j-api</artifactId>
60-
</dependency>
61-
<dependency>
62-
<groupId>org.apache.logging.log4j</groupId>
63-
<artifactId>log4j-core</artifactId>
64-
</dependency>
65-
66-
67-
68-
<!-- Testing related dependencies -->
76+
<groupId>org.apache.logging.log4j</groupId>
77+
<artifactId>log4j-core</artifactId>
78+
</dependency>
79+
80+
81+
82+
<!-- Testing related dependencies -->
6983

7084
<dependency>
7185
<groupId>junit</groupId>
@@ -93,16 +107,17 @@
93107

94108
<plugins>
95109

96-
<!-- Excluding demo package is required for avoiding namespace clashes (demo package is in all modules) for signing the jar. See issue #387 -->
97-
<plugin>
98-
<groupId>org.apache.maven.plugins</groupId>
99-
<artifactId>maven-jar-plugin</artifactId>
100-
<configuration>
101-
<excludes>
102-
<exclude>demo/**</exclude>
103-
</excludes>
104-
</configuration>
105-
</plugin>
110+
<!-- Excluding demo package is required for avoiding namespace clashes
111+
(demo package is in all modules) for signing the jar. See issue #387 -->
112+
<plugin>
113+
<groupId>org.apache.maven.plugins</groupId>
114+
<artifactId>maven-jar-plugin</artifactId>
115+
<configuration>
116+
<excludes>
117+
<exclude>demo/**</exclude>
118+
</excludes>
119+
</configuration>
120+
</plugin>
106121

107122
<plugin>
108123
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)