Cayenne and Maven

Cayenne publishes Maven2 artifacts to the central Maven repository, so they can be declared as dependencies in the user application pom.xml:

<dependency>
   <groupId>org.apache.cayenne</groupId>
   <artifactId>cayenne-server</artifactId>
   <version>X.Y</version>
</dependency>
...
<dependency>
   <groupId>org.apache.cayenne</groupId>
   <artifactId>cayenne-client</artifactId>
   <version>X.Y</version>
</dependency>