Author: ngn
Date: Sun Apr 22 18:48:48 2012
New Revision: 1328932
URL: http://svn.apache.org/viewvc?rev=1328932&view=rev
Log:
Introduce a JDK 1.6 profile for distribution
Makes sure that JAR's not built since they require JDK 1.6, does not
included in the distribution
Modified:
mina/vysper/trunk/dist/pom.xml
Modified: mina/vysper/trunk/dist/pom.xml
URL:
http://svn.apache.org/viewvc/mina/vysper/trunk/dist/pom.xml?rev=1328932&r1=1328931&r2=1328932&view=diff
==============================================================================
--- mina/vysper/trunk/dist/pom.xml (original)
+++ mina/vysper/trunk/dist/pom.xml Sun Apr 22 18:48:48 2012
@@ -51,16 +51,6 @@
</dependency>
<dependency>
- <groupId>org.apache.vysper.extensions</groupId>
- <artifactId>xep0124-xep0206-bosh</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.vysper.extensions</groupId>
- <artifactId>vysper-websockets</artifactId>
- </dependency>
-
- <dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<optional>true</optional>
@@ -216,6 +206,23 @@
<profiles>
<profile>
+ <!-- bosh and websockets uses Jetty, which requires Java 1.6 -->
+ <activation>
+ <jdk>[1.6,)</jdk>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.vysper.extensions</groupId>
+ <artifactId>xep0124-xep0206-bosh</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.vysper.extensions</groupId>
+ <artifactId>vysper-websockets</artifactId>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
<id>apache-release</id>
<build>
<plugins>