[jboss-jira] [JBoss JIRA] (WFLY-7963) Require Maven 3.3.1+ and introduce mvnw

Peter Palaga (JIRA) issues at jboss.org
Wed Jan 25 06:31:00 EST 2017


     [ https://issues.jboss.org/browse/WFLY-7963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Palaga updated WFLY-7963:
-------------------------------
    Description: 
* Maven 3.3.1+ is required by the Enforcer Plugin
* {{mvnw}} (a.k.a. Maven Wrapper) replaces the legacy {{tools/download-maven.*}} scripts
* {{build.*}} and {{integration-tests.*}} scripts were kept for backwards compatibility.

These changes were discussed on wildfly-dev mailing list.

  was:
There are three closely related things here: 

* Maven 3.3.1+ is required by the Enforcer Plugin

* mvnw (a.k.a. Maven Wrapper) is a script that downloads and installs
(if necessary) the required Maven version to ~/.m2/wrapper and runs it
from there. "mvn -N io.takari:maven:wrapper" was used to create all the
necessary files. The same command can be used in the future to upgrade
to a newer wrapper version. Maven version used by the wrapper is stored
in .mvn/wrapper/maven-wrapper.properties

* .mvn/jvm.config is a place where Maven 3.3.1+ looks for JVM parameters
(memory, etc.) which were traditionally defined in the MAVEN_OPTS
environment variable.




> Require Maven 3.3.1+ and introduce mvnw
> ---------------------------------------
>
>                 Key: WFLY-7963
>                 URL: https://issues.jboss.org/browse/WFLY-7963
>             Project: WildFly
>          Issue Type: Task
>            Reporter: Peter Palaga
>            Assignee: Peter Palaga
>
> * Maven 3.3.1+ is required by the Enforcer Plugin
> * {{mvnw}} (a.k.a. Maven Wrapper) replaces the legacy {{tools/download-maven.*}} scripts
> * {{build.*}} and {{integration-tests.*}} scripts were kept for backwards compatibility.
> These changes were discussed on wildfly-dev mailing list.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list