Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To use Slice in your project, you have to perform a simple setup.

Maven configuration

Dependencies

Include the following Maven dependencies into your project:

<dependency>
    <groupId>com.cognifide.slice</groupId>
    <artifactId>slice-core-api</artifactId>
    <version>3.0.0</version>
</dependency>
<dependency>
    <groupId>com.cognifide.slice</groupId>
    <artifactId>slice-core</artifactId>
    <version>3.0.0</version>
</dependency>
<dependency>
    <groupId>com.cognifide.slice</groupId>
    <artifactId>slice-mapper</artifactId>
    <version>3.0.0</version>
</dependency>
<dependency>
    <groupId>com.cognifide.slice</groupId>
    <artifactId>slice-mapper-api</artifactId>
    <version>3.0.0</version>
</dependency>
<dependency>
    <groupId>com.cognifide.slice</groupId>
    <artifactId>slice-cq</artifactId>
    <version>3.0.0</version>
</dependency>
<dependency>
    <groupId>com.cognifide.slice</groupId>
    <artifactId>slice-cq-taglib</artifactId>
    <version>3.0.0</version>
</dependency>
<dependency>
    <groupId>com.cognifide.slice</groupId>
    <artifactId>slice-validation-api</artifactId>
    <version>3.0.0</version>
</dependency>
<dependency>
    <groupId>com.cognifide.slice</groupId>
    <artifactId>slice-validation</artifactId>
    <version>3.0.0</version>
</dependency>

Depending on your project you might want to set the scope of the dependencies to provided.

Repository

Set up the following repository to fetch the dependencies:

<repositories>
	...
	<repository>
		<id>TBD</id>
		<name>TBD</name>
		<url>TBD</url>
	</repository>
</repositories>

Prepare activator

The information who to write a correct activator is enclosed in this page: Writing Activator

  • No labels