Anonymous avatar Anonymous committed 510a360

Add explicit dependencies

Comments (0)

Files changed (4)

quixote-repository-chempound/pom.xml

     <dependencies>
 
         <dependency>
-            <groupId>net.chempound.ext</groupId>
-            <artifactId>chempound-4store</artifactId>
-            <version>0.1-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
             <groupId>net.chempound</groupId>
             <artifactId>chempound-webapp</artifactId>
             <version>0.1-SNAPSHOT</version>
         </dependency>
 
         <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <version>[1.6.1]</version>
-        </dependency>
-
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <version>2.5</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
             <groupId>com.google.inject</groupId>
             <artifactId>guice</artifactId>
             <version>3.0</version>
             <version>3.0</version>
         </dependency>
 
+        <dependency>
+            <groupId>net.chempound</groupId>
+            <artifactId>skin-bootstrap</artifactId>
+            <version>0.1-SNAPSHOT</version>
+        </dependency>
     </dependencies>
 
 </project>

quixote-repository-chempound/src/main/java/uk/ac/cam/ch/wwmm/quixote/QuxoteWebappModule.java

 package uk.ac.cam.ch.wwmm.quixote;
 
-import com.google.inject.Module;
 import net.chempound.compchem.CompChemModule;
 import net.chempound.crystal.CrystallographyModule;
-import net.chempound.ext.fourstore.FourStoreTripleStoreModule;
 import net.chempound.plugins.jmol.JmolModule;
 import net.chempound.plugins.jquery.JQueryModule;
+import net.chempound.skin.bootstrap.BootstrapSkinModule;
 import net.chempound.webapp.ChempoundWebappModule;
 import net.chempound.webapp.search.chemistry.StructureSearchProviderModule;
 
 
         install(new JQueryModule());
         install(new JmolModule());
+
+        install(new BootstrapSkinModule());
     }
 
-    @Override
-    protected Module getTripleStoreModule() {
-        return new FourStoreTripleStoreModule();
-    }
 }

quixote-repository-standalone/pom.xml

                 </executions>
             </plugin>
 
+            <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <configuration>
+                    <usedDependencies>
+                        <usedDependency>uk.ac.cam.ch.wwmm.quixote.repository:quixote-repository-webapp</usedDependency>
+                        <usedDependency>org.mortbay.jetty:jetty</usedDependency>
+                    </usedDependencies>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

quixote-repository-webapp/pom.xml

                     <scanIntervalSeconds>5</scanIntervalSeconds>
                 </configuration>
             </plugin>
+
+            <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <configuration>
+                    <usedDependencies>
+                        <usedDependency>uk.ac.cam.ch.wwmm.quixote.repository:quixote-repository-chempound</usedDependency>
+                    </usedDependencies>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 
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.