commit 21f9b8df98e085d695dfd20a67c21f0d4e35d98818f648ce398cbc1ec8f1a67a Author: Fridrich Strba <fstrba@suse.com> Date: Fri Apr 5 06:39:20 2019 +0000 Accepting request 691688 from home:fstrba:maven OBS-URL: https://build.opensuse.org/request/show/691688 OBS-URL: https://build.opensuse.org/package/show/Java:packages/junit5?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/README.md b/README.md new file mode 100644 index 0000000..2987e7e --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# junit5 + +The junit5 package \ No newline at end of file diff --git a/aggregator.pom b/aggregator.pom new file mode 100644 index 0000000..a014acf --- /dev/null +++ b/aggregator.pom @@ -0,0 +1,66 @@ +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.fedoraproject.xmvn.junit5</groupId> + <artifactId>aggregator</artifactId> + <version>1.0.0</version> + <packaging>pom</packaging> + <modules> + <module>junit-platform-commons</module> + <module>junit-platform-console</module> + <module>junit-platform-console-standalone</module> + <module>junit-platform-engine</module> + <module>junit-platform-launcher</module> + <module>junit-platform-runner</module> + <module>junit-platform-suite-api</module> + <module>junit-platform-surefire-provider</module> + <module>junit-jupiter-api</module> + <module>junit-jupiter-engine</module> + <module>junit-jupiter-migrationsupport</module> + <module>junit-jupiter-params</module> + <module>junit-vintage-engine</module> + </modules> + <build> + <pluginManagement> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + </plugin> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> + </archive> + </configuration> + </plugin> + </plugins> + </pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>2.1.0</version> + <executions> + <execution> + <id>bundle-manifest</id> + <phase>process-classes</phase> + <goals> + <goal>manifest</goal> + </goals> + <configuration> + <instructions> + <Bundle-SymbolicName>${osgi.bsn}</Bundle-SymbolicName> + <Automatic-Module-Name>${osgi.bsn}</Automatic-Module-Name> + <_nouses>true</_nouses> + </instructions> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/junit-jupiter-api-5.3.1.pom b/junit-jupiter-api-5.3.1.pom new file mode 100644 index 0000000..fb89d9f --- /dev/null +++ b/junit-jupiter-api-5.3.1.pom @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-api</artifactId> + <version>5.3.1</version> + <name>JUnit Jupiter API</name> + <description>Module "junit-jupiter-api" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.opentest4j</groupId> + <artifactId>opentest4j</artifactId> + <version>1.1.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-commons</artifactId> + <version>1.3.1</version> + <scope>compile</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-jupiter-engine-5.3.1.pom b/junit-jupiter-engine-5.3.1.pom new file mode 100644 index 0000000..fc0b197 --- /dev/null +++ b/junit-jupiter-engine-5.3.1.pom @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-engine</artifactId> + <version>5.3.1</version> + <name>JUnit Jupiter Engine</name> + <description>Module "junit-jupiter-engine" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-engine</artifactId> + <version>1.3.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-api</artifactId> + <version>5.3.1</version> + <scope>compile</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-jupiter-migrationsupport-5.3.1.pom b/junit-jupiter-migrationsupport-5.3.1.pom new file mode 100644 index 0000000..57bfe89 --- /dev/null +++ b/junit-jupiter-migrationsupport-5.3.1.pom @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-migrationsupport</artifactId> + <version>5.3.1</version> + <name>JUnit Jupiter Migration Support</name> + <description>Module "junit-jupiter-migrationsupport" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-api</artifactId> + <version>5.3.1</version> + <scope>compile</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-jupiter-params-5.3.1.pom b/junit-jupiter-params-5.3.1.pom new file mode 100644 index 0000000..6bdf2a3 --- /dev/null +++ b/junit-jupiter-params-5.3.1.pom @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-params</artifactId> + <version>5.3.1</version> + <name>JUnit Jupiter Params</name> + <description>Module "junit-jupiter-params" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-api</artifactId> + <version>5.3.1</version> + <scope>compile</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-platform-commons-1.3.1.pom b/junit-platform-commons-1.3.1.pom new file mode 100644 index 0000000..75363c1 --- /dev/null +++ b/junit-platform-commons-1.3.1.pom @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-commons</artifactId> + <version>1.3.1</version> + <name>JUnit Platform Commons</name> + <description>Module "junit-platform-commons" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-platform-console-1.3.1.pom b/junit-platform-console-1.3.1.pom new file mode 100644 index 0000000..af760a9 --- /dev/null +++ b/junit-platform-console-1.3.1.pom @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-console</artifactId> + <version>1.3.1</version> + <name>JUnit Platform Console</name> + <description>Module "junit-platform-console" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-launcher</artifactId> + <version>1.3.1</version> + <scope>compile</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-platform-console-standalone-1.3.1.pom b/junit-platform-console-standalone-1.3.1.pom new file mode 100644 index 0000000..8eda94c --- /dev/null +++ b/junit-platform-console-standalone-1.3.1.pom @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-console-standalone</artifactId> + <version>1.3.1</version> + <name>JUnit Platform Console Standalone</name> + <description>Module "junit-platform-console-standalone" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-platform-engine-1.3.1.pom b/junit-platform-engine-1.3.1.pom new file mode 100644 index 0000000..cabfe96 --- /dev/null +++ b/junit-platform-engine-1.3.1.pom @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-engine</artifactId> + <version>1.3.1</version> + <name>JUnit Platform Engine API</name> + <description>Module "junit-platform-engine" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-commons</artifactId> + <version>1.3.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.opentest4j</groupId> + <artifactId>opentest4j</artifactId> + <version>1.1.1</version> + <scope>compile</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-platform-launcher-1.3.1.pom b/junit-platform-launcher-1.3.1.pom new file mode 100644 index 0000000..1fd5d89 --- /dev/null +++ b/junit-platform-launcher-1.3.1.pom @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-launcher</artifactId> + <version>1.3.1</version> + <name>JUnit Platform Launcher</name> + <description>Module "junit-platform-launcher" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-engine</artifactId> + <version>1.3.1</version> + <scope>compile</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-platform-runner-1.3.1.pom b/junit-platform-runner-1.3.1.pom new file mode 100644 index 0000000..ecde474 --- /dev/null +++ b/junit-platform-runner-1.3.1.pom @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-runner</artifactId> + <version>1.3.1</version> + <name>JUnit Platform Runner</name> + <description>Module "junit-platform-runner" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-launcher</artifactId> + <version>1.3.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-suite-api</artifactId> + <version>1.3.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>compile</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-platform-suite-api-1.3.1.pom b/junit-platform-suite-api-1.3.1.pom new file mode 100644 index 0000000..1f3b5d7 --- /dev/null +++ b/junit-platform-suite-api-1.3.1.pom @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-suite-api</artifactId> + <version>1.3.1</version> + <name>JUnit Platform Suite API</name> + <description>Module "junit-platform-suite-api" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-commons</artifactId> + <version>1.3.1</version> + <scope>compile</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-platform-surefire-provider-1.3.1.pom b/junit-platform-surefire-provider-1.3.1.pom new file mode 100644 index 0000000..ff730ce --- /dev/null +++ b/junit-platform-surefire-provider-1.3.1.pom @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-surefire-provider</artifactId> + <version>1.3.1</version> + <name>JUnit Platform Surefire Provider</name> + <description>Module "junit-platform-surefire-provider" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>The Apache License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-launcher</artifactId> + <version>1.3.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.apache.maven.surefire</groupId> + <artifactId>surefire-api</artifactId> + <version>2.22.0</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.apache.maven.surefire</groupId> + <artifactId>common-java5</artifactId> + <version>2.22.0</version> + <scope>runtime</scope> + </dependency> + </dependencies> +</project> diff --git a/junit-vintage-engine-5.3.1.pom b/junit-vintage-engine-5.3.1.pom new file mode 100644 index 0000000..0a8126e --- /dev/null +++ b/junit-vintage-engine-5.3.1.pom @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.junit.vintage</groupId> + <artifactId>junit-vintage-engine</artifactId> + <version>5.3.1</version> + <name>JUnit Vintage Engine</name> + <description>Module "junit-vintage-engine" of JUnit 5.</description> + <url>http://junit.org/junit5/</url> + <licenses> + <license> + <name>Eclipse Public License v2.0</name> + <url>http://www.eclipse.org/legal/epl-v20.html</url> + </license> + </licenses> + <developers> + <developer> + <id>bechte</id> + <name>Stefan Bechtold</name> + <email>stefan.bechtold@me.com</email> + </developer> + <developer> + <id>jlink</id> + <name>Johannes Link</name> + <email>business@johanneslink.net</email> + </developer> + <developer> + <id>marcphilipp</id> + <name>Marc Philipp</name> + <email>mail@marcphilipp.de</email> + </developer> + <developer> + <id>mmerdes</id> + <name>Matthias Merdes</name> + <email>Matthias.Merdes@heidelberg-mobil.com</email> + </developer> + <developer> + <id>sbrannen</id> + <name>Sam Brannen</name> + <email>sam@sambrannen.com</email> + </developer> + <developer> + <id>sormuras</id> + <name>Christian Stein</name> + <email>sormuras@gmail.com</email> + </developer> + </developers> + <scm> + <connection>scm:git:git://github.com/junit-team/junit5.git</connection> + <developerConnection>scm:git:git://github.com/junit-team/junit5.git</developerConnection> + <url>https://github.com/junit-team/junit5</url> + </scm> + <dependencies> + <dependency> + <groupId>org.apiguardian</groupId> + <artifactId>apiguardian-api</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-engine</artifactId> + <version>1.3.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>runtime</scope> + </dependency> + </dependencies> +</project> diff --git a/junit5.spec b/junit5.spec new file mode 100644 index 0000000..2a78b5e --- /dev/null +++ b/junit5.spec @@ -0,0 +1,169 @@ +# +# spec file for package junit5 +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global platform_version 1.3.1 +%global jupiter_version %{version} +%global vintage_version %{version} +# Build with or without the console modules +# Disabled by default due to missing dep: info.picocli:picocli +%bcond_with console +Name: junit5 +Version: 5.3.1 +Release: 0 +Summary: Java regression testing framework +# junit-platform-surefire-provider is under ASL 2.0, all other modules use EPL-2.0 (see LICENSE.md) +License: EPL-2.0 AND Apache-2.0 +Group: Development/Libraries/Java +URL: http://junit.org/junit5/ +Source0: https://github.com/junit-team/junit5/archive/r%{version}.tar.gz +# Aggregator POM (used for packaging only) +Source100: aggregator.pom +# Platform POMs +Source200: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-commons/%{platform_version}/junit-platform-commons-%{platform_version}.pom +Source201: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console/%{platform_version}/junit-platform-console-%{platform_version}.pom +Source202: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console-standalone/%{platform_version}/junit-platform-console-standalone-%{platform_version}.pom +Source203: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-engine/%{platform_version}/junit-platform-engine-%{platform_version}.pom +Source205: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-launcher/%{platform_version}/junit-platform-launcher-%{platform_version}.pom +Source206: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-runner/%{platform_version}/junit-platform-runner-%{platform_version}.pom +Source207: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-suite-api/%{platform_version}/junit-platform-suite-api-%{platform_version}.pom +Source208: https://repo1.maven.org/maven2/org/junit/platform/junit-platform-surefire-provider/%{platform_version}/junit-platform-surefire-provider-%{platform_version}.pom +# Jupiter POMs +Source301: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-api/%{jupiter_version}/junit-jupiter-api-%{jupiter_version}.pom +Source302: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-engine/%{jupiter_version}/junit-jupiter-engine-%{jupiter_version}.pom +Source303: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-migrationsupport/%{jupiter_version}/junit-jupiter-migrationsupport-%{jupiter_version}.pom +Source304: https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter-params/%{jupiter_version}/junit-jupiter-params-%{jupiter_version}.pom +# Vintage POM +Source400: https://repo1.maven.org/maven2/org/junit/vintage/junit-vintage-engine/%{vintage_version}/junit-vintage-engine-%{vintage_version}.pom +BuildRequires: asciidoc +BuildRequires: fdupes +BuildRequires: maven-local +BuildRequires: mvn(com.univocity:univocity-parsers) +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.maven.surefire:common-java5) +BuildRequires: mvn(org.apache.maven.surefire:surefire-api) +BuildRequires: mvn(org.apiguardian:apiguardian-api) +BuildRequires: mvn(org.opentest4j:opentest4j) +BuildArch: noarch +%if %{with console} +BuildRequires: mvn(info.picocli:picocli) +%endif +%if %{with console} +# Explicit requires for javapackages-tools since junit5 script +# uses /usr/share/java-utils/java-functions +Requires: javapackages-tools +%endif + +%description +JUnit is a popular regression testing framework for Java platform. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +Junit5 API documentation. + +%package guide +Summary: Documentation for %{name} +Requires: %{name}-javadoc = %{version}-%{release} +Group: Documentation/HTML + +%description guide +JUnit 5 User Guide. + +%prep +%setup -q -n %{name}-r%{version} +find -name \*.jar -delete + +cp -p junit-jupiter-api/LICENSE.md LICENSE-Eclipse.md +cp -p junit-platform-surefire-provider/LICENSE.md LICENSE-Apache.md + +cp -p %{SOURCE100} pom.xml +cp -p %{SOURCE200} junit-platform-commons/pom.xml +cp -p %{SOURCE201} junit-platform-console/pom.xml +cp -p %{SOURCE202} junit-platform-console-standalone/pom.xml +cp -p %{SOURCE203} junit-platform-engine/pom.xml +cp -p %{SOURCE205} junit-platform-launcher/pom.xml +cp -p %{SOURCE206} junit-platform-runner/pom.xml +cp -p %{SOURCE207} junit-platform-suite-api/pom.xml +cp -p %{SOURCE208} junit-platform-surefire-provider/pom.xml +cp -p %{SOURCE301} junit-jupiter-api/pom.xml +cp -p %{SOURCE302} junit-jupiter-engine/pom.xml +cp -p %{SOURCE303} junit-jupiter-migrationsupport/pom.xml +cp -p %{SOURCE304} junit-jupiter-params/pom.xml +cp -p %{SOURCE400} junit-vintage-engine/pom.xml + +for pom in $(find -mindepth 2 -name pom.xml); do + # Set parent to aggregator + %pom_xpath_inject pom:project "<parent><groupId>org.fedoraproject.xmvn.junit5</groupId><artifactId>aggregator</artifactId><version>1.0.0</version></parent>" $pom + # OSGi BSN + bsn=$(sed 's|/pom.xml$||;s|.*/|org.|;s|-|.|g' <<<"$pom") + %pom_xpath_inject pom:project "<properties><osgi.bsn>${bsn}</osgi.bsn></properties>" $pom + # Incorrect scope - API guardian is just annotation, needed only during compilation + %pom_xpath_set -f "pom:dependency[pom:artifactId='apiguardian-api']/pom:scope" provided $pom +done + +# Add deps which are shaded by upstream and therefore not present in POMs. +%pom_add_dep net.sf.jopt-simple:jopt-simple:5.0.4 junit-platform-console +%pom_add_dep com.univocity:univocity-parsers:2.5.4 junit-jupiter-params + +# Incorrect scope - whoever needs Surefire provider will have to depend on Surefire. +%pom_xpath_set "pom:dependency[pom:groupId='org.apache.maven.surefire']/pom:scope" provided junit-platform-surefire-provider + +# Incorrect scope - Junit4 is needed for compilation too, not only runtime. +%pom_xpath_set "pom:dependency[pom:artifactId='junit']/pom:scope" compile junit-vintage-engine + +%if %{without console} +# Disable the console modules +%pom_disable_module junit-platform-console +%pom_disable_module junit-platform-console-standalone +%endif + +%{mvn_package} :aggregator __noinstall + +%build +%{mvn_build} -f -- -Dencoding=utf-8 -Dsource=8 + +# Build docs. Ignore exit asciidoc -- it fails for some reason, but +# still produces readable docs. +asciidoc documentation/src/docs/asciidoc/index.adoc || : +ln -s ../../javadoc/junit5 documentation/src/docs/api + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} +%fdupes -s documentation/src/docs/ + +%if %{with console} +%jpackage_script org/junit/platform/console/ConsoleLauncher "" "" junit5:junit:opentest4j:jopt-simple %{name} true +%endif + +%files -f .mfiles +%if %{with console} +%{_bindir}/%{name} +%endif +%license LICENSE.md LICENSE-Eclipse.md LICENSE-Apache.md + +%files javadoc -f .mfiles-javadoc +%license LICENSE.md LICENSE-Eclipse.md LICENSE-Apache.md + +%files guide +%doc documentation/src/docs/* + +%changelog diff --git a/r5.3.1.tar.gz b/r5.3.1.tar.gz new file mode 100644 index 0000000..d5156ab --- /dev/null +++ b/r5.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5c4d18ec27320e6652de7ab191d3b5004e40170862dde8cad6fa17804bcbcf6 +size 877431