From d27077404aa8bb2db886d46b1db79df1cd948dd1 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 23 Aug 2011 12:19:36 +0000 Subject: [PATCH] desactivate animal sniffer plugin as it fail in module archiva-modules/metadata/test-repository/ git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160653 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/archiva/admin/repository/App.java | 13 --------- .../managed/ManagedRepositoryAdmin.java | 29 +++++++++++++++++++ .../remote/RemoteRepositoryAdmin.java | 28 ++++++++++++++++++ .../metadata/metadata-repository-api/pom.xml | 3 +- .../metadata/test-repository/pom.xml | 22 ++++++++++++-- pom.xml | 6 +++- 6 files changed, 83 insertions(+), 18 deletions(-) delete mode 100644 archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/App.java create mode 100644 archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdmin.java create mode 100644 archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdmin.java diff --git a/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/App.java b/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/App.java deleted file mode 100644 index 9c6ddbc25..000000000 --- a/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/App.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.apache.archiva.admin.repository; - -/** - * Hello world! - * - */ -public class App -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } -} diff --git a/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdmin.java new file mode 100644 index 000000000..64c880cb4 --- /dev/null +++ b/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdmin.java @@ -0,0 +1,29 @@ +package org.apache.archiva.admin.repository.managed; +/* + * 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. + */ + + +/** + * @author Olivier Lamy + * @since 1.4 + */ +public interface ManagedRepositoryAdmin +{ + +} diff --git a/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdmin.java new file mode 100644 index 000000000..a2889dd18 --- /dev/null +++ b/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdmin.java @@ -0,0 +1,28 @@ +package org.apache.archiva.admin.repository.remote; +/* + * 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. + */ + + +/** + * @author Olivier Lamy + * @since 1.4 + */ +public interface RemoteRepositoryAdmin +{ +} diff --git a/archiva-modules/metadata/metadata-repository-api/pom.xml b/archiva-modules/metadata/metadata-repository-api/pom.xml index dbaf847ff..cd421c5cb 100644 --- a/archiva-modules/metadata/metadata-repository-api/pom.xml +++ b/archiva-modules/metadata/metadata-repository-api/pom.xml @@ -16,7 +16,8 @@ ~ KIND, either express or implied. See the License for the ~ specific language governing permissions and limitations ~ under the License. - --> + --> + 4.0.0 metadata diff --git a/archiva-modules/metadata/test-repository/pom.xml b/archiva-modules/metadata/test-repository/pom.xml index 2755b31ec..87d057f93 100644 --- a/archiva-modules/metadata/test-repository/pom.xml +++ b/archiva-modules/metadata/test-repository/pom.xml @@ -1,7 +1,23 @@ - + + 4.0.0 metadata diff --git a/pom.xml b/pom.xml index c55a3f3d6..4218cc5bd 100644 --- a/pom.xml +++ b/pom.xml @@ -1338,8 +1338,11 @@ + + org.codehaus.mojo animal-sniffer-maven-plugin 1.7 @@ -1360,6 +1363,7 @@ + -->