easy-rules-tutorials
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.dvgaba</groupId> <artifactId>easy-rules-tutorials</artifactId> <version>1.2.1</version> </dependency>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.github.dvgaba</groupId> <artifactId>easy-rules</artifactId> <version>1.2.1</version> </parent> <artifactId>easy-rules-tutorials</artifactId> <packaging>war</packaging> <name>Easy Rules tutorials</name> <properties> <maven-exec-plugin.version>3.0.0</maven-exec-plugin.version> <servlet.version>4.0.1</servlet.version> <maven-war-plugin.version>3.3.1</maven-war-plugin.version> <jetty-maven-plugin.version>9.4.34.v20201102</jetty-maven-plugin.version> <maven-dependency-plugin.version>3.1.2</maven-dependency-plugin.version> </properties> <scm> <url>git@github.com:dvgaba/easy-rules.git</url> <connection>scm:git:git@github.com:dvgaba/easy-rules.git</connection> <developerConnection>scm:git:git@github.com:dvgaba/easy-rules.git</developerConnection> <tag>easy-rules-1.0.7</tag> </scm> <issueManagement> <system>GitHub</system> <url>https://github.com/dvgaba/easy-rules/issues</url> </issueManagement> <ciManagement> <system>Github Actions</system> <url>https://github.com/dvgaba/easy-rules/actions</url> </ciManagement> <developers> <developer> <id>benas</id> <name>Mahmoud Ben Hassine</name> <url>http://benas.github.io</url> <email>mahmoud.benhassine@icloud.com</email> <roles> <role>Lead developer</role> </roles> </developer> </developers> <licenses> <license> <name>MIT License</name> <url>http://opensource.org/licenses/mit-license.php</url> </license> </licenses> <dependencies> <dependency> <groupId>io.github.dvgaba</groupId> <artifactId>easy-rules-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.github.dvgaba</groupId> <artifactId>easy-rules-mvel</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.github.dvgaba</groupId> <artifactId>easy-rules-support</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>${servlet.version}</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <verbose>true</verbose> <source>${java.version}</source> <target>${java.version}</target> <showWarnings>true</showWarnings> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>${maven-war-plugin.version}</version> <configuration> <failOnMissingWebXml>false</failOnMissingWebXml> </configuration> </plugin> <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>${jetty-maven-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>${maven-dependency-plugin.version}</version> <executions> <execution> <id>copy-dependencies</id> <phase>package</phase> <goals> <goal>copy-dependencies</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <configuration> <header>${project.parent.basedir}/licence-header-template.txt</header> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>runHelloWorldTutorial</id> <build> <defaultGoal>exec:java</defaultGoal> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${maven-exec-plugin.version}</version> <configuration> <mainClass>org.jeasy.rules.tutorials.helloworld.Launcher</mainClass> <systemProperties> <systemProperty> <key>java.util.logging.SimpleFormatter.format</key> <value>[%1$tc] %4$s: %5$s%n</value> </systemProperty> </systemProperties> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>runWeatherTutorial</id> <build> <defaultGoal>exec:java</defaultGoal> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${maven-exec-plugin.version}</version> <configuration> <mainClass>org.jeasy.rules.tutorials.weather.Launcher</mainClass> <systemProperties> <systemProperty> <key>java.util.logging.SimpleFormatter.format</key> <value>[%1$tc] %4$s: %5$s%n</value> </systemProperty> </systemProperties> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>runAircoTutorial</id> <build> <defaultGoal>exec:java</defaultGoal> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${maven-exec-plugin.version}</version> <configuration> <mainClass>org.jeasy.rules.tutorials.airco.Launcher</mainClass> <systemProperties> <systemProperty> <key>java.util.logging.SimpleFormatter.format</key> <value>[%1$tc] %4$s: %5$s%n</value> </systemProperty> </systemProperties> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>runShopTutorial</id> <build> <defaultGoal>exec:java</defaultGoal> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${maven-exec-plugin.version}</version> <configuration> <mainClass>org.jeasy.rules.tutorials.shop.Launcher</mainClass> <arguments> <argument> ${project.basedir}/src/main/java/org/jeasy/rules/tutorials/shop/alcohol-rule.yml </argument> </arguments> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>runFizzBuzzTutorial</id> <build> <defaultGoal>exec:java</defaultGoal> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${maven-exec-plugin.version}</version> <configuration> <mainClass>org.jeasy.rules.tutorials.fizzbuzz.FizzBuzzWithEasyRules</mainClass> <systemProperties> <property> <key>org.slf4j.simpleLogger.defaultLogLevel</key> <value>off</value> </property> </systemProperties> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>