| <?xml version="1.0" encoding="UTF-8"?> |
| <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/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.drools.planner</groupId> |
| <artifactId>drools-planner</artifactId> |
| <version>5.5.1-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>drools-planner-examples</artifactId> |
| |
| <name>Drools Planner examples</name> |
| <description> |
| Drools Planner optimizes automated planning by combining metaheuristic search algorithms with rule |
| engine powered score calculation. This is the drools-planner-examples module which contains examples on how to use |
| Drools Planner. |
| </description> |
| |
| <repositories> |
| <!-- TODO remove this once maven central replicates the jboss repository --> |
| <!-- Included so the examples sources in the distribution zip build out-of-the-box with maven --> |
| <repository> |
| <id>jboss-public-repository-group</id> |
| <name>JBoss Public Repository Group</name> |
| <url>http://repository.jboss.org/nexus/content/groups/public/</url> |
| <layout>default</layout> |
| <releases> |
| <enabled>true</enabled> |
| <updatePolicy>never</updatePolicy> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| <updatePolicy>daily</updatePolicy> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifest> |
| <!-- Needed for runExamples.sh and runExamples.bat --> |
| <addClasspath>true</addClasspath> |
| <classpathPrefix>../../binaries/</classpathPrefix> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <configuration> |
| <classpathScope>runtime</classpathScope> |
| <executable>${JAVA_HOME}/bin/java</executable> |
| <arguments> |
| <argument>-Xms256m</argument> |
| <argument>-Xmx512m</argument> |
| <argument>-server</argument> |
| <argument>-classpath</argument> |
| <classpath/> |
| <argument>org.drools.planner.examples.app.DroolsPlannerExamplesApp</argument> |
| </arguments> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <dependencies> |
| <!-- Internal dependencies --> |
| <dependency> |
| <groupId>org.drools.planner</groupId> |
| <artifactId>drools-planner-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.drools.planner</groupId> |
| <artifactId>drools-planner-benchmark</artifactId> |
| </dependency> |
| <!-- External dependencies --> |
| <!-- Commons --> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| </dependency> |
| <!-- Logging --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <!-- Xstream --> |
| <dependency> |
| <groupId>com.thoughtworks.xstream</groupId> |
| <artifactId>xstream</artifactId> |
| </dependency> |
| |
| <!-- Examples only dependencies. --> |
| <!-- |
| WARNING: every examples only dependency must be properly dealt with in |
| drools-planner-distribution/src/main/assembly/assembly-drools-planner.xml |
| --> |
| <!-- Converters --> |
| <dependency> |
| <groupId>org.jdom</groupId> |
| <artifactId>jdom</artifactId> |
| <version>1.1</version> |
| </dependency> |
| </dependencies> |
| |
| </project> |