Add another folder naming schema for sharing maven installation with maven-wrapper

Issue #32 new
Former user created an issue

Hi,

I would like to use this project but I'm already using https://github.com/takari/maven-wrapper. This plugin searches for maven installations in ~/.m2/wrapper/dists by default and the naming schema inside this is apache-maven-${maven.version}-bin. Would you accept a patch/PR which besides looking for apache-maven-${maven.version} and maven-${maven.version} inside ~/.mvnvm would look also for apache-maven-${maven.version}-bin?

Comments (2)

  1. mjensenbitbucket-bot repo owner

    Hello Anonymous! I would accept a PR that looked in other places for the maven installations. If its just another directory to check, then adding that as a configuration option would be best. If the name format of the zip/directory of each maven version is different, then you could add that globally in the script to match either.

  2. mjensenbitbucket-bot repo owner

    I don't really know what maven-wrapper does, it looks like it may do something similar to mvnvm, why would you need to use both together?

  3. Log in to comment