You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2010/05/07 23:13:28 UTC
svn commit: r942230 - in /mina/vysper/trunk/server: core-inttest/
core-inttest/pom.xml core-inttest/src/ core-inttest/src/main/
core-inttest/src/main/resources/
core-inttest/src/main/resources/log4j.properties
core-inttest/src/main/test/ pom.xml
Author: ngn
Date: Fri May 7 21:13:27 2010
New Revision: 942230
URL: http://svn.apache.org/viewvc?rev=942230&view=rev
Log:
Adding module for integration tests
Added:
mina/vysper/trunk/server/core-inttest/
mina/vysper/trunk/server/core-inttest/pom.xml
mina/vysper/trunk/server/core-inttest/src/
mina/vysper/trunk/server/core-inttest/src/main/
mina/vysper/trunk/server/core-inttest/src/main/resources/
mina/vysper/trunk/server/core-inttest/src/main/resources/log4j.properties
mina/vysper/trunk/server/core-inttest/src/main/test/
Modified:
mina/vysper/trunk/server/pom.xml
Added: mina/vysper/trunk/server/core-inttest/pom.xml
URL: http://svn.apache.org/viewvc/mina/vysper/trunk/server/core-inttest/pom.xml?rev=942230&view=auto
==============================================================================
--- mina/vysper/trunk/server/core-inttest/pom.xml (added)
+++ mina/vysper/trunk/server/core-inttest/pom.xml Fri May 7 21:13:27 2010
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you 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/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>vysper-server</artifactId>
+ <groupId>org.apache.vysper</groupId>
+ <version>0.6-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.vysper</groupId>
+ <artifactId>vysper-core-inttest</artifactId>
+ <name>Apache Vysper Core Integration tests</name>
+ <version>0.6-SNAPSHOT</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.vysper</groupId>
+ <artifactId>vysper-core</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <!-- Test dependencies -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>jivesoftware</groupId>
+ <artifactId>smack</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>jivesoftware</groupId>
+ <artifactId>smackx</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added: mina/vysper/trunk/server/core-inttest/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/mina/vysper/trunk/server/core-inttest/src/main/resources/log4j.properties?rev=942230&view=auto
==============================================================================
--- mina/vysper/trunk/server/core-inttest/src/main/resources/log4j.properties (added)
+++ mina/vysper/trunk/server/core-inttest/src/main/resources/log4j.properties Fri May 7 21:13:27 2010
@@ -0,0 +1,26 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
+log4j.rootLogger=DEBUG, C
+
+log4j.logger.org.apache.vysper.mina.XmppIoHandlerAdapter=WARN,C
+log4j.logger.org.apache.mina.filter.executor.ExecutorFilter=WARN,C
+
+log4j.appender.C=org.apache.log4j.ConsoleAppender
+log4j.appender.C.layout=org.apache.log4j.PatternLayout
+log4j.appender.C.layout.ConversionPattern=%c %p %m%n
+
Modified: mina/vysper/trunk/server/pom.xml
URL: http://svn.apache.org/viewvc/mina/vysper/trunk/server/pom.xml?rev=942230&r1=942229&r2=942230&view=diff
==============================================================================
--- mina/vysper/trunk/server/pom.xml (original)
+++ mina/vysper/trunk/server/pom.xml Fri May 7 21:13:27 2010
@@ -34,4 +34,15 @@
<module>core</module>
<module>extensions</module>
</modules>
+
+ <profiles>
+ <profile>
+ <id>inttest</id>
+ <modules>
+ <module>core</module>
+ <module>core-inttest</module>
+ <module>extensions</module>
+ </modules>
+ </profile>
+ </profiles>
</project>