This is an automated email from the ASF dual-hosted git repository.

gk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/turbine-archetypes.git

commit 74274139707ea57529fe3c6be2d7947f2569738e
Author: gk <[email protected]>
AuthorDate: Wed Apr 23 09:59:26 2025 +0200

    Preparing Turbine archetype v.turbine-webapp-7.0-4.0.0 using turbine parent 
14 and turbine 7.0 (SNAPSHOT); setting dynamically profile mariadb or mysql 
dependening on selected archetype attribute 'db'
---
 README.md                                      | 13 +++++++++----
 src/changes/changes.xml                        |  8 +++++++-
 src/main/resources/archetype-resources/pom.xml | 22 ++++++++++++++--------
 3 files changed, 30 insertions(+), 13 deletions(-)

diff --git a/README.md b/README.md
index 3d589b0..8aa6d27 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,23 @@
+# turbine-webapp-7.0
+
+* Maven Archetype to generate a webapp utilizing Turbine 7.0 and Torque 6.0 
(and later Torque 7.0)
+* Java 17 JDK or later since Turbine 7.0
+
 # turbine-webapp-6.0
 
-Maven Archetype to generate a webapp utilizing Turbine 7.0 and Torque 6.0
+* Maven Archetype to generate a webapp utilizing Turbine 6.0 and Torque 5.1
+* Java 11 JDK or later (since Turbine 5.2), before Java 8
 
 ## Getting Started
 
 These instructions will get you a copy of the project up and running on your 
local machine for development and testing purposes. See deployment for notes on 
how to deploy the project on a live system.
 
-### Prerequisites
+### Further Prerequisites
 
-* Java 11 JDK or later (since Turbine 5.2), before Java 8.
 * [MySQL](https://www.mysql.com/) - Database Server or Container like 
[Docker](https://docs.docker.com/get-docker/) or Podman.
 * [Maven](https://maven.apache.org/) - Dependency Management
 
-You should have Java 17 or later installed.  The archetype sets up a new 
application using MySQL as the default database store.  However, you can adjust 
this to use any database supported by Apache Torque 5.1. If not using Docker, 
you should therefore be at least have a database instance where you have access 
rights to create a new database schema and populate it with the tables the 
application generates.  Finally, this is a maven archetype, so of course you 
should install a local versio [...]
+You should have a Java version as mentioned above (or later) installed.  The 
archetype sets up a new application using MySQL as the default database store.  
However, you can adjust this to use any database supported by Apache Torque 
5.1. If not using Docker, you should therefore be at least have a database 
instance where you have access rights to create a new database schema and 
populate it with the tables the application generates.  Finally, this is a 
maven archetype, so of course you s [...]
 
 
 ### Installing
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 7c95263..611ead2 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -24,7 +24,13 @@
   </properties>
 
   <body>
-    <release version="turbine-webapp-6.0-SNAPSHOT" date="In GitBox">
+    <release version="turbine-webapp-7.0-4.0.0-SNAPSHOT" date="In GitBox">
+       <action type="update" dev="gk">
+       Update to Turbine 7.0 with Fulcrum modules intake, parser, security set 
to v4.0.0 and Torque 6.0.  USing jakarta libraries and jetty-ee10-maven-plugin 
v.12.0.14 with dbcp2.
+       </action>
+       <action type="update" dev="gk">
+       Use property connectionProperties, evaluate db property in archetype 
pom.xml
+       </action>
     </release>   
     <release version="turbine-webapp-6.0-3.0.0" date="2024-04-23">
          <action type="update" dev="jp">
diff --git a/src/main/resources/archetype-resources/pom.xml 
b/src/main/resources/archetype-resources/pom.xml
index 1d5f7bb..da95058 100644
--- a/src/main/resources/archetype-resources/pom.xml
+++ b/src/main/resources/archetype-resources/pom.xml
@@ -27,7 +27,7 @@ under the License.
     <parent>
         <groupId>org.apache.turbine</groupId>
         <artifactId>turbine-parent</artifactId>
-        <version>14-SNAPSHOT</version>
+        <version>14</version>
         <relativePath/>
      </parent>
 
@@ -427,14 +427,14 @@ under the License.
         <mysql.version>8.0.33</mysql.version>
         <mariadb.version>3.4.1</mariadb.version><!-- v3 requries java 11 and 
adapter name mariab instead of mysql -->
         <driverClassName>${turbine_database_driver}</driverClassName>
-        <fulcrum.intake>3.0.1-SNAPSHOT</fulcrum.intake>
-        <fulcrum.parser>3.0.1-SNAPSHOT</fulcrum.parser>
-        <fulcrum.security>3.0.1-SNAPSHOT</fulcrum.security>
+        <fulcrum.intake>4.0.0</fulcrum.intake>
+        <fulcrum.parser>4.0.0</fulcrum.parser>
+        <fulcrum.security>4.0.0</fulcrum.security>
         <fulcrum.yaafi>2.0.1</fulcrum.yaafi>
-        <fulcrum.json>2.0.2-SNAPSHOT</fulcrum.json>
-        <fulcrum.cache>2.0.1-SNAPSHOT</fulcrum.cache>
-        <fulcrum.testcontainer>2.0.1-SNAPSHOT</fulcrum.testcontainer>
-        <torque.version>6.0</torque.version>
+        <fulcrum.json>2.0.1</fulcrum.json>
+        <fulcrum.cache>2.0.1</fulcrum.cache>
+        <fulcrum.testcontainer>2.0.1</fulcrum.testcontainer>
+        <torque.version>6.0</torque.version> <!-- stable version is 6.0, 
7.0-SNAPSHOT next  -->
         <turbine.core>7.0-SNAPSHOT</turbine.core>     
         <skipTests>true</skipTests>
         <docker>false</docker>
@@ -446,6 +446,9 @@ under the License.
     <profiles>
         <profile>
             <id>mariadb</id>
+            <activation>
+                
<activeByDefault>#if(${db}=="mariadb")true#{else}false#end</activeByDefault>
+             </activation>
             <properties>
                 <driverClassName>org.mariadb.jdbc.Driver</driverClassName>
                 
<turbine_database_url>jdbc:mariadb://localhost:3306/</turbine_database_url>
@@ -480,6 +483,9 @@ under the License.
         </profile>
         <profile>
             <id>mysql</id>
+            <activation>
+                
<activeByDefault>#if(${db}=="mysql")true#{else}false#end</activeByDefault>
+             </activation>
             <properties>
                 <driverClassName>${turbine_database_driver}</driverClassName>
                 
<turbine_database_url>${turbine_database_url}</turbine_database_url>

Reply via email to