Webapp Aggregator POM
The causeway-mavendeps-webapp
aggregates the main runtime dependencies of a production webapp.
Note that it does not include the runtime dependencies for either JDO or JPA; these must be included separately.
To use, add the following :
<dependencies>
<dependency>
<groupId>org.apache.causeway.mavendeps</groupId>
<artifactId>causeway-mavendeps-webapp</artifactId>
<type>pom</type>
</dependency>
</dependencies>
For convenience, it includes:
-
Spring Boot (spring-boot-starter-web)
-
Apache Causeway Core - the Applib and underlying implementation (the Runtime Services module)
However, it does not include a security implementation, a viewer implementation or a persistence implementation, which you should add as required:
-
security, add one of Spring, Keycloak, Shiro or Simple, Bypass if prototyping
-
for persistence, add one of JPA/Eclipselink or JDO/DataNucleus.
-
viewer, you will almost certainly want to add Wicket and you might also add Restful Objects.
Also, remember that adding the class onto the classpath does not make that functionality available (Apache Causeway does not currently leverage Spring Boot’s auto configuration capabilities).
You must therefore also add in the appropriate CausewayModuleXxx
to your application’s top-level @Configuration (aka "app manifest").
For example, see the AppManifest for the SimpleApp starter app.