[ https://issues.apache.org/jira/browse/DERBY-7157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784636#comment-17784636 ]
Richard N. Hillegas commented on DERBY-7157: -------------------------------------------- Attaching derby-7157-12-aa-adjustMavenWarPom.diff. This patch adjusts the maven war pom so that the maven publication step will work. My first attempt to follow the instructions in maven2/README.txt failed on a version mismatch related to maven2/war/pom.xml. So I upgraded to the latest maven version (3.9.5) and I changed the war pom to reference the latest version of the war plugin (3.3.1). Then publication failed, complaining that maven couldn't find a war.xml file. I hacked around this by adding the following stanza to the war plugin descriptor: <!-- Workaround to make the default WAR build pass. Note that the WAR built by Maven isn't used. --> <configuration> <failOnMissingWebXml>false</failOnMissingWebXml> </configuration> and I removed the following stanza, the hack needed to address a related problem when publishing 10.16.1.1: <properties> <!-- Workaround to make the default WAR build pass. Note that the WAR built by Maven isn't used. --> <maven.war.webxml>${basedir}/../../tools/j2ee/derby/WEB-INF/web.xml</maven.war.webxml> </properties> Touches the following file: {noformat} M maven2/war/pom.xml {noformat} > Tasks for releasing Derby 10.17.1 > --------------------------------- > > Key: DERBY-7157 > URL: https://issues.apache.org/jira/browse/DERBY-7157 > Project: Derby > Issue Type: Task > Components: Build tools > Reporter: Richard N. Hillegas > Assignee: Richard N. Hillegas > Priority: Major > Attachments: derby-7157-01-aa-draftReleaseNotes.diff, > derby-7157-02-aa-initialSTATUSupdate.diff, > derby-7157-03-aa-updateDocConstants.diff, > derby-7157-04-aa-updateReleaseProperties.diff, > derby-7157-05-aa-bumpReleaseNumberOnTrunk.diff, > derby-7157-06-aa-newDataDictionaryVersion.diff, > derby-7157-07-aa-recordBranchesOnWebsite.diff, > derby-7157-08-aa-updateAntVersion.diff, > derby-7157-09-aa-goofProofBranchName.diff, > derby-7157-10-aa-deprecatedJavaPlatforms.diff, > derby-7157-11-aa-addReleaseToWebsite.diff, > derby-7157-12-aa-adjustMavenWarPom.diff > > > Placeholder for activity related to producing a 10.17.1 release. -- This message was sent by Atlassian Jira (v8.20.10#820010)