PR: MNG-505

add integration tests for version ranges



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219847 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-07-20 06:53:47 +00:00
parent 6ab6bf4e40
commit b2d349adbc
8 changed files with 51 additions and 0 deletions

View File

@ -101,6 +101,8 @@ it0032: Tests that a specified Maven version requirement that is lower doesn't c
it0033: Test an EAR generation
it0034: Test version range junit [3.7,) resolves to 3.8.1
-------------------------------------------------------------------------------
- generated sources
@ -148,4 +150,7 @@ it1006: Tests collision on default execution id. Should throw an
-------------------------------------------------------------------------------
it1007: Should fail due to requiring a future version of Maven.
-------------------------------------------------------------------------------
it1008: Should fail due to requiring a version range for junit that doesn't exist
in the repository. Currently succeeds (MNG-614)
-------------------------------------------------------------------------------

View File

@ -1,3 +1,4 @@
it0034
it0033
it0032
it0031

View File

@ -0,0 +1 @@
package

View File

@ -0,0 +1,16 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core-it0034</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven Quick Start Archetype</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>[3.7,)</version>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app >
</web-app>

View File

@ -0,0 +1,5 @@
<html>
<body>
Hello World
</body>
</html>

View File

@ -0,0 +1 @@
test

View File

@ -0,0 +1,17 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core-it0034</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven Quick Start Archetype</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>[3000.7,)</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>