All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kz.facilities.spring-boot.1.3.38.source-code.SpringBoot.profile Maven / Gradle / Ivy

There is a newer version: 1.3.46
Show newest version
package org.joinedworks.facilities.profiles.spring.boot

import org.joinedworks.facilities.common.profiles.java


/* strategies */

strategy EntityClassNamingStrategy implementation="org.joinedworkz.spring.boot.strategies.EntityClassNamingStrategy"
strategy TableNameStrategy implementation="org.joinedworkz.common.strategies.TableNameStrategy"
strategy ColumnNameStrategy implementation="org.joinedworkz.common.strategies.ColumnNameStrategy"


/* outlets */

outlet generatedConfiguration specialization of StandardOutput
    directory = "./src/generated/resources"
    cleanWholdDirectoryOnCleanBuild = true
    
outlet firstCutJavaSource  
    directory = "./src/main/java"
    createNotExistingDirectory = true
    overwriteExistingFiles = false
    markAsDerived = false
    deleteFilesOnCleanBuild = false
    cleanWholdDirectoryOnCleanBuild = false
    keepLocalHistory = true

outlet generatedApiSource specialization of generatedJavaSource
    directory = "./src/generated/java"
    cleanWholdDirectoryOnCleanBuild = true

/* cartridges */

cartridge PersistenceCartridge
	implementation="org.joinedworkz.spring.boot.PersistenceCartridge"  
	outlets=generatedJavaSource,generatedConfiguration
	
cartridge ServiceProviderCartridge
    implementation="org.joinedworkz.spring.boot.ServiceProviderCartridge"  
    outlets=generatedJavaSource,generatedApiSource,firstCutJavaSource
	
	
	
/* setting */

setting SpringBootSetting implementation="org.joinedworkz.spring.boot.SpringBootSetting"


/* platforms */

platform SpringBoot specialization of Java setting=SpringBootSetting {
	
	apply cartridge SchemaCartridge
	apply cartridge PersistenceCartridge
	apply cartridge ServiceProviderCartridge
	
	contribute to complextype {
		property entityClass: STRING strategy=EntityClassNamingStrategy
	}
 
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy