diff options
author | Joakim Erdfelt <joakime@apache.org> | 2007-02-26 18:01:19 +0000 |
---|---|---|
committer | Joakim Erdfelt <joakime@apache.org> | 2007-02-26 18:01:19 +0000 |
commit | eec1a48273aac3e1a7a7b6f613ca5795cec9b5c7 (patch) | |
tree | 4a99663a2f12f5776db36409a3168c43e29ebdb0 | |
parent | d6ed4a5db52e2023e073d73a16371cf4c442d2a9 (diff) | |
download | archiva-eec1a48273aac3e1a7a7b6f613ca5795cec9b5c7.tar.gz archiva-eec1a48273aac3e1a7a7b6f613ca5795cec9b5c7.zip |
Adding stub for initial ibatis support.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@511933 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-x | archiva-database/pom.xml | 12 | ||||
-rw-r--r-- | archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java | 56 |
2 files changed, 68 insertions, 0 deletions
diff --git a/archiva-database/pom.xml b/archiva-database/pom.xml index 4e91ff9f1..57dcf32fc 100755 --- a/archiva-database/pom.xml +++ b/archiva-database/pom.xml @@ -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> 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 index 000000000..e60fd67b3 --- /dev/null +++ b/archiva-database/src/main/java/org/apache/maven/archiva/database/RepositoryMetadataDatabase.java @@ -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 ) + { + + } +} |