Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #21 from sotty/master

Use 5.5.0.Final in poms
  • Loading branch information...
commit 14379cc8aa4bec37891fa7e519fa4c93213c9a42 2 parents 3692219 + 68b9b89
@Salaboy Salaboy authored
View
216 drools-5-merged-bundle/pom.xml
@@ -1,114 +1,102 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright 2011 JBoss Inc
- ~
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<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>org.drools.mas</groupId>
- <artifactId>drools-mas</artifactId>
- <version>1.0-SNAPSHOT</version>
- </parent>
- <artifactId>drools-5-merged-bundle</artifactId>
- <packaging>bundle</packaging>
- <name>Drools :: Drools 5 OSGI Merged Bundle</name>
-
-
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>knowledge-api</artifactId>
- <version>${drools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-compiler</artifactId>
- <version>${drools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-core</artifactId>
- <version>${drools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-grid-impl</artifactId>
- <version>${drools.version}</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <executions>
- <execution>
- <id>manifest</id>
- <phase>install</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <manifestLocation>META-INF</manifestLocation>
- <instructions>
- <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
- <Bundle-Name>${pom.artifactId}</Bundle-Name>
- <Export-Package>
- org.drools.*;-split-package:=merge-last
- </Export-Package>
- <Import-Package>
- !org.drools.*;
- </Import-Package>
- <DynamicImport-Package>*</DynamicImport-Package>
- </instructions>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jboss.as.plugins</groupId>
- <artifactId>jboss-as-maven-plugin</artifactId>
- <version>7.0.0.Final</version>
- <configuration>
- <filename>${project.build.finalName}.jar</filename>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-
- <repositories>
- <repository>
- <id>JBOSS</id>
- <name>JBoss Repository</name>
- <url>https://repository.jboss.org/nexus/content/groups/public</url>
- </repository>
- </repositories>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright 2011 JBoss Inc
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<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>org.drools.mas</groupId>
+ <artifactId>drools-mas</artifactId>
+ <version>1.0.Final</version>
+ </parent>
+ <artifactId>drools-5-merged-bundle</artifactId>
+ <packaging>bundle</packaging>
+ <name>Drools :: Drools 5 OSGI Merged Bundle</name>
+
+
+ <dependencies>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-compiler</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-grid-impl</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>manifest</id>
+ <phase>install</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <manifestLocation>META-INF</manifestLocation>
+ <instructions>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${pom.artifactId}</Bundle-Name>
+ <Export-Package>
+ org.drools.*;-split-package:=merge-last
+ </Export-Package>
+ <Import-Package>
+ !org.drools.*;
+ </Import-Package>
+ <DynamicImport-Package>*</DynamicImport-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.jboss.as.plugins</groupId>
+ <artifactId>jboss-as-maven-plugin</artifactId>
+ <version>7.0.0.Final</version>
+ <configuration>
+ <filename>${project.build.finalName}.jar</filename>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+
+ <repositories>
+ <repository>
+ <id>JBOSS</id>
+ <name>JBoss Repository</name>
+ <url>https://repository.jboss.org/nexus/content/groups/public</url>
+ </repository>
+ </repositories>
+
+</project>
View
103 drools-mas-acl/pom.xml
@@ -16,60 +16,51 @@
-->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>drools-mas</artifactId>
- <groupId>org.drools.mas</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>drools-mas-acl</artifactId>
-
- <name>Drools :: MAS ACL</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>knowledge-api</artifactId>
- <version>${drools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-core</artifactId>
- <version>${drools.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.jayway.jsonpath</groupId>
- <artifactId>json-path</artifactId>
- <version>0.5.3</version>
- </dependency>
- <dependency>
- <groupId>com.thoughtworks.xstream</groupId>
- <artifactId>xstream</artifactId>
- <version>1.4.1</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.jettison</groupId>
- <artifactId>jettison</artifactId>
- <version>1.2</version>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>1.7.1</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>drools-mas</artifactId>
+ <groupId>org.drools.mas</groupId>
+ <version>1.0.Final</version>
+ </parent>
+
+ <artifactId>drools-mas-acl</artifactId>
+ <name>Drools :: MAS ACL</name>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>knowledge-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-core</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>com.jayway.jsonpath</groupId>
+ <artifactId>json-path</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.thoughtworks.xstream</groupId>
+ <artifactId>xstream</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jettison</groupId>
+ <artifactId>jettison</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
</project>
View
6 drools-mas-agent-jar-archetype/pom.xml
@@ -16,15 +16,15 @@
-->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>drools-mas</artifactId>
<groupId>org.drools.mas</groupId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0.Final</version>
</parent>
<artifactId>drools-mas-agent-jar-archetype</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0.Final</version>
<name>Drools :: MAS Archetype (Jar)</name>
<url>http://maven.apache.org</url>
<properties>
View
124 drools-mas-agent-jar-archetype/src/main/resources/archetype-resources/pom.xml
@@ -15,69 +15,69 @@
-->
<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>
- <groupId>org.drools.mas.impl</groupId>
- <artifactId>drools-mas-jar-custom-rename</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>war</packaging>
+ 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>
+ <groupId>org.drools.mas.impl</groupId>
+ <artifactId>drools-mas-jar-custom-rename</artifactId>
+ <version>1.0.Final</version>
+ <packaging>war</packaging>
- <name>Drools MAS :: JAR (Custom Rename) Agent</name>
-
+ <name>Drools MAS :: JAR (Custom Rename) Agent</name>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencies>
-
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-acl</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- <version>3.1.0.RELEASE </version>
- </dependency>
-
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.6.4</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.6.4</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-acl</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ <version>3.1.0.RELEASE </version>
+ </dependency>
+
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.6.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.6.4</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
View
6 drools-mas-agent-web-archetype/pom.xml
@@ -16,15 +16,15 @@
-->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>drools-mas</artifactId>
<groupId>org.drools.mas</groupId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0.Final</version>
</parent>
<artifactId>drools-mas-agent-web-archetype</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0.Final</version>
<name>Drools :: MAS Archetype (Web)</name>
<url>http://maven.apache.org</url>
<properties>
View
2  drools-mas-agent-web-archetype/src/main/resources/archetype-resources/pom.xml
@@ -19,7 +19,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.drools.mas.impl</groupId>
<artifactId>drools-mas-${agent-name}</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0.Final</version>
<packaging>war</packaging>
<name>Drools MAS :: ${agent-name} Agent Web</name>
View
6 drools-mas-client-side-app-archetype/pom.xml
@@ -15,13 +15,13 @@
-->
<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">
+ 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>
+ <parent>
<artifactId>drools-mas</artifactId>
<groupId>org.drools.mas</groupId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0.Final</version>
</parent>
<artifactId>drools-mas-client-side-app-archetype</artifactId>
View
263 drools-mas-core/pom.xml
@@ -18,155 +18,136 @@
<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>
+ <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas</artifactId>
- <version>1.0-SNAPSHOT</version>
- </parent>
- <artifactId>drools-mas-core</artifactId>
+ <parent>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas</artifactId>
+ <version>1.0.Final</version>
+ </parent>
+ <artifactId>drools-mas-core</artifactId>
- <name>Drools :: MAS Core</name>
+ <name>Drools :: MAS Core</name>
- <dependencies>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.18</version>
- </dependency>
+ <dependencies>
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-acl</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-util</artifactId>
+ <version>${project.version}</version>
+ </dependency>
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-acl</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-util</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>knowledge-api</artifactId>
- <version>${drools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-compiler</artifactId>
- <version>${drools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-core</artifactId>
- <version>${drools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-grid-impl</artifactId>
- <version>${drools.version}</version>
- </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-compiler</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-grid-impl</artifactId>
+ </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>1.3.1</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.core</artifactId>
- <version>1.4.0</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.compendium</artifactId>
- <version>1.4.0</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.6.4</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.6.4</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- <version>3.1.0.RELEASE </version>
- </dependency>
- <!-- HSQLDB -->
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.3.163</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <version>3.1.0.RELEASE</version>
- <scope>test</scope>
- <type>jar</type>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <executions>
- <execution>
- <id>manifest</id>
- <phase>process-classes</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <manifestLocation>META-INF</manifestLocation>
- <instructions>
- <_removeheaders>Ignore-Package</_removeheaders>
- <Require-Bundle>org.drools.api;org.drools.core;org.drools.compiler;visibility:=reexport;bundle-version="5.5.0-SNAPSHOT"</Require-Bundle>
- <Import-Package>!org.drools.*, *,org.osgi.util.tracker</Import-Package>
- <Export-Package>org.drools.mas.core.*</Export-Package>
- <DynamicImport-Package>*</DynamicImport-Package>
- <Bundle-Activator>org.drools.mas.core.Activator</Bundle-Activator>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.osgi.compendium</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </dependency>
+ <!-- HSQLDB -->
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
- <repositories>
- <repository>
- <id>JBOSS</id>
- <name>JBoss Repository</name>
- <url>https://repository.jboss.org/nexus/content/groups/public</url>
- </repository>
- </repositories>
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>manifest</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <manifestLocation>META-INF</manifestLocation>
+ <instructions>
+ <_removeheaders>Ignore-Package</_removeheaders>
+ <Require-Bundle>org.drools.api;org.drools.core;org.drools.compiler;visibility:=reexport;bundle-version="5.5.0-SNAPSHOT"</Require-Bundle>
+ <Import-Package>!org.drools.*, *,org.osgi.util.tracker</Import-Package>
+ <Export-Package>org.drools.mas.core.*</Export-Package>
+ <DynamicImport-Package>*</DynamicImport-Package>
+ <Bundle-Activator>org.drools.mas.core.Activator</Bundle-Activator>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+
+ <repositories>
+ <repository>
+ <id>JBOSS</id>
+ <name>JBoss Repository</name>
+ <url>https://repository.jboss.org/nexus/content/groups/public</url>
+ </repository>
+ </repositories>
</project>
View
4 drools-mas-core/src/test/java/org/drools/mas/core/tests/GridTests.java
@@ -240,14 +240,14 @@ public void remoteKAgentResourceLoadTest() throws InterruptedException {
+ "</add>"
+ "</change-set>"
+ "";
- Resource changeSetRes = new ByteArrayResource(changeSetString.getBytes());
+ Resource changeSetRes = new ByteArrayResource( changeSetString.getBytes() );
((InternalResource) changeSetRes).setResourceType( ResourceType.CHANGE_SET );
KnowledgeAgent kAgent = GridHelper.getKnowledgeAgentRemoteClient( GridHelper.createGrid(), remoteN1.getId(), "ksession-rules" );
kAgent.applyChangeSet( changeSetRes );
- Thread.sleep( 1000 );
+ Thread.sleep( 5000 );
QueryResults result = ksession.getQueryResults( "beanQuery", Variable.v );
assertEquals( 1, result.size() );
View
240 drools-mas-doc/pom.xml
@@ -16,125 +16,125 @@
-->
<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>
- <artifactId>drools-mas</artifactId>
- <groupId>org.drools.mas</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>drools-mas-doc</artifactId>
-
- <name>Drools :: MAS Documentation</name>
- <packaging>pom</packaging>
-
-
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.6</version>
- <extensions>true</extensions>
- <executions>
- <execution>
- <phase>install</phase>
- <goals>
- <goal>resources</goal>
- <goal>generate</goal>
-
-
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.jboss.pressgang</groupId>
- <artifactId>pressgang-xslt-ns</artifactId>
- <version>2.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.pressgang</groupId>
- <artifactId>pressgang-jdocbook-style</artifactId>
- <type>jdocbook-style</type>
- <version>2.0.0</version>
- </dependency>
- </dependencies>
-
- <configuration>
-
- <sourceDocumentName>book.xml</sourceDocumentName>
- <masterTranslation>en-US</masterTranslation>
- <imageResource>
- <directory>${basedir}/src/main/docbook/en-US</directory>
- <includes>
- <include>images/</include>
- </includes>
- </imageResource>
- <formats>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
-
- <finalName>index.html</finalName>
- <!-- <profilingTypeName>two_pass</profilingTypeName> -->
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
-
- <finalName>index.html</finalName>
- <!-- <profilingTypeName>two_pass</profilingTypeName> -->
- </format>
- <!--format>
- <formatName>pdf</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${project.artifactId}.pdf</finalName>
- </format-->
- <!--<format>-->
- <!--<formatName>eclipse</formatName>-->
- <!--<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>-->
- <!--<finalName>${project.artifactId}.html</finalName>-->
- <!--</format>-->
- </formats>
- <injections>
- <injection>
- <name>project.version</name>
- <value>${project.version}</value>
- </injection>
- </injections>
- <options>
- <xmlTransformerType>saxon</xmlTransformerType>
- <xincludeSupported>true</xincludeSupported>
- <useRelativeImageUris>true</useRelativeImageUris>
- <!-- TODO Probably obsolete after the upgrade to maven-jdocbook-plugin 2.3.0 -->
- <docbookVersion>1.72.0</docbookVersion>
- <!-- <localeSeparator>-</localeSeparator> -->
- </options>
- </configuration>
- </plugin>
- </plugins>
-
-
- </build>
- <pluginRepositories>
- <pluginRepository>
- <id>jboss-releases-repository</id>
- <name>JBoss Releases Repository</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- </pluginRepository>
-
- </pluginRepositories>
+ 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>
+ <artifactId>drools-mas</artifactId>
+ <groupId>org.drools.mas</groupId>
+ <version>1.0.Final</version>
+ </parent>
+
+ <artifactId>drools-mas-doc</artifactId>
+
+ <name>Drools :: MAS Documentation</name>
+ <packaging>pom</packaging>
+
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.6</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>resources</goal>
+ <goal>generate</goal>
+
+
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.pressgang</groupId>
+ <artifactId>pressgang-xslt-ns</artifactId>
+ <version>2.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.pressgang</groupId>
+ <artifactId>pressgang-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
+ <version>2.0.0</version>
+ </dependency>
+ </dependencies>
+
+ <configuration>
+
+ <sourceDocumentName>book.xml</sourceDocumentName>
+ <masterTranslation>en-US</masterTranslation>
+ <imageResource>
+ <directory>${basedir}/src/main/docbook/en-US</directory>
+ <includes>
+ <include>images/</include>
+ </includes>
+ </imageResource>
+ <formats>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+
+ <finalName>index.html</finalName>
+ <!-- <profilingTypeName>two_pass</profilingTypeName> -->
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+
+ <finalName>index.html</finalName>
+ <!-- <profilingTypeName>two_pass</profilingTypeName> -->
+ </format>
+ <!--format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${project.artifactId}.pdf</finalName>
+ </format-->
+ <!--<format>-->
+ <!--<formatName>eclipse</formatName>-->
+ <!--<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>-->
+ <!--<finalName>${project.artifactId}.html</finalName>-->
+ <!--</format>-->
+ </formats>
+ <injections>
+ <injection>
+ <name>project.version</name>
+ <value>${project.version}</value>
+ </injection>
+ </injections>
+ <options>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <xincludeSupported>true</xincludeSupported>
+ <useRelativeImageUris>true</useRelativeImageUris>
+ <!-- TODO Probably obsolete after the upgrade to maven-jdocbook-plugin 2.3.0 -->
+ <docbookVersion>1.72.0</docbookVersion>
+ <!-- <localeSeparator>-</localeSeparator> -->
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+
+
+ </build>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>jboss-releases-repository</id>
+ <name>JBoss Releases Repository</name>
+ <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+ </pluginRepository>
+
+ </pluginRepositories>
</project>
View
4 drools-mas-generic-client/pom.xml
@@ -21,7 +21,7 @@
<groupId>org.drools.mas</groupId>
<artifactId>drools-mas-generic-client</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0.Final</version>
<name>Drools MAS :: Generic Agent Client</name>
<url>http://maven.apache.org</url>
@@ -53,7 +53,7 @@
<dependency>
<groupId>org.drools.mas</groupId>
<artifactId>drools-mas-util</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0.Final</version>
</dependency>
<dependency>
<groupId>javax.xml</groupId>
View
2  drools-mas-generic-client/src/test/java/org/drools/mas/SynchronousDroolsAgentServiceServiceTest.java
@@ -26,6 +26,7 @@
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Test;
/**
@@ -58,6 +59,7 @@ public void tearDown() {
@Test
+ @Ignore
public void genericTest() {
// Get the helper
DialogueHelper helper = new DialogueHelper(endpoint);
View
218 drools-mas-merged-bundle/pom.xml
@@ -1,109 +1,109 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright 2011 JBoss Inc
- ~
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<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>org.drools.mas</groupId>
- <artifactId>drools-mas</artifactId>
- <version>1.0-SNAPSHOT</version>
- </parent>
- <artifactId>drools-mas-merged-bundle</artifactId>
- <packaging>bundle</packaging>
- <name>Drools :: MAS OSGI Merged Bundle</name>
-
-
- <dependencies>
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-acl</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-util</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <executions>
- <execution>
- <id>manifest</id>
- <phase>install</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <manifestLocation>META-INF</manifestLocation>
- <instructions>
- <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
- <Bundle-Name>${pom.artifactId}</Bundle-Name>
- <Export-Package>
- org.drools.mas.*;-split-package:=merge-last
- </Export-Package>
- <Import-Package>
- !org.drools.mas.*;
- </Import-Package>
- <DynamicImport-Package>*</DynamicImport-Package>
- </instructions>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jboss.as.plugins</groupId>
- <artifactId>jboss-as-maven-plugin</artifactId>
- <version>7.0.0.Final</version>
- <configuration>
- <filename>${project.build.finalName}.jar</filename>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-
- <repositories>
- <repository>
- <id>JBOSS</id>
- <name>JBoss Repository</name>
- <url>https://repository.jboss.org/nexus/content/groups/public</url>
- </repository>
- </repositories>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright 2011 JBoss Inc
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<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>org.drools.mas</groupId>
+ <artifactId>drools-mas</artifactId>
+ <version>1.0.Final</version>
+ </parent>
+ <artifactId>drools-mas-merged-bundle</artifactId>
+ <packaging>bundle</packaging>
+ <name>Drools :: MAS OSGI Merged Bundle</name>
+
+
+ <dependencies>
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-acl</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-util</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>manifest</id>
+ <phase>install</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <manifestLocation>META-INF</manifestLocation>
+ <instructions>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${pom.artifactId}</Bundle-Name>
+ <Export-Package>
+ org.drools.mas.*;-split-package:=merge-last
+ </Export-Package>
+ <Import-Package>
+ !org.drools.mas.*;
+ </Import-Package>
+ <DynamicImport-Package>*</DynamicImport-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.jboss.as.plugins</groupId>
+ <artifactId>jboss-as-maven-plugin</artifactId>
+ <version>7.0.0.Final</version>
+ <configuration>
+ <filename>${project.build.finalName}.jar</filename>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+
+ <repositories>
+ <repository>
+ <id>JBOSS</id>
+ <name>JBoss Repository</name>
+ <url>https://repository.jboss.org/nexus/content/groups/public</url>
+ </repository>
+ </repositories>
+
+</project>
View
94 drools-mas-util/pom.xml
@@ -17,53 +17,49 @@
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>drools-mas</artifactId>
- <groupId>org.drools.mas</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>drools-mas-util</artifactId>
-
- <name>Drools :: MAS Util</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-acl</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-grid-impl</artifactId>
- <version>${drools.version}</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.6.4</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.6.4</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.3.162</version>
- </dependency>
- </dependencies>
-
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>drools-mas</artifactId>
+ <groupId>org.drools.mas</groupId>
+ <version>1.0.Final</version>
+ </parent>
+
+ <artifactId>drools-mas-util</artifactId>
+
+ <name>Drools :: MAS Util</name>
+ <url>http://maven.apache.org</url>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-acl</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-grid-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
</project>
View
434 examples/drools-mas-emergency-agent-client/pom.xml
@@ -17,224 +17,224 @@
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.drools.mas.example</groupId>
- <artifactId>emergency-agent-client</artifactId>
- <version>1.0-SNAPSHOT</version>
-
- <name>Drools MAS :: Emergency Agent Client</name>
- <url>http://maven.apache.org</url>
- <build>
- <resources>
- <resource>
- <targetPath>META-INF</targetPath>
- <directory>src</directory>
- <includes>
- <include>jax-ws-catalog.xml</include>
- <include>wsdl/**</include>
- </includes>
- </resource>
- </resources>
- <plugins>
-
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.1.1</version>
- <executions>
- <execution>
-
- <id>delefe-files</id>
- <phase>process-resources</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
-
- <mainClass>org.h2.tools.DeleteDbFiles</mainClass>
- <commandlineArgs>
- -dir ~
-
- </commandlineArgs>
-
-
- </configuration>
- </execution>
- <execution>
-
- <id>start-db</id>
- <phase>process-resources</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
-
- <mainClass>org.h2.tools.Server</mainClass>
- <arguments>
- <argument>-tcp</argument>
- <argument>-tcpAllowOthers</argument>
- <argument>-tcpDaemon</argument>
- <argument>-trace</argument>
-
- </arguments>
-
-
- </configuration>
- </execution>
-
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <version>7.6.0.RC2</version>
- <configuration>
- <war>../drools-mas-emergency-agent/target/emergency-agent.war</war>
-
- <stopKey>foo</stopKey>
- <stopPort>9999</stopPort>
- <webAppConfig>
- <contextPath>/emergency-agent</contextPath>
- </webAppConfig>
- </configuration>
-
- <executions>
- <execution>
- <id>start-jetty</id>
- <phase>process-resources</phase>
- <goals>
- <goal>deploy-war</goal>
- </goals>
- <configuration>
- <daemon>true</daemon>
- <reload>manual</reload>
- </configuration>
- </execution>
- <execution>
- <id>stop-jetty</id>
- <phase>test</phase>
- <goals>
- <goal>stop</goal>
- </goals>
- </execution>
-
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jaxws-maven-plugin</artifactId>
- <version>1.10</version>
- <executions>
- <execution>
- <goals>
- <goal>wsimport</goal>
- </goals>
- <configuration>
- <wsdlUrls>
- <wsdlUrl>http://localhost:8084/emergency-agent/services/AsyncAgentService?WSDL</wsdlUrl>
- <wsdlUrl>http://localhost:8084/emergency-agent/services/SyncAgentService?WSDL</wsdlUrl>
- </wsdlUrls>
- <staleFile>${project.build.directory}/jaxws/stale/.wsdl.stale</staleFile>
- </configuration>
- <id>wsimport-generate-.wsdl</id>
- <phase>process-resources</phase>
- </execution>
-
- </executions>
- <dependencies>
- <dependency>
- <groupId>javax.xml</groupId>
- <artifactId>webservices-api</artifactId>
- <version>1.4</version>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDestDir>${project.build.directory}/generated-sources/jaxws-wsimport</sourceDestDir>
- <xnocompile>true</xnocompile>
- <verbose>true</verbose>
- <extension>true</extension>
- <catalog>${basedir}/src/jax-ws-catalog.xml</catalog>
- <sei/>
- </configuration>
- </plugin>
-
-
- </plugins>
- </build>
- <repositories>
- <repository>
- <url>http://download.java.net/maven/2</url>
- <id>metro</id>
- <layout>default</layout>
- <name>Repository for library[metro]</name>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <name>java.net</name>
- <id>java.net</id>
- <url>http://download.java.net/maven/2/</url>
- </pluginRepository>
- </pluginRepositories>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencies>
-
-
- <dependency>
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.drools.mas.example</groupId>
+ <artifactId>emergency-agent-client</artifactId>
+ <version>1.0.Final</version>
+
+ <name>Drools MAS :: Emergency Agent Client</name>
+ <url>http://maven.apache.org</url>
+ <build>
+ <resources>
+ <resource>
+ <targetPath>META-INF</targetPath>
+ <directory>src</directory>
+ <includes>
+ <include>jax-ws-catalog.xml</include>
+ <include>wsdl/**</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
+ <executions>
+ <execution>
+
+ <id>delefe-files</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+
+ <mainClass>org.h2.tools.DeleteDbFiles</mainClass>
+ <commandlineArgs>
+ -dir ~
+
+ </commandlineArgs>
+
+
+ </configuration>
+ </execution>
+ <execution>
+
+ <id>start-db</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+
+ <mainClass>org.h2.tools.Server</mainClass>
+ <arguments>
+ <argument>-tcp</argument>
+ <argument>-tcpAllowOthers</argument>
+ <argument>-tcpDaemon</argument>
+ <argument>-trace</argument>
+
+ </arguments>
+
+
+ </configuration>
+ </execution>
+
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty-maven-plugin</artifactId>
+ <version>7.6.0.RC2</version>
+ <configuration>
+ <war>../drools-mas-emergency-agent/target/emergency-agent.war</war>
+
+ <stopKey>foo</stopKey>
+ <stopPort>9999</stopPort>
+ <webAppConfig>
+ <contextPath>/emergency-agent</contextPath>
+ </webAppConfig>
+ </configuration>
+
+ <executions>
+ <execution>
+ <id>start-jetty</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>deploy-war</goal>
+ </goals>
+ <configuration>
+ <daemon>true</daemon>
+ <reload>manual</reload>
+ </configuration>
+ </execution>
+ <execution>
+ <id>stop-jetty</id>
+ <phase>test</phase>
+ <goals>
+ <goal>stop</goal>
+ </goals>
+ </execution>
+
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jaxws-maven-plugin</artifactId>
+ <version>1.10</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>wsimport</goal>
+ </goals>
+ <configuration>
+ <wsdlUrls>
+ <wsdlUrl>http://localhost:8084/emergency-agent/services/AsyncAgentService?WSDL</wsdlUrl>
+ <wsdlUrl>http://localhost:8084/emergency-agent/services/SyncAgentService?WSDL</wsdlUrl>
+ </wsdlUrls>
+ <staleFile>${project.build.directory}/jaxws/stale/.wsdl.stale</staleFile>
+ </configuration>
+ <id>wsimport-generate-.wsdl</id>
+ <phase>process-resources</phase>
+ </execution>
+
+ </executions>
+ <dependencies>
+ <dependency>
<groupId>javax.xml</groupId>
<artifactId>webservices-api</artifactId>
<version>1.4</version>
- </dependency>
-
- <dependency>
- <groupId>com.sun.xml.ws</groupId>
- <artifactId>webservices-rt</artifactId>
- <version>1.4</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-util</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-generic-client</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.drools.mas.examples</groupId>
- <artifactId>emergency-agent-model</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.6.4</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.6.4</version>
- </dependency>
-
-
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.3.162</version>
- </dependency>
-
- </dependencies>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDestDir>${project.build.directory}/generated-sources/jaxws-wsimport</sourceDestDir>
+ <xnocompile>true</xnocompile>
+ <verbose>true</verbose>
+ <extension>true</extension>
+ <catalog>${basedir}/src/jax-ws-catalog.xml</catalog>
+ <sei/>
+ </configuration>
+ </plugin>
+
+
+ </plugins>
+ </build>
+ <repositories>
+ <repository>
+ <url>http://download.java.net/maven/2</url>
+ <id>metro</id>
+ <layout>default</layout>
+ <name>Repository for library[metro]</name>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <name>java.net</name>
+ <id>java.net</id>
+ <url>http://download.java.net/maven/2/</url>
+ </pluginRepository>
+ </pluginRepositories>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <dependencies>
+
+
+ <dependency>
+ <groupId>javax.xml</groupId>
+ <artifactId>webservices-api</artifactId>
+ <version>1.4</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.sun.xml.ws</groupId>
+ <artifactId>webservices-rt</artifactId>
+ <version>1.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-util</artifactId>
+ <version>1.0.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-generic-client</artifactId>
+ <version>1.0.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools.mas.examples</groupId>
+ <artifactId>emergency-agent-model</artifactId>
+ <version>1.0.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.6.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.6.4</version>
+ </dependency>
+
+
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.3.163</version>
+ </dependency>
+
+ </dependencies>
</project>
View
5 examples/drools-mas-emergency-agent-model/pom.xml
@@ -1,10 +1,10 @@
<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">
+ 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>
<groupId>org.drools.mas.examples</groupId>
<artifactId>emergency-agent-model</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0.Final</version>
<packaging>jar</packaging>
<name>Drools MAS :: Emergency Agent Model</name>
@@ -19,6 +19,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
+ <scope>test</scope>
</dependency>
</dependencies>
</project>
View
399 examples/drools-mas-emergency-agent/pom.xml
@@ -16,202 +16,207 @@
<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>
- <groupId>org.drools.mas.impl</groupId>
- <artifactId>drools-mas-emergency-agent</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>war</packaging>
-
- <name>Drools MAS :: Emergency Agent Agent Web</name>
-
- <profiles>
- <profile>
- <id>dev</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <properties>
- <db.driverClass>org.h2.Driver</db.driverClass>
- <db.connectionURL>jdbc:h2:tcp://localhost/~/mydb</db.connectionURL>
- <db.username>sa</db.username>
- <db.password>sasa</db.password>
- <db.dialect>org.hibernate.dialect.H2Dialect</db.dialect>
- <agent.name>emergecy-agent</agent.name>
- <agent.node>emergency-agent-localnode</agent.node>
- <agent.port>7043</agent.port>
- <agent.endpoint.ip>localhost</agent.endpoint.ip>
- <agent.endpoint.port>8084</agent.endpoint.port>
- </properties>
- </profile>
- </profiles>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <dependencies>
- <!-- Domain Specific Classes/Models -->
- <dependency>
- <groupId>org.drools.mas.examples</groupId>
- <artifactId>emergency-agent-model</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- <!-- Drools MAS Dependencies -->
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-core</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas-acl</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.1</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- <version>3.1.0.RELEASE </version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- <version>3.1.0.RELEASE </version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-frontend-jaxws</artifactId>
- <version>2.5.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-transports-http</artifactId>
- <version>2.5.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-transports-http-jetty</artifactId>
- <version>2.5.1</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.6.4</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.6.4</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>emergency-agent</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.3</version>
- <configuration>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.drools.mas.impl</groupId>
+ <artifactId>drools-mas-emergency-agent</artifactId>
+ <version>1.0.Final</version>
+ <packaging>war</packaging>
+
+ <name>Drools MAS :: Emergency Agent Agent Web</name>
+
+ <profiles>
+ <profile>
+ <id>dev</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+ <db.driverClass>org.h2.Driver</db.driverClass>
+ <db.connectionURL>jdbc:h2:tcp://localhost/~/mydb</db.connectionURL>
+ <db.username>sa</db.username>
+ <db.password>sasa</db.password>
+ <db.dialect>org.hibernate.dialect.H2Dialect</db.dialect>
+ <agent.name>emergecy-agent</agent.name>
+ <agent.node>emergency-agent-localnode</agent.node>
+ <agent.port>7043</agent.port>
+ <agent.endpoint.ip>localhost</agent.endpoint.ip>
+ <agent.endpoint.port>8084</agent.endpoint.port>
+ </properties>
+ </profile>
+ </profiles>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <dependencies>
+ <!-- Domain Specific Classes/Models -->
+ <dependency>
+ <groupId>org.drools.mas.examples</groupId>
+ <artifactId>emergency-agent-model</artifactId>
+ <version>1.0.Final</version>
+ </dependency>
+ <!-- Drools MAS Dependencies -->
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-core</artifactId>
+ <version>1.0.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas-acl</artifactId>
+ <version>1.0.Final</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.1</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ <version>3.1.0.RELEASE </version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ <version>3.1.0.RELEASE </version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-frontend-jaxws</artifactId>
+ <version>2.5.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-transports-http</artifactId>
+ <version>2.5.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-transports-http-jetty</artifactId>
+ <version>2.5.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.6.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.6.4</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.3.163</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <finalName>emergency-agent</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
<!-- specify UTF-8, ISO-8859-1 or any other file encoding -->
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.1.1</version>
- <executions>
- <execution>
-
- <id>delefe-files</id>
- <phase>process-resources</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
-
- <mainClass>org.h2.tools.DeleteDbFiles</mainClass>
- <commandlineArgs>
- -dir ~
-
- </commandlineArgs>
-
-
- </configuration>
- </execution>
- <execution>
-
- <id>start-db</id>
- <phase>process-resources</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
-
- <mainClass>org.h2.tools.Server</mainClass>
- <arguments>
- <argument>-tcp</argument>
- <argument>-tcpAllowOthers</argument>
- <argument>-tcpDaemon</argument>
- <argument>-trace</argument>
-
- </arguments>
-
-
- </configuration>
- </execution>
-
- </executions>
- </plugin>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <version>7.6.0.RC2</version>
- <!--configuration>
-
- <webAppConfig>
- <contextPath>/emergency-agent</contextPath>
- </webAppConfig>
- </configuration-->
-
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </build>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
+ <executions>
+ <execution>
+
+ <id>delefe-files</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+
+ <mainClass>org.h2.tools.DeleteDbFiles</mainClass>
+ <commandlineArgs>
+ -dir ~
+
+ </commandlineArgs>
+
+
+ </configuration>
+ </execution>
+ <execution>
+
+ <id>start-db</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+
+ <mainClass>org.h2.tools.Server</mainClass>
+ <arguments>
+ <argument>-tcp</argument>
+ <argument>-tcpAllowOthers</argument>
+ <argument>-tcpDaemon</argument>
+ <argument>-trace</argument>
+
+ </arguments>
+
+
+ </configuration>
+ </execution>
+
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty-maven-plugin</artifactId>
+ <version>7.6.0.RC2</version>
+ <!--configuration>
+
+ <webAppConfig>
+ <contextPath>/emergency-agent</contextPath>
+ </webAppConfig>
+ </configuration-->
+
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </build>
</project>
View
189 pom.xml
@@ -16,43 +16,154 @@
-->
<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>
- <groupId>org.drools.mas</groupId>
- <artifactId>drools-mas</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>Drools :: MAS</name>
- <properties>
- <project.version>1.0-SNAPSHOT</project.version>
- <drools.version>5.5.0-SNAPSHOT</drools.version>
- <drools.informer.version>5.5.0-SNAPSHOT</drools.informer.version>
- <camel.version>2.7.1</camel.version>
- <spring.version>3.0.5.RELEASE</spring.version>
- <cxf.version>2.4.2</cxf.version>
- </properties>
- <modules>
- <module>drools-mas-core</module>
- <module>drools-mas-acl</module>
- <module>drools-mas-util</module>
- <module>drools-mas-agent-web-archetype</module>
- <module>drools-mas-agent-jar-archetype</module>
- <module>drools-mas-client-side-app-archetype</module>
- <module>drools-mas-doc</module>
- <module>drools-mas-generic-client</module>
- <module>drools-mas-merged-bundle</module>
- <module>drools-5-merged-bundle</module>
- <module>examples/drools-mas-emergency-agent-model</module>
- <module>examples/drools-mas-emergency-agent</module>
- <module>examples/drools-mas-emergency-agent-client</module>
- </modules>
-
- <repositories>
- <repository>
- <id>jboss</id>
- <name>jboss</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- </repository>
-
- </repositories>
-
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.drools.mas</groupId>
+ <artifactId>drools-mas</artifactId>
+ <version>1.0.Final</version>
+ <packaging>pom</packaging>
+ <name>Drools :: MAS</name>
+ <properties>
+ <project.version>1.0.Final</project.version>
+ <drools.version>5.5.0.Final</drools.version>
+ <drools.informer.version>5.5.0-SNAPSHOT</drools.informer.version>
+ <camel.version>2.7.1</camel.version>
+ <spring.version>3.0.5.RELEASE</spring.version>
+ <cxf.version>2.4.2</cxf.version>
+ </properties>
+ <modules>
+ <module>drools-mas-core</module>
+ <module>drools-mas-acl</module>
+ <module>drools-mas-util</module>
+ <module>drools-mas-agent-web-archetype</module>
+ <module>drools-mas-agent-jar-archetype</module>
+ <module>drools-mas-client-side-app-archetype</module>
+ <module>drools-mas-doc</module>
+ <module>drools-mas-generic-client</module>
+ <module>drools-mas-merged-bundle</module>
+ <module>drools-5-merged-bundle</module>
+ <module>examples/drools-mas-emergency-agent-model</module>
+ <module>examples/drools-mas-emergency-agent</module>
+ <module>examples/drools-mas-emergency-agent-client</module>
+ </modules>
+
+ <repositories>
+ <repository>
+ <id>jboss</id>
+ <name>jboss</name>
+ <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+ </repository>
+ </repositories>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>knowledge-api</artifactId>
+ <version>${drools.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-compiler</artifactId>
+ <version>${drools.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-core</artifactId>
+ <version>${drools.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-grid-impl</artifactId>
+ <version>${drools.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.jayway.jsonpath</groupId>
+ <artifactId>json-path</artifactId>
+ <version>0.5.3</version>
+ </dependency>
+ <dependency>
+ <groupId>com.thoughtworks.xstream</groupId>
+ <artifactId>xstream</artifactId>
+ <version>1.4.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jettison</groupId>
+ <artifactId>jettison</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>1.3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <version>1.4.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.osgi.compendium</artifactId>
+ <version>1.4.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.6.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.6.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ <version>3.1.0.RELEASE</version>
+ </dependency>
+
+
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.3.163</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.1.18</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>3.1.0.RELEASE</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ <version>4.10</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.