From ff44aa71b4502ef0c49ecdb6c0eac582a0041418 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Thu, 3 Apr 2008 03:42:59 +0000 Subject: [PATCH] [MRM-123] -move the rss classes to it's own module git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644151 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-base/archiva-common/pom.xml | 10 ----- .../archiva-web/archiva-rss/pom.xml | 37 +++++++++++++++++++ .../org/apache/archiva}/rss/RssFeedEntry.java | 2 +- .../apache/archiva}/rss/RssFeedGenerator.java | 4 +- .../archiva}/rss/RssFeedGeneratorTest.java | 2 +- archiva-modules/archiva-web/pom.xml | 7 ++-- 6 files changed, 44 insertions(+), 18 deletions(-) create mode 100644 archiva-modules/archiva-web/archiva-rss/pom.xml rename archiva-modules/{archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common => archiva-web/archiva-rss/src/main/java/org/apache/archiva}/rss/RssFeedEntry.java (98%) rename archiva-modules/{archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common => archiva-web/archiva-rss/src/main/java/org/apache/archiva}/rss/RssFeedGenerator.java (96%) rename archiva-modules/{archiva-base/archiva-common/src/test/java/org/apache/maven/archiva/common => archiva-web/archiva-rss/src/test/java/org/apache/archiva}/rss/RssFeedGeneratorTest.java (98%) diff --git a/archiva-modules/archiva-base/archiva-common/pom.xml b/archiva-modules/archiva-base/archiva-common/pom.xml index 1bce10113..de064e520 100644 --- a/archiva-modules/archiva-base/archiva-common/pom.xml +++ b/archiva-modules/archiva-base/archiva-common/pom.xml @@ -63,22 +63,12 @@ xalan 2.7.0 - - rome - rome - 0.9 - dom4j dom4j 1.6.1 test - - xmlunit - xmlunit - test - diff --git a/archiva-modules/archiva-web/archiva-rss/pom.xml b/archiva-modules/archiva-web/archiva-rss/pom.xml new file mode 100644 index 000000000..585f1653e --- /dev/null +++ b/archiva-modules/archiva-web/archiva-rss/pom.xml @@ -0,0 +1,37 @@ + + + archiva-web + org.apache.archiva + 1.1-SNAPSHOT + + 4.0.0 + archiva-rss + Archiva Web :: RSS + http://maven.apache.org + + + commons-io + commons-io + + + org.slf4j + slf4j-api + + + rome + rome + 0.9 + + + xmlunit + xmlunit + test + + + junit + junit + 3.8.1 + test + + + diff --git a/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/rss/RssFeedEntry.java b/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/RssFeedEntry.java similarity index 98% rename from archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/rss/RssFeedEntry.java rename to archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/RssFeedEntry.java index cb9f81cde..9a766d8b1 100644 --- a/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/rss/RssFeedEntry.java +++ b/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/RssFeedEntry.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.common.rss; +package org.apache.archiva.rss; /* * Licensed to the Apache Software Foundation (ASF) under one diff --git a/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/rss/RssFeedGenerator.java b/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/RssFeedGenerator.java similarity index 96% rename from archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/rss/RssFeedGenerator.java rename to archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/RssFeedGenerator.java index 8187b7c1f..c6f50b341 100644 --- a/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/rss/RssFeedGenerator.java +++ b/archiva-modules/archiva-web/archiva-rss/src/main/java/org/apache/archiva/rss/RssFeedGenerator.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.common.rss; +package org.apache.archiva.rss; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -42,7 +42,7 @@ import com.sun.syndication.io.SyndFeedOutput; /** * Generates RSS feeds. * - * @plexus.component role="org.apache.maven.archiva.common.rss.RssFeedGenerator" + * @plexus.component role="org.apache.archiva.rss.RssFeedGenerator" * * @author Maria Odea Ching * @version diff --git a/archiva-modules/archiva-base/archiva-common/src/test/java/org/apache/maven/archiva/common/rss/RssFeedGeneratorTest.java b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java similarity index 98% rename from archiva-modules/archiva-base/archiva-common/src/test/java/org/apache/maven/archiva/common/rss/RssFeedGeneratorTest.java rename to archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java index cf2b0e73f..ac86c827c 100644 --- a/archiva-modules/archiva-base/archiva-common/src/test/java/org/apache/maven/archiva/common/rss/RssFeedGeneratorTest.java +++ b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.common.rss; +package org.apache.archiva.rss; /* * Licensed to the Apache Software Foundation (ASF) under one diff --git a/archiva-modules/archiva-web/pom.xml b/archiva-modules/archiva-web/pom.xml index 45240897b..e1ee19300 100644 --- a/archiva-modules/archiva-web/pom.xml +++ b/archiva-modules/archiva-web/pom.xml @@ -13,9 +13,7 @@ ~ 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. - --> - - + --> 4.0.0 org.apache.archiva @@ -34,6 +32,7 @@ archiva-security archiva-webapp archiva-webdav + archiva-rss @@ -44,4 +43,4 @@ - + \ No newline at end of file -- 2.39.5