Upgraded Maven required for 7.6.1?

106 views
Skip to first unread message

Sean Kalynuk

unread,
Nov 23, 2023, 11:36:53 AM11/23/23
to DSpace Technical Support

It looks like there is now a higher version requirement for Maven?

 

Docs say 3.3.x+ (as of today):

 

https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-ApacheMaven3.3.xorabove(Javabuildtool)

 

There is mention of using 3.8.x and 3.6.x though.

 

A “mvn package” (using Maven 3.3.9) on 7.6.1 server recently produced this error:

 

“Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:3.2.0:create (default) on project dspace-api: The plugin org.codehaus.mojo:buildnumber-maven-plugin:3.2.0 requires Maven version 3.5.4”

 

-- 

Sean

Hrafn Malmquist

unread,
Nov 24, 2023, 9:00:24 AM11/24/23
to Sean Kalynuk, DSpace Technical Support
Hi Sean

Thanks for pointing this out. This is due to my PR https://github.com/DSpace/DSpace/pull/9016 that bumped up the buildnumber-maven-plugin version from 1.4 => 3.2.0. see https://github.com/DSpace/DSpace/pull/9016

I did not realise this would up the required Maven version as listed in the docs. It's not easy to gather release history from the documentation on the plugin's website: https://www.mojohaus.org/buildnumber-maven-plugin/. However in the plugin's Github it does say that Maven 3.5.4 is required starting with version 3.1.0 (https://github.com/mojohaus/buildnumber-maven-plugin/releases).

We have the option to either revert to plugin version 3.0.0 or up the doc requirements to indicate Maven 3.5.4 is required. I lean towards the latter option. 

Best regards, Hrafn

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/YT3PR01MB81471D4CC41E58B47E944C25E8B9A%40YT3PR01MB8147.CANPRD01.PROD.OUTLOOK.COM.

Sean Kalynuk

unread,
Nov 24, 2023, 10:21:18 AM11/24/23
to Hrafn Malmquist, DSpace Technical Support

Hi Hrafn,

 

I agree that it is best to just upgrade the documented requirements.

 

-- 

Sean

 

From: Hrafn Malmquist <hrafn.m...@gmail.com>
Date: Friday, November 24, 2023 at 8:00 AM
To: Sean Kalynuk <Sean.K...@umanitoba.ca>
Cc: DSpace Technical Support <dspac...@googlegroups.com>
Subject: Re: [dspace-tech] Upgraded Maven required for 7.6.1?

Caution: This message was sent from outside the University of Manitoba.

Reply all
Reply to author
Forward
0 new messages