Author: jfrederic.clere(a)jboss.com
Date: 2011-07-15 08:47:23 -0400 (Fri, 15 Jul 2011)
New Revision: 2810
Added:
trunk/build/unix/util/jbosswebtests/pom.xml.windoze
Log:
Add windoze pom.xml
Added: trunk/build/unix/util/jbosswebtests/pom.xml.windoze
===================================================================
--- trunk/build/unix/util/jbosswebtests/pom.xml.windoze (rev 0)
+++ trunk/build/unix/util/jbosswebtests/pom.xml.windoze 2011-07-15 12:47:23 UTC (rev
2810)
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2011, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-parent</artifactId>
+ <version>6-beta-1</version>
+ </parent>
+
+ <properties>
+ <version.junit>4.8.1</version.junit>
+ <version.org.jboss.web>7.0.0.CR2</version.org.jboss.web>
+
<version.org.jboss.spec.javax.servlet.jboss-servlet-api_3.0_spec>1.0.0.Final</version.org.jboss.spec.javax.servlet.jboss-servlet-api_3.0_spec>
+ <!--
+ <version.org.jboss.web>2.1.11.GA</version.org.jboss.web>
+ -->
+
<version.org.jboss.as.jbossweb-native>2.0.10-SNAPSHOT</version.org.jboss.as.jbossweb-native>
+ </properties>
+
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jbossweb-native-test</artifactId>
+ <version>2.0.10-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <name>JBoss Application Server: Web Native Test</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*TestCase.java</include>
+ </includes>
+ <enableAssertions>false</enableAssertions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.6</version>
+ <executions>
+ <execution>
+ <phase>test</phase>
+ <configuration>
+ <tasks>
+ <!-- extract the native build to test it -->
+
+ <echo>"native jar:
${org.jboss.as:jbossweb-native:jar}"</echo>
+
+ <unjar src="${org.jboss.as:jbossweb-native:jar}"
dest="node1" />
+
+ <!-- Start jbossweb (embedded) -->
+ <java classname="org.jboss.test.StartJBossWeb"
+ spawn="true" fork="yes">
+ <jvmarg line="-d${jvmsize}" />
+ <jvmarg
line="-Djava.util.logging.config.file=node1/conf/logging.properties" />
+ <jvmarg
line="-Djava.util.logging.manager=org.jboss.test.ClassLoaderLogManager"/>
+ <classpath refid="maven.test.classpath"/>
+ </java>
+
+ <sleep seconds="10"/>
+
+ <!-- Test it -->
+ <delete file="index.html"/>
+ <exec executable="wget">
+ <arg value="--no-check-certificate"/>
+ <arg
value="https://localhost:8009/index.html"/>
+ </exec>
+ <available file="index.html"
property="exist"/>
+ <fail unless="exist" message="Can't get test
file"/>
+
+ <java classname="org.jboss.test.StopJBossWeb"
+ spawn="true" fork="yes">
+ <classpath refid="maven.test.classpath"/>
+ </java>
+
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${version.junit}</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.web</groupId>
+ <artifactId>jbossweb</artifactId>
+ <version>${version.org.jboss.web}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jbossweb-native</artifactId>
+ <version>${version.org.jboss.as.jbossweb-native}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.spec.javax.servlet</groupId>
+ <artifactId>jboss-servlet-api_3.0_spec</artifactId>
+
<version>${version.org.jboss.spec.javax.servlet.jboss-servlet-api_3.0_spec}</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+ <repositories>
+ <repository>
+ <id>jboss-public-repository-group</id>
+ <name>JBoss Public Repository Group</name>
+
<
url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <!--
+
<
url>https://repository.jboss.org/nexus/content/groups/staging/</url...
+ -->
+ <layout>default</layout>
+ <!--
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ -->
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ </repository>
+ </repositories>
+
+</project>
+
+<settings>
+
+ <mirrors>
+ <mirror>
+ <id>jboss-staging-repository-group</id>
+ <mirrorOf>*</mirrorOf>
+ <
name>JBoss.org Staging Repository Group</name>
+ <
url>https://repository.jboss.org/nexus/content/groups/staging/</url...
+ </mirror>
+ </mirrors>
+</settings>