#* 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. *# #set($dollar = '$') #macro (var $label)${dollar}{${label}}#end ## use velocity macro var to keep dollar variables org.apache.turbine turbine-parent 14 4.0.0 ${package} ${artifactId} ${version} war ${turbine_app_name} src/main/java **/*.properties **/*.xml src/main/resources true **/*.properties **/*.xml src/main/docker-resources true **/* ../docker-resources src/main/data **/* ../data ../torque/schema true src/main/torque-schema *.xml src/test/java src/test/resources *.xml *.properties org.apache.maven.plugins maven-surefire-plugin ${maven.surefire.version} #var("skipTests") false 1 maven-compiler-plugin #var("maven.compile.source") #var("maven.compile.target") #var("project.build.sourceEncoding") #var("java.home")/bin/javac org.apache.torque torque-maven-plugin #var("torque.version") torque-om generate-sources generate classpath org.apache.torque.templates.om #var("project.basedir")/src/main/torque-schema error ${turbine_database_adapter} ${package}.om false TorqueException true false true true true true true #var("project.build.sourceDirectory") torque-sql-mysql generate-sources generate classpath org.apache.torque.templates.sql #var("project.basedir")/src/main/torque-schema #var("project.build.directory")/generated-sql/torque/mysql none error mysql org.apache.torque torque-templates #var("torque.version") org.apache.maven.plugins maven-war-plugin 3.4.0 #var("maven.compile.source") #var("maven.compile.target") #var("project.basedir")/src/main/webapp/WEB-INF true WEB-INF jetty-ee10-env.xml ${project.basedir}/src/main/webapp/META-INF true META-INF context.xml org.codehaus.mojo sql-maven-plugin 1.5 ${turbine_database_driver} #var("turbine_database_url")#var("turbine_database_name")?useSSL=false ${turbine_database_user} ${turbine_database_password} continue true descending create-db pre-integration-test execute ${docker} ascending #var("project.build.directory")/generated-sql/torque/mysql *.sql create-data pre-integration-test execute ${docker} ascending #var("project.basedir")/src/main/data/sample-mysql-data/_application-data.sql #var("project.basedir")/src/main/data/sample-mysql-data/_turbine-security-data.sql org.eclipse.jetty.ee10 jetty-ee10-maven-plugin 12.0.22 10 8081 60000 ${project.build.directory}/${project.build.finalName}/WEB-INF/jetty-ee10-env.xml org.apache.logging.log4j log4j-jakarta-web #var("log4j2.version") org.apache.logging.log4j log4j-api ${log4j2.version} jakarta.servlet jakarta.servlet-api 6.1.0 provided org.apache.torque torque-runtime ${torque.version} org.apache.turbine turbine #var("turbine.core") org.apache.commons commons-email org.apache.fulcrum fulcrum-yaafi #var("fulcrum.yaafi") org.apache.fulcrum fulcrum-intake #var("fulcrum.intake") org.apache.fulcrum fulcrum-cache #var("fulcrum.cache") org.apache.fulcrum fulcrum-security-memory #var("fulcrum.security") org.apache.fulcrum fulcrum-security-torque #var("fulcrum.security") commons-logging commons-logging org.apache.fulcrum fulcrum-security-api #var("fulcrum.security") org.apache.fulcrum fulcrum-json-jackson2 #var("fulcrum.json") com.fasterxml.jackson.datatype jackson-datatype-json-org 2.17.2 junit junit 4.13.2 test org.apache.fulcrum fulcrum-testcontainer #var("fulcrum.testcontainer") test 17 17 3.5.3 utf-8 2.25.1 8.3.0 3.5.4 ${turbine_database_driver} 4.0.0 4.0.0 4.0.0 2.0.1 2.0.1 2.0.1 2.0.1 7.0 7.0 true false ${turbine_database_url} ${turbine_database_name} NOT_USED mariadb #if(${db}=="mariadb")true#{else}false#end org.mariadb.jdbc.Driver jdbc:mariadb://localhost:3306/ useSSL=false org.mariadb.jdbc mariadb-java-client ${mariadb.version} org.apache.torque torque-maven-plugin org.codehaus.mojo sql-maven-plugin org.mariadb.jdbc mariadb-java-client ${mariadb.version} mysql #if(${db}=="mysql")true#{else}false#end ${turbine_database_driver} ${turbine_database_url} ${turbine_database_timezone} serverTimezone=${turbine_database_timezone}&useSSL=false&verifyServerCertificate=false&requireSSL=false com.mysql mysql-connector-j #var("mysql.version") runtime org.apache.torque torque-maven-plugin org.codehaus.mojo sql-maven-plugin #var("turbine_database_url")${turbine_database_name}?serverTimezone=${turbine_database_timezone}&useSSL=false&verifyServerCertificate=false&requireSSL=false com.mysql mysql-connector-j #var("mysql.version") docker ${docker} org.codehaus.mojo sql-maven-plugin create-db true create-data true ${turbine_database_url} ${turbine_database_driver} ${app_volume_local_repo} true ${db}