Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added war packaging, custom context and upgraded atmosphere-js to 2.3.0 #72

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3689f2c
set fallbackTransport for chat-node-client sample
elakito Feb 10, 2016
1148f54
preparing master to 2.5.0-SNAPSHOT for jdk8
elakito Feb 14, 2016
c1372ab
swtich to jdk8
elakito Feb 14, 2016
810cdb3
fix the travis build by not using atmosphere snapshot dependency unti…
elakito Feb 14, 2016
5faf36a
fixup webrtc example to work.
Feb 18, 2016
05c1d01
Update Copyright
elakito Feb 22, 2016
d779393
raise prerequisites to maven 3.0
elakito Feb 29, 2016
4ef68b5
add reconnect/reopen logs to chat-node-client
elakito Mar 15, 2016
33c4309
Upgrade atmosphere to 2.4.3
elakito Mar 30, 2016
aa0cba1
fix spring-boot version to match spring version
elakito Mar 30, 2016
d2b0deb
add readme to spring-boot-sample-atmosphere
elakito Mar 30, 2016
6b5433a
Merge branch 'master' of https://github.com/seamusmac/atmosphere-samp…
elakito Apr 8, 2016
6cdb87f
Merge branch 'seamusmac-master'
elakito Apr 8, 2016
c4e2f4e
remove useNative=true to allow jsr356
elakito Apr 8, 2016
d2f1e1f
#62 Make peerConection work for Firefox; fix the format (no tabs); r…
elakito Apr 8, 2016
de35754
#63 Fix webrtc-jersey sample
elakito Apr 8, 2016
98b37c2
a minor clean up to move the browser-check for at the top
elakito Apr 9, 2016
694b361
update readme for webrtc sample
elakito Apr 12, 2016
3d63df8
update atmosphere to 2.5.0-SNAPSHOT
elakito May 21, 2016
c3a6c95
Update nettosphere samples to use the plain atmosphere.js version
elakito May 31, 2016
7ce3d59
allow the node client sample to use a different service url
elakito Aug 9, 2016
c580ec6
add cxf based chat samples
elakito Aug 10, 2016
0d9eb1a
update readme.md for cxf samples
elakito Aug 10, 2016
0f29eb0
update readme, fixed typos, added chat-node-client
elakito Aug 10, 2016
065b90a
add a kafka-extension sample
elakito Aug 23, 2016
4c40297
update pom.xml to include some new samples
elakito Aug 23, 2016
8b604e8
Added war packaging, custom context and upgraded atmosphere-js to 2.3.0
stsymbal Aug 30, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ If you plan to use Spring or GWT, take a look at their specific samples.
| [chat-guice](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.atmosphere.samples%22%20AND%20a%3A%22atmosphere-guice-chat%22) | This sample demonstrate the use of Google Guice with Atmosphere. The Chat application is implemented using @Suspend and @Broadcast annotation | [Guice](https://github.com/Atmosphere/atmosphere-samples/blob/master/extensions-samples/guice/chat-guice/src/main/java/org/atmosphere/samples/guice/GuiceChatModule.java) [Jersey Resource](https://github.com/Atmosphere/atmosphere-extensions/blob/master/guice/samples/chat-guice/src/main/java/org/atmosphere/samples/guice/ResourceChat.java#L31) | Javascript Functions demonstrating [WebSocket, falling back to Long-Polling](https://github.com/Atmosphere/atmosphere-samples/blob/master/extensions-samples/guice/chat-guice/src/main/webapp/jquery/application.js) |
| [chat](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.atmosphere.samples%22%20AND%20a%3A%22atmosphere-chat%22) | This sample demonstrates the use of WebSocket (falling back to SSE and Long-Polling) using the [@ManagedService](http://atmosphere.github.io/atmosphere/apidocs/org/atmosphere/config/service/ManagedService.html) annotation. The sample also demonstrates how to detect which transport are supported by the client and server by negotiating with the server. | [Chat](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/chat/src/main/java/org/atmosphere/samples/chat/Chat.java) | Javascript Functions demonstrating [WebSocket, falling back to Long-Polling](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/chat/src/main/webapp/javascript/application.js). This is the recommended sample to start with. |
| [chat-multiroom](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.atmosphere.samples%22%20AND%20a%3A%22atmosphere-chat-multiroom%22) | This sample demonstrates the use of WebSocket (falling back SSE and to Long-Polling) using the [@ManagedService](http://atmosphere.github.io/atmosphere/apidocs/org/atmosphere/config/service/ManagedService.html) annotation with [Encoder](http://atmosphere.github.io/atmosphere/apidocs/org/atmosphere/config/managed/Encoder.html) and [Decoder](http://atmosphere.github.io/atmosphere/apidocs/org/atmosphere/config/managed/Decoder.html). The sample also demonstrates how to detect which transport are supported by the client and server by negotiating with the server. | [Chatroom](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/chat-multiroom/src/main/java/org/atmosphere/samples/chat/ChatRoom.java) | Javascript Functions demonstrating [WebSocket, falling back to Long-Polling](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/chat/src/main/webapp/javascript/application.js). This is the recommended sample to start with. |
| [cxf-node-client](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.atmosphere.samples%22%20AND%20a%3A%22atmosphere-chat-node-client%22) | This sample demonstrates atmosphere.js with node.js. This client can be used agaist various samples such as chat, websocket-chat, ... | | [Javascript Functions](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/chat-node-client/src/main/resources/chat-client.js)|
| [cxf-chat](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.atmosphere.samples%22%20AND%20a%3A%22atmosphere-cxf-chat%22) | This sample demonstrates the use of WebSocket (falling back SSE and to Long-Polling) in other framework using Atmosphere. | [CXF](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/cxf-chat/src/main/java/org/atmosphere/samples/chat/cxf/ChatResource.java) | [Javascript Functions](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/cxf-chat/src/main/webapp/javascript/application.js)|
| [cxf-chat-osgi](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.atmosphere.samples%22%20AND%20a%3A%22atmosphere-cxf-chat-ogi%22) | This sample is an OSGi version of cxf-chat that demonstrates the use of Atmosphere in an OSGi container. The code is identical to that of cxf-chat and it only differs in its pom.xml file so that the appropriate bundle descriptor is generated in its manifest.mf file.| [CXF OSGi](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/cxf-chat-osgi/src/main/java/org/atmosphere/samples/chat/cxf/ChatResource.java) | [Javascript Functions](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/cxf-chat-osgi/src/main/webapp/javascript/application.js)|
| [di-guice-sample](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.atmosphere.samples%22%20AND%20a%3A%22atmosphere-di-guice-sample%22) | The sample demonstrates the use of Atmosphere's Dependencies Injection using Guice | [Jersey Resource](https://github.com/Atmosphere/atmosphere-samples/blob/master/extensions-samples/guice/di-guice-sample/src/main/java/org/atmosphere/samples/di/guice/MessageResource.java) [Guice](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/di-guice-sample/src/main/java/org/atmosphere/samples/di/guice/GuiceContextListener.java) | [Javascript Callback](https://github.com/Atmosphere/atmosphere-samples/blob/master/extensions-samples/guice/di-guice-sample/src/main/webapp/index.html#L46) |
| [jersey2-chat](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22atmosphere-jersey2-chat%22) | This samples demonstrates the use of JAX RS Specification 2 with [@AtmosphereService](http://atmosphere.github.io/atmosphere/apidocs/org/atmosphere/config/service/AtmosphereService.html) | [Jersey Resource](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/jersey2-chat/src/main/java/org/atmosphere/samples/chat/jersey/Jersey2Resource.java) | Javascript Functions demonstrating [WebSocket, falling back to Long-Polling](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/jersey2-chat/src/main/webapp/jquery/application.js) |
| [atmospherehandler-pubsub](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.atmosphere.samples%22%20AND%20a%3A%22atmosphere-atmospherehandler-pubsub%22) | This sample demonstrate the use of AtmosphereHandler for implementing a pub sub application. The sample supports Long-Polling, Http Streaming and WebSocket | [AtmosphereHandler](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/atmospherehandler-pubsub/src/main/java/org/atmosphere/samples/pubsub/AtmosphereHandlerPubSub.java#L39) | [Javascript Function](https://github.com/Atmosphere/atmosphere-samples/blob/master/samples/atmospherehandler-pubsub/src/main/webapp/index.html) |
Expand Down
4 changes: 2 additions & 2 deletions extensions-samples/chat-cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-samples-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.atmosphere.samples</groupId>
<artifactId>atmosphere-chat-cdi</artifactId>
<packaging>war</packaging>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<name>atmosphere-chat-cdi</name>
<url>http://maven.apache.org</url>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
2 changes: 1 addition & 1 deletion extensions-samples/cometd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-samples-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
4 changes: 2 additions & 2 deletions extensions-samples/guice/chat-guice/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-samples-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.atmosphere.samples</groupId>
<artifactId>atmosphere-guice-chat</artifactId>
<packaging>war</packaging>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<name>atmosphere-guice-chat</name>
<url>http://maven.apache.org</url>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
4 changes: 2 additions & 2 deletions extensions-samples/gwt/gwt20-jersey-rpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<parent>
<groupId>org.atmosphere.extensions</groupId>
<artifactId>atmosphere-samples-gwt20-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<groupId>org.atmosphere.samples</groupId>
<artifactId>gwt20-jersey-rpc</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>gwt20-jersey-rpc</name>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
4 changes: 2 additions & 2 deletions extensions-samples/gwt/gwt20-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<parent>
<groupId>org.atmosphere.extensions</groupId>
<artifactId>atmosphere-samples-gwt20-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<groupId>org.atmosphere.samples</groupId>
<artifactId>gwt20-json</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>gwt20-json</name>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
4 changes: 2 additions & 2 deletions extensions-samples/gwt/gwt20-managed-rpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<parent>
<groupId>org.atmosphere.extensions</groupId>
<artifactId>atmosphere-samples-gwt20-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<groupId>org.atmosphere.samples</groupId>
<artifactId>gwt20-managed-rpc</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>gwt20-managed-rpc</name>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
4 changes: 2 additions & 2 deletions extensions-samples/gwt/gwt20-rpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<parent>
<groupId>org.atmosphere.extensions</groupId>
<artifactId>atmosphere-samples-gwt20-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<groupId>org.atmosphere.samples</groupId>
<artifactId>gwt20-rpc</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>gwt20-rpc</name>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015 Async-IO.org
* Copyright 2016 Async-IO.org
*
* 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
Expand Down
4 changes: 2 additions & 2 deletions extensions-samples/gwt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-samples-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<groupId>org.atmosphere.extensions</groupId>
<artifactId>atmosphere-samples-gwt20-project</artifactId>
<name>atmosphere-samples-gwt20-project</name>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<packaging>pom</packaging>

<url>https://github.com/Atmosphere/atmosphere-extensions/gwt20</url>
Expand Down
2 changes: 1 addition & 1 deletion extensions-samples/hazelcast/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-samples-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion extensions-samples/jgroups/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-samples-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
12 changes: 12 additions & 0 deletions extensions-samples/kafka/jersey-pubsub/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
This sample assumes Apache Kafka
For more information on Kafka, refer to http://kafka.apache.org/documentation.html
If Kafka is running at its default host and port localhost:9092, you will need to adjust
parameter bootstrap.servers in a configuration file specified by the init paramter
org.atmosphere.kafka.propertiesFile.

Run this sample twice with this command lines :
- 1st instance : mvn jetty:run-war -Djetty.port=8080
- 2nd instance : mvn jetty:run-war -Djetty.port=9090

You can use your browser to connect to either http://localhost:8080 or http://localhost:9090 and
observe the messages posted to the same topic are broadcasted to its subscribers.
53 changes: 53 additions & 0 deletions extensions-samples/kafka/jersey-pubsub/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<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">
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-samples-project</artifactId>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>atmosphere-kafka-demo</artifactId>
<packaging>war</packaging>
<name>atmosphere-kafka-demo</name>
<properties>
<extensions-version>2.5.0-SNAPSHOT</extensions-version>
</properties>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
<overlays>
<overlay>
<groupId>org.atmosphere.samples</groupId>
<artifactId>atmosphere-jersey-pubsub</artifactId>
</overlay>
</overlays>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-kafka</artifactId>
<version>${extensions-version}</version>
</dependency>
<dependency>
<groupId>org.atmosphere.samples</groupId>
<artifactId>atmosphere-jersey-pubsub</artifactId>
<version>${project.version}</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-servlet_3.0_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>

</project>
5 changes: 3 additions & 2 deletions extensions-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-samples-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.atmosphere.samples</groupId>
<artifactId>atmosphere-extensions-samples</artifactId>
<packaging>pom</packaging>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<name>atmosphere-extensions-samples</name>
<modules>
<module>chat-cdi/</module>
Expand All @@ -20,6 +20,7 @@
<module>gwt</module>
<module>hazelcast</module>
<module>jgroups</module>
<module>kafka/jersey-pubsub</module>
<module>rabbitmq/jersey-pubsub</module>
<module>redis</module>
<module>rmi</module>
Expand Down
2 changes: 1 addition & 1 deletion extensions-samples/rabbitmq/jersey-pubsub/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<parent>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-samples-project</artifactId>
<version>2.4.3-SNAPSHOT</version>
<version>2.5.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Loading