archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joak...@apache.org
Subject svn commit: r511933 - in /maven/archiva/trunk/archiva-database: pom.xml src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java
Date Mon, 26 Feb 2007 18:01:20 GMT
Author: joakime
Date: Mon Feb 26 10:01:19 2007
New Revision: 511933

URL: http://svn.apache.org/viewvc?view=rev&rev=511933
Log:
Adding stub for initial ibatis support.

Added:
    maven/archiva/trunk/archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java
  (with props)
Modified:
    maven/archiva/trunk/archiva-database/pom.xml

Modified: maven/archiva/trunk/archiva-database/pom.xml
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-database/pom.xml?view=diff&rev=511933&r1=511932&r2=511933
==============================================================================
--- maven/archiva/trunk/archiva-database/pom.xml (original)
+++ maven/archiva/trunk/archiva-database/pom.xml Mon Feb 26 10:01:19 2007
@@ -35,6 +35,18 @@
       <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>
     </dependency>

Added: maven/archiva/trunk/archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java?view=auto&rev=511933
==============================================================================
--- maven/archiva/trunk/archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java
(added)
+++ maven/archiva/trunk/archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java
Mon Feb 26 10:01:19 2007
@@ -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 )
+    {
+
+    }
+}

Propchange: maven/archiva/trunk/archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/archiva/trunk/archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: maven/archiva/trunk/archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message