]> git.somenet.org - pub/jan/sbc.git/blob - pom.xml
Waiter takes Order from guests
[pub/jan/sbc.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4         <groupId>at.ac.tuwien.sbc</groupId>
5         <artifactId>vales-riegler</artifactId>
6         <version>0.0.1-SNAPSHOT</version>
7
8         <properties>
9                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
10         </properties>
11
12         <dependencies>
13                 <dependency>
14                         <groupId>org.slf4j</groupId>
15                         <artifactId>slf4j-api</artifactId>
16                         <version>1.6.6</version>
17                 </dependency>
18                 <dependency>
19                         <groupId>ch.qos.logback</groupId>
20                         <artifactId>logback-classic</artifactId>
21                         <version>1.0.7</version>
22                 </dependency>
23                 <dependency>
24                         <groupId>org.apache.activemq</groupId>
25                         <artifactId>activemq-all</artifactId>
26                         <version>5.8.0</version>
27                         <exclusions>
28                                 <exclusion>
29                                         <groupId>ch.qos.logback</groupId>
30                                         <artifactId>logback-classic</artifactId>
31                                 </exclusion>
32                         </exclusions>
33                 </dependency>
34                 <dependency>
35                         <groupId>org.mozartspaces</groupId>
36                         <artifactId>mozartspaces-runtime</artifactId>
37                         <version>2.2-SNAPSHOT</version>
38                         <exclusions>
39                                 <exclusion>
40                                         <groupId>ch.qos.logback</groupId>
41                                         <artifactId>logback-classic</artifactId>
42                                 </exclusion>
43                         </exclusions>
44                 </dependency>
45                 <dependency>
46                         <groupId>org.mozartspaces</groupId>
47                         <artifactId>mozartspaces-notifications</artifactId>
48                         <version>2.2-SNAPSHOT</version>
49                 </dependency>
50
51         </dependencies>
52
53         <build>
54                 <plugins>
55                         <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> 
56                                 <version>1.2.1</version> </plugin> -->
57                 </plugins>
58                 <pluginManagement>
59                         <plugins>
60                                 <plugin>
61                                         <artifactId>maven-compiler-plugin</artifactId>
62                                         <version>2.3.2</version>
63                                         <configuration>
64                                                 <source>1.7</source>
65                                                 <target>1.7</target>
66                                         </configuration>
67                                 </plugin>
68                                 <plugin>
69                                         <groupId>org.apache.activemq.tooling</groupId>
70                                         <artifactId>activemq-maven-plugin</artifactId>
71                                         <version>5.8.0</version>
72                                         <configuration>
73                                                 <configUri>broker:(tcp://localhost:61616)?useJmx=true&amp;persistent=false</configUri>
74                                         </configuration>
75                                 </plugin>
76                         </plugins>
77                 </pluginManagement>
78
79
80         </build>
81
82         <repositories>
83                 <repository>
84                         <id>mozartspaces</id>
85                         <url>http://www.mozartspaces.org/maven-snapshots</url>
86                 </repository>
87         </repositories>
88
89         <profiles>
90                 <profile>
91                         <id>server</id>
92                         <build>
93                                 <plugins>
94                                         <plugin>
95                                                 <groupId>org.codehaus.mojo</groupId>
96                                                 <artifactId>exec-maven-plugin</artifactId>
97                                                 <executions>
98                                                         <execution>
99                                                                 <phase>install</phase>
100                                                                 <goals>
101                                                                         <goal>java</goal>
102                                                                 </goals>
103                                                         </execution>
104                                                 </executions>
105                                                 <configuration>
106                                                         <mainClass>org.mozartspaces.core.Server</mainClass>
107                                                         <arguments>
108                                                                 <argument>4242</argument>
109                                                         </arguments>
110                                                         <classpathScope>runtime</classpathScope>
111                                                 </configuration>
112                                         </plugin>
113                                 </plugins>
114                         </build>
115                 </profile>
116
117                 <profile>
118                         <id>pizzeria</id>
119                         <build>
120                                 <plugins>
121                                         <plugin>
122                                                 <groupId>org.codehaus.mojo</groupId>
123                                                 <artifactId>exec-maven-plugin</artifactId>
124                                                 <configuration>
125                                                         <executable>java</executable>
126                                                         <arguments>
127                                                                 <argument>-Dmozartspaces.configurationFile=mozartspaces-client.xml</argument>
128                                                                 <argument>-classpath</argument>
129                                                                 <classpath />
130                                                                 <argument>at.ac.tuwien.sbc.valesriegler.pizzeria.PizzeriaAgent</argument>
131                                                                 <!-- <argument>xvsm://localhost:4242</argument> -->
132                                                         </arguments>
133                                                 </configuration>
134                                         </plugin>
135                                 </plugins>
136                         </build>
137                 </profile>
138         </profiles>
139
140
141 </project>