Webapp Aggregator POM
The causeway-mavendeps-webapp aggregates the main runtime dependencies of a production webapp.
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 or Simple; or Bypass if prototyping
-
for persistence, add JPA/Eclipselink.
-
viewer, you will almost certainly want to add Wicket and you might also add Restful Objects and/or the GraphQL API.
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.