diff options
Diffstat (limited to 'archiva-database')
-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 ) + { + + } +} |