This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch v4
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/v4 by this push:
new 132ec28eedd CAUSEWAY-3892: consolidating build config into parent (POM)
132ec28eedd is described below
commit 132ec28eedd2b3eb88a3db1a31b95263b86f2358
Author: Andi Huber <[email protected]>
AuthorDate: Wed May 28 17:35:12 2025 +0200
CAUSEWAY-3892: consolidating build config into parent (POM)
---
api/applib/pom.xml | 28 ----
core/pom.xml | 207 +---------------------------
extensions/core/excel/integtests/pom.xml | 44 +-----
extensions/pom.xml | 8 +-
incubator/pom.xml | 8 +-
mavendeps/pom.xml | 51 +------
parent/pom.xml | 230 +++++++++++++++++++++++++++++--
persistence/commons/pom.xml | 12 +-
persistence/jdbc/pom.xml | 6 +-
persistence/jpa/pom.xml | 13 +-
persistence/querydsl/pom.xml | 6 +-
regressiontests/cmdexecauditsess/pom.xml | 3 -
regressiontests/pom.xml | 186 ++-----------------------
testing/fakedata/integtests/pom.xml | 42 +-----
testing/pom.xml | 36 +----
valuetypes/pom.xml | 47 +------
viewers/commons/pom.xml | 12 +-
viewers/graphql/pom.xml | 23 +---
viewers/restfulobjects/pom.xml | 6 +-
viewers/wicket/pom.xml | 6 +-
20 files changed, 287 insertions(+), 687 deletions(-)
diff --git a/api/applib/pom.xml b/api/applib/pom.xml
index 5a739ca38e7..0853ef81d85 100644
--- a/api/applib/pom.xml
+++ b/api/applib/pom.xml
@@ -40,34 +40,6 @@
<git-plugin.propertiesDir>org/apache/causeway/applib</git-plugin.propertiesDir>
</properties>
- <build>
- <resources>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/resources</directory>
- </resource>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/java</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <filtering>false</filtering>
- <directory>src/test/java</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </testResource>
- </testResources>
- </build>
-
<dependencies>
<dependency>
diff --git a/core/pom.xml b/core/pom.xml
index fa2a9c7eb62..0609c8ceed0 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -31,219 +31,18 @@
<groupId>org.apache.causeway.core</groupId>
<artifactId>causeway-core</artifactId>
-
- <packaging>pom</packaging>
-
+
<name>Apache Causeway Core</name>
-
<url>https://causeway.apache.org</url>
-
<description>
Core framework, providing metamodel, runtime and core APIs.
</description>
- <properties>
-
- <coreBaseDir>${project.build.directory}/..</coreBaseDir>
-
-
<git-plugin.propertiesDir>org/apache/causeway/core</git-plugin.propertiesDir>
- <git-plugin.gitDir>${coreBaseDir}/../.git</git-plugin.gitDir>
-
- <dependency.locations.enabled>false</dependency.locations.enabled>
-
- <testsToExclude>**/*IntegrationTest.java</testsToExclude>
-
-
<checkstyle.configLocation>${coreBaseDir}/codequality/checkstyle.xml</checkstyle.configLocation>
- <pmd.ruleset>${coreBaseDir}/codequality/pmd.xml</pmd.ruleset>
+ <packaging>pom</packaging>
+ <properties>
</properties>
- <build>
- <outputDirectory>${project.build.directory}/classes</outputDirectory>
-
<testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
-
- <pluginManagement>
- <plugins>
-
- <plugin>
- <groupId>pl.project13.maven</groupId>
- <artifactId>git-commit-id-plugin</artifactId>
- <version>${git-commit-id-plugin.version}</version>
- <executions>
- <execution>
- <id>get-the-git-infos</id>
- <goals>
- <goal>revision</goal>
- </goals>
- <phase>validate</phase>
- </execution>
- </executions>
- <configuration>
- <verbose>false</verbose>
- <useNativeGit>true</useNativeGit>
- <dotGitDirectory>${git-plugin.gitDir}</dotGitDirectory>
-
- <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
-
<dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
-
- <failOnNoGitDirectory>true</failOnNoGitDirectory>
-
<injectAllReactorProjects>true</injectAllReactorProjects>
-
-
<generateGitPropertiesFile>true</generateGitPropertiesFile>
- <generateGitPropertiesFilename>
-
${project.build.outputDirectory}/${git-plugin.propertiesDir}/git.properties</generateGitPropertiesFilename>
-
- <abbrevLength>7</abbrevLength>
- </configuration>
-
- </plugin>
-
- </plugins>
- </pluginManagement>
-
- <!-- build plugins; apply to all inheriting modules. Note that some
- plugins
- also come from the "super-POM" for the default bindings. For
example, in
- the 'default' lifecycle, the resources, compiler, surefire, jar,
install
- and deploy plugins are automatically included because they provide
the default
- bindings. For the 'site' lifecycle, the site plugin is
automatically included. -->
- <plugins>
- <!-- run using: mvn org.apache.rat:apache-rat-plugin:check -->
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <inherited>true</inherited>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <inherited>true</inherited>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>apache-release</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-toolchains-plugin</artifactId>
- <version>3.2.0</version>
- <executions>
- <execution>
- <goals>
- <goal>toolchain</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <toolchains>
- <jdk>
- <version>17</version>
- <vendor>openjdk</vendor>
- </jdk>
- </toolchains>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <profile>
- <id>owasp</id>
- <activation>
- <property>
- <name>owasp</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.owasp</groupId>
- <artifactId>dependency-check-maven</artifactId>
- <version>12.1.1</version>
- <executions>
- <execution>
- <id>owasp-aggregate</id>
- <goals>
- <goal>aggregate</goal>
- </goals>
- <configuration>
- <skipProvidedScope>true</skipProvidedScope>
- <skipRuntimeScope>true</skipRuntimeScope>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <profile>
- <id>jdeps</id>
- <activation>
- <property>
- <name>jdeps</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jdeps-plugin</artifactId>
- <version>3.1.2</version>
- <executions>
- <execution>
- <id>jdeps-jdkinternals</id>
- <goals>
- <goal>jdkinternals</goal>
- <goal>test-jdkinternals</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <profile>
- <id>src</id>
- <activation>
- <property>
- <name>!skip.src</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <profile>
- <id>git</id>
- <activation>
- <property>
- <name>git</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>pl.project13.maven</groupId>
- <artifactId>git-commit-id-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- </profiles>
-
<modules>
<module>../supplemental-model</module>
diff --git a/extensions/core/excel/integtests/pom.xml
b/extensions/core/excel/integtests/pom.xml
index daad2120db1..9916d22182b 100644
--- a/extensions/core/excel/integtests/pom.xml
+++ b/extensions/core/excel/integtests/pom.xml
@@ -22,53 +22,15 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.causeway.extensions</groupId>
- <artifactId>causeway-extensions</artifactId>
+ <groupId>org.apache.causeway.regressiontests</groupId>
+ <artifactId>causeway-regressiontests</artifactId>
<version>${revision}</version>
- <relativePath>../../../pom.xml</relativePath>
+ <relativePath>../../../../regressiontests/pom.xml</relativePath>
</parent>
<artifactId>causeway-extensions-excel-integtests</artifactId>
<name>Apache Causeway Ext - Excel (Integ Tests)</name>
- <properties>
- <maven.install.skip>true</maven.install.skip>
- <maven.deploy.skip>true</maven.deploy.skip>
- </properties>
-
- <build>
- <resources>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/resources</directory>
- </resource>
- <resource>
- <directory>src/main/java</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <filtering>false</filtering>
- <directory>src/test/resources</directory>
- </testResource>
- <testResource>
- <directory>src/test/java</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </testResource>
- </testResources>
- </build>
-
<dependencies>
<dependency>
diff --git a/extensions/pom.xml b/extensions/pom.xml
index 8e1045aa602..14d33f35521 100644
--- a/extensions/pom.xml
+++ b/extensions/pom.xml
@@ -23,10 +23,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
<version>${revision}</version>
- <relativePath>../core/pom.xml</relativePath>
+ <relativePath>../parent/pom.xml</relativePath>
</parent>
<groupId>org.apache.causeway.extensions</groupId>
@@ -41,8 +41,6 @@
<packaging>pom</packaging>
<properties>
-
<jar-plugin.automaticModuleName>org.apache.causeway.extensions</jar-plugin.automaticModuleName>
-
<git-plugin.propertiesDir>org/apache/causeway/extensions</git-plugin.propertiesDir>
</properties>
<build>
diff --git a/incubator/pom.xml b/incubator/pom.xml
index e325405ed23..7e31cb3c13e 100644
--- a/incubator/pom.xml
+++ b/incubator/pom.xml
@@ -23,10 +23,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
<version>${revision}</version>
- <relativePath>../core/pom.xml</relativePath>
+ <relativePath>../parent/pom.xml</relativePath>
</parent>
<groupId>org.apache.causeway.incubator</groupId>
@@ -40,8 +40,6 @@
<packaging>pom</packaging>
<properties>
-
<jar-plugin.automaticModuleName>org.apache.causeway.incubator</jar-plugin.automaticModuleName>
-
<git-plugin.propertiesDir>org/apache/causeway/incubator</git-plugin.propertiesDir>
</properties>
<build>
diff --git a/mavendeps/pom.xml b/mavendeps/pom.xml
index bfc40907fda..b6c40919812 100644
--- a/mavendeps/pom.xml
+++ b/mavendeps/pom.xml
@@ -23,10 +23,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
<version>${revision}</version>
- <relativePath>../core/pom.xml</relativePath>
+ <relativePath>../parent/pom.xml</relativePath>
</parent>
<groupId>org.apache.causeway.mavendeps</groupId>
@@ -40,54 +40,9 @@
<packaging>pom</packaging>
<properties>
-
<jar-plugin.automaticModuleName>org.apache.causeway.mavendeps</jar-plugin.automaticModuleName>
-
<git-plugin.propertiesDir>org/apache/causeway/mavendeps</git-plugin.propertiesDir>
-
- <lombok.version>1.18.38</lombok.version>
-
<failOnMissingWebXml>false</failOnMissingWebXml>
-
-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-
</properties>
- <build>
- <resources>
- <resource>
- <filtering>true</filtering>
- <directory>src/main/resources</directory>
- <includes>
- <include>**</include>
- </includes>
- </resource>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/java</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
-
- </build>
-
- <dependencyManagement>
- <dependencies>
-
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>${lombok.version}</version>
- <scope>provided</scope>
- </dependency>
-
- </dependencies>
- </dependencyManagement>
-
<modules>
<module>webapp</module>
</modules>
diff --git a/parent/pom.xml b/parent/pom.xml
index 7963cf337e6..d270f6f32c0 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -35,10 +35,11 @@
<name>Apache Causeway Parent</name>
<url>https://causeway.apache.org</url>
<description>
- Gathers all the framework build configuration, such that the BOM can
be free of that.
+ Gathers all the framework build configuration, such that the BOM can be
+ free of that.
</description>
-
+
<properties>
<!-- BUILD SPECIFICA -->
@@ -69,9 +70,40 @@
<maven-surefire-report-plugin.version>3.5.3</maven-surefire-report-plugin.version>
<!-- for surefire, failsafe and surefire-report -->
<maven.plugin.tools.version>3.15.1</maven.plugin.tools.version>
+
+ <maven.jar.phase>package</maven.jar.phase> <!-- override with 'none'
for artifacts that need to skip the maven-jar-plugin-->
+
+ <!-- config migrated here from core POM -->
+ <git-plugin.gitDir>${project.basedir}/.git</git-plugin.gitDir>
+ <dependency.locations.enabled>false</dependency.locations.enabled>
+ <testsToExclude>**/*IntegrationTest.java</testsToExclude>
+
<checkstyle.configLocation>${project.basedir}/core/codequality/checkstyle.xml</checkstyle.configLocation>
+ <pmd.ruleset>${project.basedir}/core/codequality/pmd.xml</pmd.ruleset>
+
</properties>
-
+
<build>
+
+ <resources>
+ <resource>
+ <filtering>true</filtering>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </resource>
+ <resource>
+ <filtering>false</filtering>
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+
<pluginManagement>
<plugins>
<!-- set versions of common plugins for reproducibility,
ordered
@@ -163,6 +195,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
+ <executions>
+ <execution>
+ <id>default-jar</id>
+ <phase>${maven.jar.phase}</phase>
+ </execution>
+ </executions>
<configuration>
<skipIfEmpty>true</skipIfEmpty>
<archive>
@@ -616,9 +654,63 @@
<artifactId>clirr-maven-plugin</artifactId>
<version>2.8</version>
</plugin>
+ <plugin>
+ <groupId>pl.project13.maven</groupId>
+ <artifactId>git-commit-id-plugin</artifactId>
+ <version>${git-commit-id-plugin.version}</version>
+ <executions>
+ <execution>
+ <id>get-the-git-infos</id>
+ <goals>
+ <goal>revision</goal>
+ </goals>
+ <phase>validate</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <verbose>false</verbose>
+ <useNativeGit>true</useNativeGit>
+ <dotGitDirectory>${git-plugin.gitDir}</dotGitDirectory>
+
+ <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
+
<dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
+
+ <failOnNoGitDirectory>true</failOnNoGitDirectory>
+
<injectAllReactorProjects>true</injectAllReactorProjects>
+
+
<generateGitPropertiesFile>true</generateGitPropertiesFile>
+ <generateGitPropertiesFilename>
+
${project.build.outputDirectory}/${git-plugin.propertiesDir}/git.properties</generateGitPropertiesFilename>
+
+ <abbrevLength>7</abbrevLength>
+ </configuration>
+
+ </plugin>
</plugins>
</pluginManagement>
+
+ <outputDirectory>${project.build.directory}/classes</outputDirectory>
+
<testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
+
<plugins>
+ <!-- build plugins; apply to all inheriting modules. Note that some
+ plugins
+ also come from the "super-POM" for the default bindings. For
example, in
+ the 'default' lifecycle, the resources, compiler, surefire, jar,
install
+ and deploy plugins are automatically included because they provide
the default
+ bindings. For the 'site' lifecycle, the site plugin is
automatically included. -->
+ <!-- run using: mvn org.apache.rat:apache-rat-plugin:check -->
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
+
<!-- We want to package up license resources in the JARs produced
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -790,6 +882,27 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-toolchains-plugin</artifactId>
+ <version>3.2.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>toolchain</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <toolchains>
+ <jdk>
+ <version>17</version>
+ <vendor>openjdk</vendor>
+ </jdk>
+ </toolchains>
+ </configuration>
+ </plugin>
+
<!-- Create a source-release artifact that contains the
fully buildable
project directory source structure. This is
the artifact which is
@@ -835,18 +948,6 @@
<updateReleaseInfo>true</updateReleaseInfo> -->
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
@@ -935,6 +1036,105 @@
</profile>
<!-- END SNIPPET: release-profile -->
+ <profile>
+ <id>src</id>
+ <activation>
+ <property>
+ <name>!skip.src</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
+ <id>owasp</id>
+ <activation>
+ <property>
+ <name>owasp</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.owasp</groupId>
+ <artifactId>dependency-check-maven</artifactId>
+ <version>12.1.1</version>
+ <executions>
+ <execution>
+ <id>owasp-aggregate</id>
+ <goals>
+ <goal>aggregate</goal>
+ </goals>
+ <configuration>
+ <skipProvidedScope>true</skipProvidedScope>
+ <skipRuntimeScope>true</skipRuntimeScope>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
+ <id>jdeps</id>
+ <activation>
+ <property>
+ <name>jdeps</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jdeps-plugin</artifactId>
+ <version>3.1.2</version>
+ <executions>
+ <execution>
+ <id>jdeps-jdkinternals</id>
+ <goals>
+ <goal>jdkinternals</goal>
+ <goal>test-jdkinternals</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
+ <id>git</id>
+ <activation>
+ <property>
+ <name>git</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>pl.project13.maven</groupId>
+ <artifactId>git-commit-id-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
<profile>
<id>causeway-lombok-workaround</id>
<activation>
diff --git a/persistence/commons/pom.xml b/persistence/commons/pom.xml
index 6a4c91e57d8..7503b4d47f8 100644
--- a/persistence/commons/pom.xml
+++ b/persistence/commons/pom.xml
@@ -21,12 +21,12 @@
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.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
- <version>${revision}</version>
- <relativePath>../../core/pom.xml</relativePath>
- </parent>
+ <parent>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
+ <version>${revision}</version>
+ <relativePath>../../parent/pom.xml</relativePath>
+ </parent>
<groupId>org.apache.causeway.persistence</groupId>
<artifactId>causeway-persistence-commons</artifactId>
diff --git a/persistence/jdbc/pom.xml b/persistence/jdbc/pom.xml
index 3f7ef197518..b02bf1807c3 100644
--- a/persistence/jdbc/pom.xml
+++ b/persistence/jdbc/pom.xml
@@ -17,10 +17,10 @@ additional
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
<version>${revision}</version>
- <relativePath>../../core/pom.xml</relativePath>
+ <relativePath>../../parent/pom.xml</relativePath>
</parent>
<groupId>org.apache.causeway.persistence</groupId>
diff --git a/persistence/jpa/pom.xml b/persistence/jpa/pom.xml
index b1a2c947e78..303eca6fa47 100644
--- a/persistence/jpa/pom.xml
+++ b/persistence/jpa/pom.xml
@@ -13,12 +13,12 @@
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.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
- <version>${revision}</version>
- <relativePath>../../core/pom.xml</relativePath>
- </parent>
+ <parent>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
+ <version>${revision}</version>
+ <relativePath>../../parent/pom.xml</relativePath>
+ </parent>
<groupId>org.apache.causeway.persistence</groupId>
<artifactId>causeway-persistence-jpa</artifactId>
@@ -37,5 +37,4 @@
<module>eclipselink</module>
</modules>
-
</project>
\ No newline at end of file
diff --git a/persistence/querydsl/pom.xml b/persistence/querydsl/pom.xml
index 71f309ac759..af750d26d9d 100644
--- a/persistence/querydsl/pom.xml
+++ b/persistence/querydsl/pom.xml
@@ -14,10 +14,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
<version>${revision}</version>
- <relativePath>../../core/pom.xml</relativePath>
+ <relativePath>../../parent/pom.xml</relativePath>
</parent>
<groupId>org.apache.causeway.persistence</groupId>
diff --git a/regressiontests/cmdexecauditsess/pom.xml
b/regressiontests/cmdexecauditsess/pom.xml
index 8e59058198e..d2ad6f97398 100644
--- a/regressiontests/cmdexecauditsess/pom.xml
+++ b/regressiontests/cmdexecauditsess/pom.xml
@@ -36,9 +36,6 @@
<properties>
<maven.install.skip>true</maven.install.skip>
<maven.deploy.skip>true</maven.deploy.skip>
-
-
<jar-plugin.automaticModuleName>org.apache.causeway.regressiontests.cmdexecauditsess</jar-plugin.automaticModuleName>
-
<git-plugin.propertiesDir>org/apache/causeway/regressiontests/cmdexecauditsess</git-plugin.propertiesDir>
</properties>
<dependencyManagement>
diff --git a/regressiontests/pom.xml b/regressiontests/pom.xml
index 37f82de7aa4..38736f0a891 100644
--- a/regressiontests/pom.xml
+++ b/regressiontests/pom.xml
@@ -44,184 +44,11 @@
<skip.regressionTests>false</skip.regressionTests>
<skipTests>${skip.regressionTests}</skipTests>
+ <maven.jar.phase>none</maven.jar.phase>
<maven.install.skip>true</maven.install.skip>
<maven.deploy.skip>true</maven.deploy.skip>
-
-
<jar-plugin.automaticModuleName>org.apache.causeway.regressiontests</jar-plugin.automaticModuleName>
-
<git-plugin.propertiesDir>org/apache/causeway/regressiontests</git-plugin.propertiesDir>
</properties>
-
- <build>
- <resources>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/resources</directory>
- </resource>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/java</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
-
- <!-- APACHE CAUSEWAY customisation 4/7: start -->
- <configuration>
- <addDefaultLicenseMatchers>true</addDefaultLicenseMatchers>
- <excludeSubProjects>true</excludeSubProjects>
- <excludes>
- <exclude>**/target/**</exclude>
- <exclude>**/target-ide/**</exclude>
-
- <exclude>**/node_modules/**</exclude>
- <exclude>**/node/npm</exclude>
- <exclude>**/node/npm.cmd</exclude>
-
- <exclude>**/*.project</exclude>
- <exclude>**/.classpath</exclude>
- <exclude>**/.settings/**</exclude>
- <exclude>**/*.launch</exclude>
- <exclude>**/schema.gql</exclude>
- <exclude>**/*._.gql</exclude>
- <exclude>**/.gitkeep</exclude>
-
- <exclude>**/*.iml</exclude>
- <exclude>**/intellij/launch/*.xml</exclude>
-
-
<exclude>**/gradle/wrapper/gradle-wrapper.properties</exclude>
- <exclude>**/gradlew</exclude>
- <exclude>**/gradlew.bat</exclude>
- <exclude>**/rebel.xml</exclude>
- <exclude>**/translations**.po</exclude>
- <exclude>**/translations.pot</exclude>
-
- <exclude>**/META-INF/spring.factories</exclude>
- <exclude>**/MANIFEST.MF</exclude>
- <exclude>**/META-INF/services/**</exclude>
-
-
<exclude>**/src/main/resources/supplemental-models.xml</exclude>
-
- <exclude>**/webpack.config.js</exclude>
- <exclude>**/webpack.generated.js</exclude>
- <exclude>**/pnpm-lock.yaml</exclude>
- <exclude>**/pnpmfile.js</exclude>
- <exclude>**/*.min.js</exclude>
-
- <exclude>**/*.pdn</exclude>
- <exclude>**/*.svg</exclude>
- <exclude>**/*.rtf</exclude>
- <exclude>**/*.drawio.svg</exclude>
- <exclude>**/*.json</exclude>
-
- <exclude>**/supplemental-ui/**</exclude>
- <exclude>**/_nav.adoc</exclude>
- <exclude>**/module-nav.adoc</exclude>
- <exclude>**/component-nav.adoc</exclude>
- <exclude>**/partials/extensions.adoc</exclude>
-
- <exclude>**/*.ucd</exclude>
- <exclude>**/*.ucls</exclude>
- <exclude>**/*.puml</exclude>
-
- <exclude>**/bootstrap-datetimepicker.min.css</exclude>
- <exclude>**/bootstrap-datetimepicker.css</exclude>
-
- <exclude>**/jquery.zclip.js</exclude>
- <exclude>**/simple-sidebar.css</exclude>
- <exclude>**/causeway-bootstrap-growl.js</exclude>
- <exclude>**/moment.js</exclude>
- <exclude>**/prism*.js</exclude>
- <exclude>**/prism*.css</exclude>
- <exclude>**/vega*.js</exclude>
-
- <exclude>**/css/home/scss-files.txt</exclude>
- <exclude>**/css/home/styles.css</exclude>
- <exclude>**/css/site-custom.css</exclude>
-
- <exclude>**/swagger-ui/**</exclude>
-
- <exclude>**/select2-bootstrap.css</exclude>
-
- <exclude>**/wicket-xhtml1.4-strict.dtd</exclude>
-
- <exclude>**/application.js</exclude>
-
- <exclude>**/xml/objects/**</exclude>
- <exclude>**/test.data</exclude>
- <exclude>**/fixture-data/**</exclude>
- <exclude>**/*.approved.*</exclude>
- <exclude>**/approved/*.adoc</exclude>
- <exclude>**/secman-permissions.yml</exclude>
-
-
<exclude>**/fakedata/applib/services/clobs/*.dtd</exclude>
-
<exclude>**/fakedata/applib/services/clobs/*.dcl</exclude>
-
<exclude>**/fakedata/applib/services/clobs/*.soc</exclude>
- <exclude>**/fakedata/applib/services/clobs/vs</exclude>
- <exclude>**/fakedata/applib/services/clobs/vx</exclude>
-
-
<exclude>**/viewer/wicket/ui/components/**/*.css</exclude>
-
<exclude>**/viewer/wicket/ui/components/**/*.js</exclude>
-
- <exclude>
-
**/causeway/valuetypes/asciidoc/builder/src/test/resources/**</exclude>
-
- <exclude>
-
**/incubator/clients/kroviz/package.json.d/project.info</exclude>
- <exclude>**/kroviz/webpack.config.d/**</exclude>
- </excludes>
- <licenses>
- <license
-
implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
- <licenseFamilyCategory>AL2 </licenseFamilyCategory>
- <licenseFamilyName>Apache License
2.0</licenseFamilyName>
- <notes />
- <patterns>
- <pattern>Licensed to the Apache Software
- Foundation (ASF) under
- one</pattern>
- </patterns>
- </license>
- </licenses>
- <licenseFamilies>
- <licenseFamily
-
implementation="org.apache.rat.license.SimpleLicenseFamily">
- <familyName>Apache License 2.0</familyName>
- </licenseFamily>
- </licenseFamilies>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
-
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.causeway.testing</groupId>
- <artifactId>causeway-testing-unittestsupport-applib</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.causeway.testing</groupId>
- <artifactId>causeway-testing-integtestsupport-applib</artifactId>
- </dependency>
-
- </dependencies>
-
<dependencyManagement>
<dependencies>
@@ -319,6 +146,17 @@
</dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.causeway.testing</groupId>
+ <artifactId>causeway-testing-unittestsupport-applib</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.causeway.testing</groupId>
+ <artifactId>causeway-testing-integtestsupport-applib</artifactId>
+ </dependency>
+ </dependencies>
+
<modules>
<module>base</module>
<module>base-jpa</module>
diff --git a/testing/fakedata/integtests/pom.xml
b/testing/fakedata/integtests/pom.xml
index a56b4914eec..daec191d39c 100644
--- a/testing/fakedata/integtests/pom.xml
+++ b/testing/fakedata/integtests/pom.xml
@@ -22,51 +22,15 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.causeway.testing</groupId>
- <artifactId>causeway-testing-fakedata</artifactId>
+ <groupId>org.apache.causeway.regressiontests</groupId>
+ <artifactId>causeway-regressiontests</artifactId>
<version>${revision}</version>
+ <relativePath>../../../regressiontests/pom.xml</relativePath>
</parent>
<artifactId>causeway-testing-fakedata-integtests</artifactId>
<name>Apache Causeway Tst - FakeData (integ tests)</name>
- <properties>
- <maven.install.skip>true</maven.install.skip>
- <maven.deploy.skip>true</maven.deploy.skip>
- </properties>
-
- <build>
- <resources>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/resources</directory>
- </resource>
- <resource>
- <directory>src/main/java</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>src/test/resources</directory>
- </testResource>
- <testResource>
- <directory>src/test/java</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </testResource>
- </testResources>
- </build>
-
<dependencies>
<!-- PERSISTENCE -->
diff --git a/testing/pom.xml b/testing/pom.xml
index 5334063c774..448bb13ee2c 100644
--- a/testing/pom.xml
+++ b/testing/pom.xml
@@ -23,10 +23,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
<version>${revision}</version>
- <relativePath>../core/pom.xml</relativePath>
+ <relativePath>../parent/pom.xml</relativePath>
</parent>
<groupId>org.apache.causeway.testing</groupId>
@@ -39,36 +39,6 @@
<packaging>pom</packaging>
- <properties>
- <maven.compiler.release>17</maven.compiler.release>
-
-
<jar-plugin.automaticModuleName>org.apache.causeway.testing</jar-plugin.automaticModuleName>
-
<git-plugin.propertiesDir>org/apache/causeway/testing</git-plugin.propertiesDir>
- </properties>
-
- <build>
- <resources>
- <resource>
- <filtering>true</filtering>
- <directory>src/main/resources</directory>
- <includes>
- <include>**</include>
- </includes>
- </resource>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/java</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
- </build>
-
-
<modules>
<module>archtestsupport</module>
<module>fakedata</module>
diff --git a/valuetypes/pom.xml b/valuetypes/pom.xml
index 1819dec036a..c6839e551b9 100644
--- a/valuetypes/pom.xml
+++ b/valuetypes/pom.xml
@@ -22,12 +22,12 @@
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.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
- <version>${revision}</version>
- <relativePath>../core/pom.xml</relativePath>
- </parent>
+ <parent>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
+ <version>${revision}</version>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
<groupId>org.apache.causeway.valuetypes</groupId>
<artifactId>causeway-valuetypes</artifactId>
@@ -39,41 +39,6 @@
<packaging>pom</packaging>
- <properties>
-
<jar-plugin.automaticModuleName>org.apache.causeway.valuetypes</jar-plugin.automaticModuleName>
-
<git-plugin.propertiesDir>org/apache/causeway/valuetypes</git-plugin.propertiesDir>
- </properties>
-
- <build>
- <resources>
- <resource>
- <filtering>true</filtering>
- <directory>src/main/resources</directory>
- <includes>
- <include>**</include>
- </includes>
- </resource>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/java</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
<modules>
<module>jodatime</module>
<module>asciidoc</module>
diff --git a/viewers/commons/pom.xml b/viewers/commons/pom.xml
index 8dd4500a53d..b935469ffe1 100644
--- a/viewers/commons/pom.xml
+++ b/viewers/commons/pom.xml
@@ -22,10 +22,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
<version>${revision}</version>
- <relativePath>../../core/pom.xml</relativePath>
+ <relativePath>../../parent/pom.xml</relativePath>
</parent>
<groupId>org.apache.causeway.viewer</groupId>
@@ -33,12 +33,6 @@
<name>Apache Causeway Viewer - Commons</name>
<packaging>pom</packaging>
-
- <properties>
- </properties>
-
- <dependencies>
- </dependencies>
<modules>
<module>applib</module>
diff --git a/viewers/graphql/pom.xml b/viewers/graphql/pom.xml
index a293404d06b..3f5537403a6 100644
--- a/viewers/graphql/pom.xml
+++ b/viewers/graphql/pom.xml
@@ -23,12 +23,12 @@
<modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
- <version>${revision}</version>
- <relativePath>../../core/pom.xml</relativePath>
- </parent>
+ <parent>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
+ <version>${revision}</version>
+ <relativePath>../../parent/pom.xml</relativePath>
+ </parent>
<groupId>org.apache.causeway.viewer</groupId>
<artifactId>causeway-viewer-graphql</artifactId>
@@ -36,17 +36,6 @@
<packaging>pom</packaging>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>javax.activation</groupId>
- <artifactId>activation</artifactId>
- <!-- TODO: dependency convergence force -->
- <version>1.1.1</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<modules>
<module>applib</module>
<module>model</module>
diff --git a/viewers/restfulobjects/pom.xml b/viewers/restfulobjects/pom.xml
index 6745dff7bc2..5bb4965ab07 100644
--- a/viewers/restfulobjects/pom.xml
+++ b/viewers/restfulobjects/pom.xml
@@ -21,10 +21,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
<version>${revision}</version>
- <relativePath>../../core/pom.xml</relativePath>
+ <relativePath>../../parent/pom.xml</relativePath>
</parent>
<groupId>org.apache.causeway.viewer</groupId>
diff --git a/viewers/wicket/pom.xml b/viewers/wicket/pom.xml
index cf3f159425c..809ff8b95fd 100644
--- a/viewers/wicket/pom.xml
+++ b/viewers/wicket/pom.xml
@@ -22,10 +22,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.causeway.core</groupId>
- <artifactId>causeway-core</artifactId>
+ <groupId>org.apache.causeway</groupId>
+ <artifactId>causeway-parent</artifactId>
<version>${revision}</version>
- <relativePath>../../core/pom.xml</relativePath>
+ <relativePath>../../parent/pom.xml</relativePath>
</parent>
<groupId>org.apache.causeway.viewer</groupId>