You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2025/10/09 22:02:01 UTC
(causeway) 05/11: adopts apache release parent
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch release-4.0.0-M1-RC1
in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 52dedde7aeec7114dfa63b2ef3196049a762a4b9
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Thu Oct 9 18:01:56 2025 +0100
adopts apache release parent
---
parent/pom.xml | 34 --------------
pom.xml | 137 ++++-----------------------------------------------------
2 files changed, 9 insertions(+), 162 deletions(-)
diff --git a/parent/pom.xml b/parent/pom.xml
index 021bb3e1518..ca337f7b672 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -942,40 +942,6 @@
</configuration>
</plugin>
- <!-- Create a source-release artifact that contains the
- fully buildable
- project directory source structure. This is the artifact which is
- the official subject of any release vote. -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.apache.apache.resources</groupId>
- <artifactId>
- apache-source-release-assembly-descriptor</artifactId>
- <version>1.7</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>source-release-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <archiveBaseDirectory>..</archiveBaseDirectory>
- <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
- <descriptorRefs>
- <descriptorRef>
- ${sourceReleaseAssemblyDescriptor}</descriptorRef>
- </descriptorRefs>
- <tarLongFileMode>posix</tarLongFileMode>
- </configuration>
- </execution>
- </executions>
- </plugin>
<!-- We want to deploy the artifact to a staging location
for perusal -->
<plugin>
diff --git a/pom.xml b/pom.xml
index 93b59714a09..9986d5b46f8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,6 +22,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>26</version>
+ <relativePath/>
+ </parent>
+
<groupId>org.apache.causeway</groupId>
<artifactId>causeway-all</artifactId>
<version>4.0.0-M1</version>
@@ -39,7 +46,6 @@
<properties>
<revision>4.0.0-SNAPSHOT</revision> <!-- can be overidden like mvn
-Drevision=2.7.8 -->
- <sourceReleaseAssemblyDescriptor>source-release</sourceReleaseAssemblyDescriptor>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -148,6 +154,7 @@
<properties>
<skipTests>true</skipTests>
</properties>
+<!--
<distributionManagement>
<repository>
<id>apache.releases.https</id>
@@ -161,6 +168,7 @@
<url>${distMgmtSnapshotsUrl}</url>
</snapshotRepository>
</distributionManagement>
+-->
<build>
<plugins>
<plugin>
@@ -202,133 +210,6 @@
</configuration>
</plugin>
- <!-- Create a source-release artifact that contains the
- fully buildable
- project directory source structure. This is the artifact which is
- the official subject of any release vote. -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.apache.apache.resources</groupId>
- <artifactId>
- apache-source-release-assembly-descriptor</artifactId>
- <version>1.7</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>source-release-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <archiveBaseDirectory>..</archiveBaseDirectory>
- <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
- <descriptorRefs>
- <descriptorRef>
- ${sourceReleaseAssemblyDescriptor}</descriptorRef>
- </descriptorRefs>
- <tarLongFileMode>posix</tarLongFileMode>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- We want to deploy the artifact to a staging location
- for perusal -->
- <plugin>
- <inherited>true</inherited>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <!-- invalid config
- <updateReleaseInfo>true</updateReleaseInfo> -->
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <notimestamp>true</notimestamp>
- <sourcepath>${delombok.output}</sourcepath>
- <doclint>none</doclint>
- <failOnError>false</failOnError>
-
- <debug>true</debug>
- <minmemory>128m</minmemory>
- <maxmemory>1024m</maxmemory>
- <quiet>true</quiet>
- <doctitle>${project.name} ${project.version}</doctitle>
- <windowtitle>${project.name}
- ${project.version}</windowtitle>
- <splitindex>true</splitindex>
- <encoding>${project.build.sourceEncoding}</encoding>
- <links>
- <link>
- https://docs.oracle.com/en/java/javase/17/docs/api/</link>
- </links>
- <linksource>true</linksource>
- <detectOfflineLinks>false</detectOfflineLinks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- calculate checksums of source release for Apache dist
- area -->
- <plugin>
- <groupId>net.nicoulaj.maven.plugins</groupId>
- <artifactId>checksum-maven-plugin</artifactId>
- <version>1.11</version>
- <executions>
- <execution>
- <id>source-release-checksum</id>
- <goals>
- <goal>artifacts</goal>
- </goals>
- <!-- execute prior to maven-gpg-plugin:sign due
- to
- https://github.com/nicoulaj/checksum-maven-plugin/issues/112 -->
- <phase>post-integration-test</phase>
- <configuration>
- <algorithms>
- <algorithm>SHA-512</algorithm>
- </algorithms>
- <!--
- https://maven.apache.org/apache-resource-bundles/#source-release-assembly-descriptor -->
- <includeClassifiers>source-release</includeClassifiers>
- <excludeMainArtifact>true</excludeMainArtifact>
- <csvSummary>false</csvSummary>
- <!-- attach SHA-512 checksum as well to
- upload to Maven Staging Repo,
- as this eases uploading from stage to dist and doesn't do harm in Maven Central -->
- <attachChecksums>true</attachChecksums>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- We want to sign the artifact, the POM, and all attached
- artifacts (except for SHA-512 checksum) -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <executions>
- <execution>
- <id>sign-release-artifacts</id>
- <goals>
- <goal>sign</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
</plugins>
</build>