Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8795259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:21:47+00:00 2026-06-13T23:21:47+00:00

I have a maven plugin I would like to test against different Maven versions

  • 0

I have a maven plugin I would like to test against different Maven versions (Ex.: 2.2.1 & 3.0.4). Ideally I don’t want users running the build to have to install these exact versions manually.

Is it possible to install specific versions of Maven itself from Maven Central or some other source that would then cache them in the local Maven repo for subsequent builds?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:21:48+00:00Added an answer on June 13, 2026 at 11:21 pm

    Maven distributions are stored in Maven Central Repository, as you can see here:

    • http://mvnrepository.com/artifact/org.apache.maven/apache-maven
    • https://repository.sonatype.org/index.html#nexus-search;gav~org.apache.maven~apache-maven~~~~kw,versionexpand

    Therefore, it can be used as a normal dependency with following coordinates:

    tar.gz variant:

    <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>apache-maven</artifactId>
        <version>3.0.4</version>
        <classifier>bin</classifier>
        <type>tar.gz</type>
    </dependency>
    

    zip variant:

    <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>apache-maven</artifactId>
        <version>3.0.4</version>
        <classifier>bin</classifier>
        <type>zip</type>
    </dependency>
    

    The rest is quite standard – you will probably use it in integration test poms, and call them with maven-invoker-plugin as recommended by @khmarbaise.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to have tomcat 7 maven plugin, and followed the instruction from
I would like to have the maven eclipse plugin regenerate my .classpath whenever a
I would like to execute Selenesse test written in FItNesse when I launch maven
I have just started to use Apache Maven. Now I would like to make
I have successfully installed & configured the M2E Maven plugin for Eclipse, along with
We're debugging java webapps, and would like to use the jetty-maven-plugin to launch a
With the maven-clean-plugin I would like to remove all folders that start with tmp.
I would like to have an explanation for the maven filters tag and how
I have developed a maven plugin that downloads the release notes from JIRA. It's
I have followed this guide: http://maven.apache.org/guides/plugin/guide-java-plugin-development.html I have created a maven-plugin project hello-maven-plugin with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.