]> source.dussan.org Git - archiva.git/commitdiff
Adding stub for initial ibatis support.
authorJoakim Erdfelt <joakime@apache.org>
Mon, 26 Feb 2007 18:01:19 +0000 (18:01 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Mon, 26 Feb 2007 18:01:19 +0000 (18:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@511933 13f79535-47bb-0310-9956-ffa450edef68

archiva-database/pom.xml
archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java [new file with mode: 0644]

index 4e91ff9f120c61b8ddaf037746fd8c5881757041..57dcf32fc5d3747e799819d7291e9b5ab82b093f 100755 (executable)
       <artifactId>ibatis-sqlmap</artifactId>
       <version>2.1.0.565</version>
     </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-artifact-manager</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-project</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-repository-metadata</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-utils</artifactId>
diff --git a/archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java b/archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java
new file mode 100644 (file)
index 0000000..e60fd67
--- /dev/null
@@ -0,0 +1,56 @@
+package org.apache.maven.archiva.database;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;
+
+/**
+ * RepositoryMetadataDatabase 
+ *
+ * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a>
+ * @version $Id$
+ */
+public class RepositoryMetadataDatabase
+{
+    public void create( RepositoryMetadata metadata )
+    {
+
+    }
+
+    public RepositoryMetadata read( String groupId, String artifactId, String version )
+    {
+        return null;
+    }
+
+    public void update( RepositoryMetadata metadata )
+    {
+
+    }
+
+    public void delete( RepositoryMetadata metadata )
+    {
+
+    }
+
+    public void delete( String groupId, String artifactId, String version )
+    {
+
+    }
+}