You can clone it from GitHub and install it to your local repository:
git clone https://github.com/dontdrinkandroot/wicket.java
cd wicket.java
mvn clean install
The snapshots are currently deployed to the Sontatype Open Source Software repository. If you want to receive the latest version, simply include it in your projects pom.xml:
<repositories>
...
<repository>
<id>oss-sonatype</id>
<name>oss-sonatype</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
...
<repositories>
Now add the library to the dependencies of your projects pom.xml:
<dependencies>
...
<dependency>
<groupId>net.dontdrinkandroot</groupId>
<artifactId>wicket.extras</artifactId>
<version>${version.dontdrinkandroot.wicket}</version>
</dependency>
...
</dependencies>
Some Bootstrap CSS selectors will not work if there are Wicket tags in between, eg. <wicket:container>.
You will have to turn strip wicket tags on to get proper results. This is the default in production mode.
However, if you want to do so in development mode as well, you can do the following in your
WicketApplication:
@Override
protected void init()
{
super.init();
this.getMarkupSettings().setStripWicketTags(true);
}