Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Package Request]: Apache Maven #65391

Open
2 of 5 tasks
denelon opened this issue Jul 7, 2022 · 9 comments
Open
2 of 5 tasks

[Package Request]: Apache Maven #65391

denelon opened this issue Jul 7, 2022 · 9 comments
Labels
Dependencies Help-Wanted This is a good candidate work item from the community. Package-Request This is a request for a package (new or updated version) portable-jar Portable JAR that needs JRE/JDK and to not be renamed.

Comments

@denelon
Copy link
Contributor

denelon commented Jul 7, 2022

Package Requested

  • I would like someone else to build the manifest.
  • I would like help so I can submit the manifest.
  • I have performed a search and couldn't find this package.
  • I have checked that the installer for this package is not a standalone or portable executable or a .zip file
  • I think there is a new version available and I have provided the URL.

Please provide the following information

Publisher: The Apache Software Foundation
Publisher Url: https://www.apache.org/
Package Name: Apache Maven
Description: Apache Maven is a tool that can now be used for building and managing any Java-based project.
Package Version: 3.8.6
Installer URL: https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.zip

Current Package Identifier (for new versions):

Apache Maven 3.3+ requires JDK 1.7 or above to execute

@denelon denelon added Blocking-Issue Manifest validation is blocked by a known issue. Help-Wanted This is a good candidate work item from the community. .zip Dependencies Package-Request This is a request for a package (new or updated version) labels Jul 7, 2022
@ghost ghost added the Needs-Triage This work item needs to be triaged by a member of the core team. label Jul 7, 2022
@denelon denelon removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Jul 7, 2022
@IanDarwin
Copy link
Contributor

IanDarwin commented Jul 25, 2022

I'd love to see this progressing! However: According to https://docs.microsoft.com/en-us/windows/package-manager/winget/, the only supported formats are EXE, MSI/MSIX, INNO, NULLSOFT, APPX and BURN.
Looks like the Apache Maven team needs to learn to use jpackage to build an MSI installer. If you have any in with them, my sample Unix script to run this is at https://github.com/IanDarwin/pdfshow/blob/master/mkinstaller

Unless, of course, there's some other way to get winget to get a .zip or .tar.gz.

Thanks & good luck!

@denelon
Copy link
Contributor Author

denelon commented Jul 25, 2022

@IanDarwin We're working on support for .zip containing either an installer or a "portable" package.

I haven't played with Maven in many years so I don't know if this initial work we're doing in Windows Package Manager 1.4 will close all the gaps, but we will continue investing to meet more publishers where they are.

@IanDarwin
Copy link
Contributor

@denelon Glad to hear it. I see there is some support for this in 1.4.x early builds but I'm not clear if it's for zipped .msi files or for zip files of the entire distribution file tree?

Thanks

@denelon
Copy link
Contributor Author

denelon commented Jul 25, 2022

It supports a .zip file with a single installer (MSIX, MSI, or .exe installer).

@IanDarwin
Copy link
Contributor

IanDarwin commented Jul 26, 2022 via email

@denelon
Copy link
Contributor Author

denelon commented Jul 26, 2022

@IanDarwin we're focusing on supporting installers, and then portable packages as they are supported in Windows Package Manager 1.3 builds. Automated testing requires some dynamic analysis, so we haven't started to tackle the scenario you are describing just yet. I would call it a "feature" enhancement for .zip support. If Apache Maven has a logical primary executable, then that one would be made available for the user to "run" using the symbolic link we create when installing portable packages. One of our desires has been to avoid cluttering up the user's path environment variable with every single portable package installed. In some cases (user mode without Developer Mode enabled, this may unfortunately not be possible just yet).

@IanDarwin
Copy link
Contributor

IanDarwin commented Oct 11, 2022 via email

@denelon denelon removed Blocking-Issue Manifest validation is blocked by a known issue. .zip labels Feb 22, 2023
@stephengillie stephengillie added the portable-jar Portable JAR that needs JRE/JDK and to not be renamed. label Mar 28, 2024
@soroshsabz
Copy link
Contributor

ITNOA

@denelon As I know winget know support .zip, so I think we can add maven to winget

Am I correct?

@microsoft-github-policy-service microsoft-github-policy-service bot added In-PR and removed Help-Wanted This is a good candidate work item from the community. labels Nov 7, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Help-Wanted This is a good candidate work item from the community. and removed In-PR labels Nov 23, 2024
@soroshsabz
Copy link
Contributor

soroshsabz commented Jan 10, 2025

blocks by microsoft/winget-cli#5085

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Dependencies Help-Wanted This is a good candidate work item from the community. Package-Request This is a request for a package (new or updated version) portable-jar Portable JAR that needs JRE/JDK and to not be renamed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants