]> git.somenet.org - pub/jan/sbc.git/blob - pom.xml
First running MozartSpaces communication: PizzeriaGUI writes free tables to space...
[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
46         </dependencies>
47
48         <build>
49                 <plugins>
50                         <!-- <plugin>
51                                 <groupId>org.codehaus.mojo</groupId>
52                                 <artifactId>exec-maven-plugin</artifactId>
53                                 <version>1.2.1</version>
54                         </plugin> -->
55                 </plugins>
56                 <pluginManagement>
57                         <plugins>
58                                 <plugin>
59                                         <artifactId>maven-compiler-plugin</artifactId>
60                                         <version>2.3.2</version>
61                                         <configuration>
62                                                 <source>1.7</source>
63                                                 <target>1.7</target>
64                                         </configuration>
65                                 </plugin>
66                                 <plugin>
67                                         <groupId>org.apache.activemq.tooling</groupId>
68                                         <artifactId>activemq-maven-plugin</artifactId>
69                                         <version>5.8.0</version>
70                                         <configuration>
71                                                 <configUri>broker:(tcp://localhost:61616)?useJmx=true&amp;persistent=false</configUri>
72                                         </configuration>
73                                 </plugin>
74                         </plugins>
75                 </pluginManagement>
76
77
78         </build>
79
80         <repositories>
81                 <repository>
82                         <id>mozartspaces</id>
83                         <url>http://www.mozartspaces.org/maven-snapshots</url>
84                 </repository>
85         </repositories>
86
87         <profiles>
88                 <profile>
89                         <id>server</id>
90                         <build>
91                                 <plugins>
92                                         <plugin>
93                                                 <groupId>org.codehaus.mojo</groupId>
94                                                 <artifactId>exec-maven-plugin</artifactId>
95                                                 <executions>
96                                                         <execution>
97                                                                 <phase>install</phase>
98                                                                 <goals>
99                                                                         <goal>java</goal>
100                                                                 </goals>
101                                                         </execution>
102                                                 </executions>
103                                                 <configuration>
104                                                         <mainClass>org.mozartspaces.core.Server</mainClass>
105                                                         <arguments>
106                                                                 <argument>4242</argument>
107                                                         </arguments>
108                                                         <classpathScope>runtime</classpathScope>
109                                                 </configuration>
110                                         </plugin>
111                                 </plugins>
112                         </build>
113                 </profile>
114                 
115                 <profile>
116                         <id>pizzeria</id>
117                         <build>
118                                 <plugins>
119                                         <plugin>
120                                                 <groupId>org.codehaus.mojo</groupId>
121                                                 <artifactId>exec-maven-plugin</artifactId>
122                                                 <configuration>
123                                                         <executable>java</executable>
124                                                         <arguments>
125                                                                 <argument>-Dmozartspaces.configurationFile=mozartspaces-client.xml</argument>
126                                                                 <argument>-classpath</argument>
127                                                                 <classpath />
128                                                                 <argument>at.ac.tuwien.sbc.valesriegler.pizzeria.PizzeriaAgent</argument>
129                                                 <!--            <argument>xvsm://localhost:4242</argument> -->
130                                                         </arguments>
131                                                 </configuration>
132                                         </plugin>
133                                 </plugins>
134                         </build>
135                 </profile>
136         </profiles>
137
138
139 </project>