2.2 is not on Maven Central and as of yesterday is in RC1. You could also target the SNAPSHOT releases as well. If do not already have a project created, I would check out the demosite from
Github and go to the develop branch. The develop branch is currently targeting version 2.2.0-SNAPSHOT; you could scale this to 2.2.0-RC1 if you like.
If you already have a project created locally, in your root pom change the version of your Broadleaf jars to either 2.2.0-RC1 or 2.2.0-SNAPSHOT. Then, ensure that you have this repository declared in your pom:
Code: Select all
<repositories>
<repository>
<id>public snapshots</id>
<name>public snapshots</name>
<url>http://www.broadleafcommerce.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>public releases</id>
<name>public releases</name>
<url>http://www.broadleafcommerce.org/nexus/content/repositories/releases/</url>
</repository>
</repositories>
The first repository is needed if you are targeting a SNAPSHOT release, and the second is needed if you are targeting an RC release.