ICEfaces 3.1+ and MavenStarting with ICEfaces 3.1.0, ICEfaces provides more complete support for using Maven. From the Maven Central RepositoryThe Maven poms and jars for older distributions before 3.1.0 are located in the following ICEfaces Maven repository. With ICEfaces 3.0.x, this required that you add the following repository entry to your settings files or poms:
<!-- This entry is not required with ICEfaces 3.1.x -->
<repository>
<id>snapshots</id>
<url>http://anonsvn.icefaces.org/repo/maven2/releases/</url>
</repository>
Starting with ICEfaces 3.1.0, the ICEfaces libraries are now available in the central Maven repository (http://search.maven.org) so you no longer need to include the ICEfaces repository in your settings files or poms. Add the dependencies for the libraries you wish to use. For example to add the ACE components and the transitive dependency on ICEfaces: <dependency> <groupId>org.icefaces</groupId> <artifactId>icefaces-ace</artifactId> <version>3.1.0</version> </dependency> Building and Installing to Local Maven RepositoryIn versions of ICEfaces prior to 3.1.0, there was no support for building the ICEfaces libraries themselves using Maven. Now there are poms provided so that you can build and install ICEfaces core artifacts using standard Maven commands. To package and install all the core libraries using Maven:
> mvn clean package install
This will compile, jar, and install all the core libraries (icefaces, icefaces-ace, icefaces-compat, and icepush) into your local Maven repository. |
ICEfaces 3.1+ and Maven
© Copyright 2021 ICEsoft Technologies Canada Corp.