-
Notifications
You must be signed in to change notification settings - Fork 16
Maven configuration
xcesco edited this page Sep 25, 2018
·
10 revisions
To use Kripton within a maven project, you need to configure the plugin compilator to use Kripton annotation processor. Simply modify project's pom adding following lines of code:
<dependencies>
...
<dependency>
<groupId>com.abubusoft</groupId>
<artifactId>kripton</artifactId>
<version>5.0.0</version>
</dependency>
...
</dependecies>
...
<build>
<pluginManagement>
...
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<annotationProcessorPaths>
<path>
<groupId>com.abubusoft</groupId>
<artifactId>kripton-processor</artifactId>
<version>5.0.0</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
...
</plugins>
</pluginManagement>
</build>
Just run maven goal
mvn package
To generate in target\generated-sources\annotations
needed classes.
In Example you will find a simple maven project which use Kripton Annotation Processor.
- Introduction
- Goals & Features
- Kotlin
- Immutable or Mutable Pojo
- Annotation Processor Args
- Credits
- Articles
- Benchmarks
- Setup
- Tutorial
- Usage
- Dependencies and inspirations
- Stackoverflow
- Documentation
- SQL logging
- Data source options
- Indices
- SQL Type adapter
- Global SQL Type adapter
- Constraints
- Live data: welcome Architectural components!!
- Paged Live data
- Dynamic parts
- Transactional and batch operations
- Async Transactional and batch operations
- Global transaction
- Support for immutable POJO
- Generate Content provider
- Generate Database schema generation
- Database migration
- BindSqlColumn
- BindContentProvider
- BindContentProviderEntry
- BindContentProviderPath
- BindDao
- BindDaoMany2Many
- BindDataSource
- BindDataSourceOptions
- BindDataSourceUpdateTask
- BindIndex
- BindSqlRelation
- BindSqlAdapter
- BindSqlChildSelect
- BindSqlDelete
- BindSqlDynamicOrderBy
- BindSqlDynamicWhere
- BindSqlDynamicWhereParams
- BindSqlInsert
- BindSqlPageSize
- BindSqlParam
- BindSqlSelect
- BindSqlUpdate
- BindSqlType
- BindSqlTransaction