(geronimo-mail) 01/03: Move to common parent

[email protected] Fri, 17 Jan 2025 13:59:51 +0000
Newsgroups gmane.comp.java.geronimo.cvs
Message-ID <[email protected]>
This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/geronimo-mail.git

commit c16c1f99b741fd69f14f158a8a5d717323ba1fa4
Author: Richard Zowalla <[email protected]>
AuthorDate: Fri Jan 17 14:53:55 2025 +0100

    Move to common parent
---
 .../geronimo-mail_2.1_mail/pom.xml                 |  4 +-
 .../geronimo-mail_2.1_provider/pom.xml             |  4 +-
 geronimo-mail_2.1_impl/pom.xml                     |  9 ++-
 geronimo-mail_2.1_spec/pom.xml                     | 11 ++-
 pom.xml                                            | 83 ++++++++++++++++++++++
 5 files changed, 96 insertions(+), 15 deletions(-)

diff --git a/geronimo-mail_2.1_impl/geronimo-mail_2.1_mail/pom.xml b/geronimo-mail_2.1_impl/geronimo-mail_2.1_mail/pom.xml
index b890450..4a248cd 100644
--- a/geronimo-mail_2.1_impl/geronimo-mail_2.1_mail/pom.xml
+++ b/geronimo-mail_2.1_impl/geronimo-mail_2.1_mail/pom.xml
@@ -32,7 +32,7 @@
 
     <artifactId>geronimo-mail_2.1_mail</artifactId>
     <packaging>bundle</packaging>
-    <name>Geronimo Jakarta Mail 2.1 :: Mail</name>
+    <name>Apache Geronimo Jakarta Mail 2.1 :: Impl :: Mail</name>
 
     <dependencies>
         <dependency>
@@ -43,7 +43,7 @@
         <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
             <artifactId>geronimo-mail_2.1_spec</artifactId>
-            <version>${geronimo-mail_2.1_spec.version}</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
diff --git a/geronimo-mail_2.1_impl/geronimo-mail_2.1_provider/pom.xml b/geronimo-mail_2.1_impl/geronimo-mail_2.1_provider/pom.xml
index a2e820f..570bc6e 100644
--- a/geronimo-mail_2.1_impl/geronimo-mail_2.1_provider/pom.xml
+++ b/geronimo-mail_2.1_impl/geronimo-mail_2.1_provider/pom.xml
@@ -24,7 +24,7 @@
 
     <artifactId>geronimo-mail_2.1_provider</artifactId>
     <packaging>bundle</packaging>
-    <name>Geronimo Mail 2.1 :: Provider</name>
+    <name>Apache Geronimo Jakarta Mail 2.1 :: Impl :: Provider</name>
 
     <properties>
         <james.version>3.0-beta4</james.version>
@@ -40,7 +40,7 @@
         <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
             <artifactId>geronimo-mail_2.1_spec</artifactId>
-            <version>${geronimo-mail_2.1_spec.version}</version>
+            <version>${project.version}</version>
             <exclusions>
                 <exclusion>
                     <artifactId>apache-mime4j-core</artifactId>
diff --git a/geronimo-mail_2.1_impl/pom.xml b/geronimo-mail_2.1_impl/pom.xml
index 701103a..57c0be1 100644
--- a/geronimo-mail_2.1_impl/pom.xml
+++ b/geronimo-mail_2.1_impl/pom.xml
@@ -17,14 +17,14 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.apache.geronimo.genesis</groupId>
-        <artifactId>genesis-java7-flava</artifactId>
-        <version>2.4</version>
+        <groupId>org.apache.geronimo</groupId>
+        <artifactId>geronimo-mail_2.1_parent</artifactId>
+        <version>1.0.1-SNAPSHOT</version>
     </parent>
 
     <groupId>org.apache.geronimo.mail</groupId>
     <artifactId>geronimo-mail_2.1</artifactId>
-    <name>Geronimo Mail 2.1</name>
+    <name>Apache Geronimo Jakarta Mail 2.1 :: Impl</name>
     <packaging>pom</packaging>
 
     <version>1.0.1-SNAPSHOT</version>
@@ -43,7 +43,6 @@
     <properties>
         <siteId>javamail/${project.artifactId}</siteId>
         <projectName>Apache Geronimo Mail Bundle</projectName>
-        <geronimo-mail_2.1_spec.version>1.0.0-M1</geronimo-mail_2.1_spec.version>
     </properties>
 
     <url>http://geronimo.apache.org/maven/${siteId}/${project.version}</url>
diff --git a/geronimo-mail_2.1_spec/pom.xml b/geronimo-mail_2.1_spec/pom.xml
index 6376d4b..b14f8bb 100644
--- a/geronimo-mail_2.1_spec/pom.xml
+++ b/geronimo-mail_2.1_spec/pom.xml
@@ -25,16 +25,15 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.apache.geronimo.genesis</groupId>
-        <artifactId>genesis-java8-flava</artifactId>
-        <version>2.4</version>
+        <groupId>org.apache.geronimo</groupId>
+        <artifactId>geronimo-mail_2.1_parent</artifactId>
+        <version>1.0.1-SNAPSHOT</version>
     </parent>
 
-    <groupId>org.apache.geronimo.specs</groupId>
     <artifactId>geronimo-mail_2.1_spec</artifactId>
+    <groupId>org.apache.geronimo.specs</groupId>
     <packaging>bundle</packaging>
-    <name>Apache Geronimo Jakarta Mail Spec 2.1</name>
-    <version>1.0.1-SNAPSHOT</version>
+    <name>Apache Geronimo Jakarta Mail 2.1 :: Spec</name>
 
     <description>Jakarta Mail 2.1 API Specification</description>
 
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..5426832
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.genesis</groupId>
+        <artifactId>genesis-java8-flava</artifactId>
+        <version>2.4</version>
+    </parent>
+
+    <groupId>org.apache.geronimo</groupId>
+    <artifactId>geronimo-mail_2.1_parent</artifactId>
+    <version>1.0.1-SNAPSHOT</version>
+
+    <packaging>pom</packaging>
+
+    <name>Apache Geronimo Jakarta Mail 2.1</name>
+    <description>Jakarta Mail 2.1 API Specification</description>
+
+    <scm>
+        <connection>scm:git:https://gitbox.apache.org/repos/asf/geronimo-mail.git</connection>
+        <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/geronimo-mail.git</developerConnection>
+        <url>http://gitbox.apache.org/repos/asf/geronimo-mail.git</url>
+        <tag>HEAD</tag>
+    </scm>
+
+    <issueManagement>
+        <system>jira</system>
+        <url>https://issues.apache.org/jira/browse/GERONIMO</url>
+    </issueManagement>
+
+    <mailingLists>
+        <mailingList>
+            <name>Geronimo Commits List</name>
+            <subscribe>[email protected]</subscribe>
+            <unsubscribe>[email protected]</unsubscribe>
+            <post>[email protected]</post>
+            <archive>https://mail-archives.apache.org/mod_mbox/geronimo-commits/</archive>
+        </mailingList>
+        <mailingList>
+            <name>Geronimo Developer List</name>
+            <subscribe>[email protected]</subscribe>
+            <unsubscribe>[email protected]</unsubscribe>
+            <post>[email protected]</post>
+            <archive>https://mail-archives.apache.org/mod_mbox/geronimo-dev/</archive>
+        </mailingList>
+        <mailingList>
+            <name>Geronimo Users List</name>
+            <subscribe>[email protected]</subscribe>
+            <unsubscribe>[email protected]</unsubscribe>
+            <post>[email protected]</post>
+            <archive>https://mail-archives.apache.org/mod_mbox/geronimo-users/</archive>
+        </mailingList>
+    </mailingLists>
+
+    <modules>
+        <module>geronimo-mail_2.1_spec</module>
+        <module>geronimo-mail_2.1_impl</module>
+    </modules>
+
+</project>