You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by bi...@apache.org on 2013/01/29 21:06:23 UTC

[2/2] git commit: SUREFIRE-954: add missing pom.

Updated Branches:
  refs/heads/surefire-954-test [created] 3345ac93e


SUREFIRE-954: add missing pom.


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/3345ac93
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/3345ac93
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/3345ac93

Branch: refs/heads/surefire-954-test
Commit: 3345ac93e00120f922dc6864e948ebd458cb4cdc
Parents: 5c740ff
Author: Benson Margulies <bm...@gmail.com>
Authored: Tue Jan 29 20:05:50 2013 +0000
Committer: Benson Margulies <bm...@gmail.com>
Committed: Tue Jan 29 20:05:50 2013 +0000

----------------------------------------------------------------------
 .../resources/junit-before-class-exception/pom.xml |   67 +++++++++++++++
 1 files changed, 67 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/3345ac93/surefire-integration-tests/src/test/resources/junit-before-class-exception/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/junit-before-class-exception/pom.xml b/surefire-integration-tests/src/test/resources/junit-before-class-exception/pom.xml
new file mode 100644
index 0000000..1b703ef
--- /dev/null
+++ b/surefire-integration-tests/src/test/resources/junit-before-class-exception/pom.xml
@@ -0,0 +1,67 @@
+<?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">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.surefire</groupId>
+  <artifactId>junit-before-class-exception</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <name>Test of exception thrown in @BeforeClass</name>
+
+  <properties>
+    <junit.version>4.4</junit.version>
+    <surefire.parallel></surefire.parallel>
+    <surefire.threadcount>3</surefire.threadcount>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>${junit.version}</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>${surefire.version}</version>
+        <configuration>
+          <parallel>${surefire.parallel}</parallel>
+          <perCoreThreadCount>false</perCoreThreadCount>
+          <threadCount>${surefire.threadcount}</threadCount>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>