diff --git a/CodenameOne/src/com/codename1/ui/layouts/GroupLayout.java b/CodenameOne/src/com/codename1/ui/layouts/GroupLayout.java
index 0e3af01f80..7dea1f17b6 100644
--- a/CodenameOne/src/com/codename1/ui/layouts/GroupLayout.java
+++ b/CodenameOne/src/com/codename1/ui/layouts/GroupLayout.java
@@ -2044,7 +2044,7 @@ int getBaselineResizeBehavior() {
if (!baselineSpring.isResizable(VERTICAL)) {
// Spring to use for baseline isn't resizable. In this case
// baseline resize behavior can be determined based on how
- // preceeding springs resize.
+ // preceding springs resize.
boolean leadingResizable = false;
for (int i = 0, max = springs.size(); i < max; i++) {
Spring spring = getSpring(i);
diff --git a/README.md b/README.md
index 6b16c640a4..6f23454216 100644
--- a/README.md
+++ b/README.md
@@ -167,23 +167,47 @@ You can get started with the binary and the birds eye view in the [download sect
## Setup & Getting Started With The Code
-NOTE: We are in the process of migrating from Ant to Maven, which simplifies the process for building from source. This section still refers to the process for building with Ant. See [Maven Quick Start](#maven) for the new Maven build instructions.
+NOTE: *We are in the process of migrating from Ant to Maven, which simplifies the process for building from source.
+See [Ant Quick Start](#quick-start-with-ant) for the legacy Ant build instructions.*
-Setup is covered in depth in [this article and video](https://www.codenameone.com/blog/how-to-use-the-codename-one-sources.html). Notice that this covers debugging the simulator and working with the code that requires the Codename One plugin for NetBeans. You can install that by installing NetBeans and typing "Codename One" in the plugin search section see [the getting started tutorial](https://www.codenameone.com/getting-started.html).
+The setup is covered in depth in [this article and video](https://www.codenameone.com/blog/building-codename-one-from-source-maven-edition.html).
-
+
-
+**IMPORTANT:** Building Codename One requires **JDK 8**, currently. You cannot use JDK 11 as some sub-modules must use `-source 1.5` and `-target 1.5` to maintain backward compatibility with parts of the toolchain.
+
+
+### Quick Start with Maven
+
+~~~~
+git clone https://github.com/codenameone/CodenameOne
+cd CodenameOne/maven
+mvn install
+~~~~
+
+This will build and install Codename One in your local Maven repository. This process can take a while since it automatically downloads dependencies with a size of ~1GB.
+
+
+To build the archetype projects from source, you should check out the [cn1-maven-archetypes](https://github.com/shannah/cn1-maven-archetypes) repository and build it also:
+
+~~~~
+git clone https://github.com/shannah/cn1-maven-archetypes
+cd cn1-maven-archetypes
+mvn install
+~~~~
+
-While Codename One itself works with all major IDE's the code in this repository was designed to work with NetBeans.
+Now that Codename One is installed in your local Maven repository, you can use that version in a project instead of the release version.
+A new testing project can be quickly generated with the [Codename One initializr](https://start.codenameone.com).
-
+After downloading and extracting the project, open its pom.xml file and and look for the `` and `` properties.
+Then change these to point to the version that got installed into your *local* maven repository by `mvn install`. The locally built version will usually be a SNAPSHOT version (e.g. 7.0.21-SNAPSHOT).
-Please notice that while we fully support IntelliJ/IDEA (both CE and Ultimate), we don't support Android Studio which diverted too much from the mainline IDE.
-### Quick Start
+### Quick Start with Ant
**Getting and Building Sources**
@@ -209,30 +233,6 @@ You can launch the sample runner app from the command-line using:
$ ant samples
~~~
-
-
-### Quick Start with Maven
-
-IMPORTANT: Building Codename One requires JDK 8, currently. You cannot use JDK 11 as some sub-modules must use `-source 1.5` and `-target 1.5` to maintain backward compatibility with parts of the toolchain.
-
-~~~~
-git clone https://github.com/codenameone/CodenameOne
-cd CodenameOne/maven
-mvn install
-~~~~
-
-This will build and install Codename One in your local Maven repository.
-
-To build the archetype projects from source, you should check out the [cn1-maven-archetypes](https://github.com/shannah/cn1-maven-archetypes) repository and build it also:
-
-~~~~
-git clone https://github.com/shannah/cn1-maven-archetypes
-cd cn1-maven-archetypes
-mvn install
-~~~~
-
-To get started building projects using Maven, see https://start.codenameone.com.
-
## ParparVM
Codename One's iOS VM is quite unique and is open source as well. You can read more about it [in its dedicated folder in this repository](https://github.com/codenameone/CodenameOne/tree/master/vm).
diff --git a/maven/codenameone-maven-plugin/src/main/java/com/codename1/maven/AbstractCN1Mojo.java b/maven/codenameone-maven-plugin/src/main/java/com/codename1/maven/AbstractCN1Mojo.java
index 807d286f2c..c74b1b7001 100644
--- a/maven/codenameone-maven-plugin/src/main/java/com/codename1/maven/AbstractCN1Mojo.java
+++ b/maven/codenameone-maven-plugin/src/main/java/com/codename1/maven/AbstractCN1Mojo.java
@@ -51,12 +51,12 @@ public abstract class AbstractCN1Mojo extends AbstractMojo {
protected static final String GROUP_ID="com.codenameone";
protected static final String JAVA_RUNTIME_ARTIFACT_ID = "java-runtime";
protected static final String ARTIFACT_ID="codenameone-maven-plugin";
-
-
+
+
@Component
protected MavenProjectHelper projectHelper;
-
- @Component
+
+ @Parameter( defaultValue = "${project}", readonly = true)
protected MavenProject project;
@Parameter(property = "project.build.directory", readonly = true)
diff --git a/maven/parparvm/pom.xml b/maven/parparvm/pom.xml
index 54ca03b25e..e8b55d2f3e 100644
--- a/maven/parparvm/pom.xml
+++ b/maven/parparvm/pom.xml
@@ -58,19 +58,6 @@
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
- com.sun
- tools
- 1.5.0
- system
- ${java.home}/../lib/tools.jar
-
-
-
org.apache.maven.plugins
maven-assembly-plugin
@@ -99,6 +86,15 @@
org.apache.maven.plugins
maven-antrun-plugin
3.0.0
+
+
+ com.sun
+ tools
+ 1.5.0
+ system
+ ${java.home}/../lib/tools.jar
+
+
compile-java-api
@@ -115,17 +111,9 @@
destdir="${project.build.directory}/api-classes"
failonerror="true"
/>
-
-
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
- 3.0.0
-
make-bundle
package
@@ -142,7 +130,6 @@
-