Anonymous avatar Anonymous committed 2ab5758

Fix up dependency declarations

Comments (0)

Files changed (6)

crystallography-common/pom.xml

     <dependencies>
 
         <dependency>
+            <groupId>net.chempound</groupId>
+            <artifactId>chempound-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>net.chempound</groupId>
+            <artifactId>chempound-rdf-vocabs</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>net.chempound</groupId>
+            <artifactId>chempound-rdf-cml</artifactId>
+        </dependency>
+
+        <dependency>
             <groupId>com.hp.hpl.jena</groupId>
             <artifactId>jena</artifactId>
         </dependency>
         <dependency>
-            <groupId>net.chempound</groupId>
-            <artifactId>chempound-api</artifactId>
+            <groupId>com.hp.hpl.jena</groupId>
+            <artifactId>arq</artifactId>
         </dependency>
 
     </dependencies>

crystallography-handler/pom.xml

         </dependency>
 
         <dependency>
+            <groupId>net.chempound</groupId>
+            <artifactId>chempound-api</artifactId>
+        </dependency>
+
+        <dependency>
             <groupId>com.google.inject</groupId>
             <artifactId>guice</artifactId>
         </dependency>
+
         <dependency>
-            <groupId>com.google.inject.extensions</groupId>
-            <artifactId>guice-multibindings</artifactId>
+            <groupId>javax.inject</groupId>
+            <artifactId>javax.inject</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>com.hp.hpl.jena</groupId>
+            <artifactId>jena</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.freemarker</groupId>
+            <artifactId>freemarker</artifactId>
         </dependency>
 
     </dependencies>

crystallography-importer/pom.xml

         </dependency>
 
         <dependency>
-            <groupId>org.xml-cml</groupId>
-            <artifactId>jumbo</artifactId>
-        </dependency>
-        <dependency>
             <groupId>cml</groupId>
             <artifactId>jumbo-converters-cif</artifactId>
         </dependency>
 
         <dependency>
-            <groupId>sea36</groupId>
-            <artifactId>JmolImageGenerator</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>commons-cli</groupId>
-                    <artifactId>commons-cli</artifactId>
-                </exclusion>
-            </exclusions>
+            <groupId>javax.inject</groupId>
+            <artifactId>javax.inject</artifactId>
         </dependency>
 
         <dependency>
-            <groupId>net.sf.jni-inchi</groupId>
-            <artifactId>jni-inchi</artifactId>
+            <groupId>com.hp.hpl.jena</groupId>
+            <artifactId>jena</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>xom</groupId>
+            <artifactId>xom</artifactId>
         </dependency>
 
         <dependency>
         </dependency>
 
         <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.xml-cml</groupId>
+            <artifactId>cmlxom</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.xml-cml</groupId>
+            <artifactId>cifxom</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+        </dependency>
+
+        <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <scope>test</scope>
 
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <configuration>
+                    <usedDependencies>
+                        <usedDependency>sea36.util:unicode</usedDependency>
+                    </usedDependencies>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>

crystallography-importer/src/test/java/net/chempound/crystal/importer/utils/CifStringParserTest.java

+package net.chempound.crystal.importer.utils;
+
+import org.junit.Test;
+
+import static org.junit.Assert.assertEquals;
+
+public class CifStringParserTest {
+
+    @Test
+    public void testParseSubscript() throws Exception {
+        assertEquals("<sub>foo</sub>", new CifStringParser().toHtml("~foo~"));
+    }
+
+    @Test
+    public void testParseAcuteCharacter() throws Exception {
+        assertEquals("\u00C1", new CifStringParser().toHtml("\\'A"));
+    }
+}

crystallography-test-harness/pom.xml

         </dependency>
 
         <dependency>
+            <groupId>com.hp.hpl.jena</groupId>
+            <artifactId>jena</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.abdera</groupId>
+            <artifactId>abdera-i18n</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.google.inject</groupId>
+            <artifactId>guice</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.xml-cml</groupId>
+            <artifactId>cifxom</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.restlet.jee</groupId>
+            <artifactId>org.restlet</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>xom</groupId>
+            <artifactId>xom</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>net.chempound.chemistry</groupId>
+            <artifactId>chemistry-importer</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.abdera</groupId>
+            <artifactId>abdera-core</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>net.chempound</groupId>
+            <artifactId>chempound-api</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-codec</groupId>
+            <artifactId>commons-codec</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>net.chempound</groupId>
+            <artifactId>chempound-rdf-vocabs</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.xml-cml</groupId>
+            <artifactId>cmlxom</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <scope>test</scope>
                 <version>6.0</version>
             </dependency>
 
+            <dependency>
+                <groupId>org.xml-cml</groupId>
+                <artifactId>cifxom</artifactId>
+                <version>1.5-SNAPSHOT</version>
+            </dependency>
+
         </dependencies>
     </dependencyManagement>
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.