commit
baa535390a
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# junit5
|
||||
|
||||
#### Description
|
||||
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
39
README.md
39
README.md
@ -1,39 +0,0 @@
|
||||
# junit5
|
||||
|
||||
#### 介绍
|
||||
{**以下是码云平台说明,您可以替换此简介**
|
||||
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
|
||||
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
|
||||
|
||||
#### 码云特技
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
@ -10,9 +10,9 @@
|
||||
<module>junit-platform-console-standalone</module>
|
||||
<module>junit-platform-engine</module>
|
||||
<module>junit-platform-launcher</module>
|
||||
<module>junit-platform-reporting</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>
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<version>5.3.1</version>
|
||||
<version>5.4.0</version>
|
||||
<name>JUnit Jupiter API</name>
|
||||
<description>Module "junit-jupiter-api" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -67,7 +67,7 @@
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-commons</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
<version>5.3.1</version>
|
||||
<version>5.4.0</version>
|
||||
<name>JUnit Jupiter Engine</name>
|
||||
<description>Module "junit-jupiter-engine" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -61,13 +61,13 @@
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-engine</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<version>5.3.1</version>
|
||||
<version>5.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-migrationsupport</artifactId>
|
||||
<version>5.3.1</version>
|
||||
<version>5.4.0</version>
|
||||
<name>JUnit Jupiter Migration Support</name>
|
||||
<description>Module "junit-jupiter-migrationsupport" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -52,22 +52,22 @@
|
||||
<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.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>
|
||||
<version>5.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-params</artifactId>
|
||||
<version>5.3.1</version>
|
||||
<version>5.4.0</version>
|
||||
<name>JUnit Jupiter Params</name>
|
||||
<description>Module "junit-jupiter-params" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -61,7 +61,7 @@
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<version>5.3.1</version>
|
||||
<version>5.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-commons</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</version>
|
||||
<name>JUnit Platform Commons</name>
|
||||
<description>Module "junit-platform-commons" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-console</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</version>
|
||||
<name>JUnit Platform Console</name>
|
||||
<description>Module "junit-platform-console" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -60,8 +60,8 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-launcher</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<artifactId>junit-platform-reporting</artifactId>
|
||||
<version>1.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-console-standalone</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</version>
|
||||
<name>JUnit Platform Console Standalone</name>
|
||||
<description>Module "junit-platform-console-standalone" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -51,12 +51,4 @@
|
||||
<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>
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-engine</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</version>
|
||||
<name>JUnit Platform Engine API</name>
|
||||
<description>Module "junit-platform-engine" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -58,17 +58,17 @@
|
||||
<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>
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-commons</artifactId>
|
||||
<version>1.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-launcher</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</version>
|
||||
<name>JUnit Platform Launcher</name>
|
||||
<description>Module "junit-platform-launcher" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -61,7 +61,7 @@
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-engine</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
68
junit-platform-reporting-1.4.0.pom
Normal file
68
junit-platform-reporting-1.4.0.pom
Normal file
@ -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-reporting</artifactId>
|
||||
<version>1.4.0</version>
|
||||
<name>JUnit Platform Reporting</name>
|
||||
<description>Module "junit-platform-reporting" of JUnit 5.</description>
|
||||
<url>https://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.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-runner</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</version>
|
||||
<name>JUnit Platform Runner</name>
|
||||
<description>Module "junit-platform-runner" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -52,6 +52,12 @@
|
||||
<url>https://github.com/junit-team/junit5</url>
|
||||
</scm>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.12</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apiguardian</groupId>
|
||||
<artifactId>apiguardian-api</artifactId>
|
||||
@ -61,19 +67,13 @@
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-launcher</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</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>
|
||||
<version>1.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-suite-api</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</version>
|
||||
<name>JUnit Platform Suite API</name>
|
||||
<description>Module "junit-platform-suite-api" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -58,11 +58,5 @@
|
||||
<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>
|
||||
@ -1,80 +0,0 @@
|
||||
<?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>
|
||||
@ -4,10 +4,10 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
<version>5.3.1</version>
|
||||
<version>5.4.0</version>
|
||||
<name>JUnit Vintage Engine</name>
|
||||
<description>Module "junit-vintage-engine" of JUnit 5.</description>
|
||||
<url>http://junit.org/junit5/</url>
|
||||
<url>https://junit.org/junit5/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Public License v2.0</name>
|
||||
@ -61,7 +61,7 @@
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-engine</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.4.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
BIN
junit5-5.4.0.tar.gz
Normal file
BIN
junit5-5.4.0.tar.gz
Normal file
Binary file not shown.
140
junit5.spec
140
junit5.spec
@ -1,45 +1,39 @@
|
||||
#Global macro or variable
|
||||
%global junit_url https://repo1.maven.org/maven2/org/junit
|
||||
%global platform junit-platform
|
||||
%global platform_version 1.3.1
|
||||
%global jupiter junit-jupiter
|
||||
%global vintage junit-vintage
|
||||
|
||||
#Basic Information
|
||||
%global platform_version 1.4.0
|
||||
%global jupiter_version %{version}
|
||||
%global vintage_version %{version}
|
||||
%bcond_with console
|
||||
Name: junit5
|
||||
Version: 5.3.1
|
||||
Release: 3
|
||||
Version: 5.4.0
|
||||
Release: 1
|
||||
Summary: Java regression testing framework
|
||||
License: EPL-2.0 and ASL 2.0
|
||||
License: EPL-2.0
|
||||
URL: http://junit.org/junit5/
|
||||
Source0: https://github.com/junit-team/junit5/archive/r%{version}.tar.gz
|
||||
Source0: https://github.com/junit-team/junit5/archive/r%{version}/junit5-%{version}.tar.gz
|
||||
Source100: aggregator.pom
|
||||
Source200: %{junit_url}/platform/%{platform}-commons/%{platform_version}/%{platform}-commons-%{platform_version}.pom
|
||||
Source201: %{junit_url}/platform/%{platform}-console/%{platform_version}/%{platform}-console-%{platform_version}.pom
|
||||
Source202: %{junit_url}/platform/%{platform}-console-standalone/%{platform_version}/%{platform}-console-standalone-%{platform_version}.pom
|
||||
Source203: %{junit_url}/platform/%{platform}-engine/%{platform_version}/%{platform}-engine-%{platform_version}.pom
|
||||
Source205: %{junit_url}/platform/%{platform}-launcher/%{platform_version}/%{platform}-launcher-%{platform_version}.pom
|
||||
Source206: %{junit_url}/platform/%{platform}-runner/%{platform_version}/%{platform}-runner-%{platform_version}.pom
|
||||
Source207: %{junit_url}/platform/%{platform}-suite-api/%{platform_version}/%{platform}-suite-api-%{platform_version}.pom
|
||||
Source208: %{junit_url}/platform/%{platform}-surefire-provider/%{platform_version}/%{platform}-surefire-provider-%{platform_version}.pom
|
||||
Source301: %{junit_url}/jupiter/%{jupiter}-api/%{version}/%{jupiter}-api-%{version}.pom
|
||||
Source302: %{junit_url}/jupiter/%{jupiter}-engine/%{version}/%{jupiter}-engine-%{version}.pom
|
||||
Source303: %{junit_url}/jupiter/%{jupiter}-migrationsupport/%{version}/%{jupiter}-migrationsupport-%{version}.pom
|
||||
Source304: %{junit_url}/jupiter/%{jupiter}-params/%{version}/%{jupiter}-params-%{version}.pom
|
||||
Source400: %{junit_url}/vintage/%{vintage}-engine/%{version}/%{vintage}-engine-%{version}.pom
|
||||
BuildArch: noarch
|
||||
|
||||
#Dependency
|
||||
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)
|
||||
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-reporting/%{platform_version}/junit-platform-reporting-%{platform_version}.pom
|
||||
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
|
||||
Source400: https://repo1.maven.org/maven2/org/junit/vintage/junit-vintage-engine/%{vintage_version}/junit-vintage-engine-%{vintage_version}.pom
|
||||
BuildRequires: maven-local mvn(com.univocity:univocity-parsers) mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) mvn(org.apiguardian:apiguardian-api)
|
||||
BuildRequires: mvn(org.opentest4j:opentest4j)
|
||||
%if %{with console}
|
||||
BuildRequires: mvn(info.picocli:picocli)
|
||||
%endif
|
||||
BuildRequires: asciidoc
|
||||
|
||||
%if %{with console}
|
||||
Requires: javapackages-tools
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
JUnit is a popular regression testing framework for Java platform.
|
||||
@ -50,31 +44,30 @@ Summary: Javadoc for %{name}
|
||||
%description javadoc
|
||||
Junit5 API documentation.
|
||||
|
||||
%package_help
|
||||
%package guide
|
||||
Summary: Documentation for %{name}
|
||||
Requires: %{name}-javadoc = %{version}-%{release}
|
||||
|
||||
%description guide
|
||||
JUnit 5 User Guide.
|
||||
|
||||
#Build sections
|
||||
%prep
|
||||
%setup -q -n %{name}-r%{version}
|
||||
find -name \*.jar -delete
|
||||
|
||||
cp -p %{jupiter}-api/LICENSE.md LICENSE-Eclipse.md
|
||||
cp -p %{platform}-surefire-provider/LICENSE.md LICENSE-Apache.md
|
||||
|
||||
cp -p %{SOURCE100} pom.xml
|
||||
cp -p %{SOURCE200} %{platform}-commons/pom.xml
|
||||
cp -p %{SOURCE201} %{platform}-console/pom.xml
|
||||
cp -p %{SOURCE202} %{platform}-console-standalone/pom.xml
|
||||
cp -p %{SOURCE203} %{platform}-engine/pom.xml
|
||||
cp -p %{SOURCE205} %{platform}-launcher/pom.xml
|
||||
cp -p %{SOURCE206} %{platform}-runner/pom.xml
|
||||
cp -p %{SOURCE207} %{platform}-suite-api/pom.xml
|
||||
cp -p %{SOURCE208} %{platform}-surefire-provider/pom.xml
|
||||
cp -p %{SOURCE301} %{jupiter}-api/pom.xml
|
||||
cp -p %{SOURCE302} %{jupiter}-engine/pom.xml
|
||||
cp -p %{SOURCE303} %{jupiter}-migrationsupport/pom.xml
|
||||
cp -p %{SOURCE304} %{jupiter}-params/pom.xml
|
||||
cp -p %{SOURCE400} %{vintage}-engine/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-reporting/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.openeuler.xmvn.junit5</groupId><artifactId>aggregator</artifactId><version>1.0.0</version></parent>" $pom
|
||||
@ -84,38 +77,41 @@ for pom in $(find -mindepth 2 -name pom.xml); do
|
||||
# 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
|
||||
|
||||
%pom_add_dep net.sf.jopt-simple:jopt-simple:5.0.4 %{platform}-console
|
||||
%pom_add_dep com.univocity:univocity-parsers:2.5.4 %{jupiter}-params
|
||||
|
||||
%pom_xpath_set "pom:dependency[pom:groupId='org.apache.maven.surefire']/pom:scope" provided %{platform}-surefire-provider
|
||||
|
||||
%pom_xpath_set "pom:dependency[pom:artifactId='junit']/pom:scope" compile %{vintage}-engine
|
||||
|
||||
%pom_disable_module %{platform}-console
|
||||
%pom_disable_module %{platform}-console-standalone
|
||||
|
||||
%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
|
||||
%pom_xpath_set "pom:dependency[pom:artifactId='junit']/pom:scope" compile junit-vintage-engine
|
||||
%if %{without console}
|
||||
%pom_disable_module junit-platform-console
|
||||
%pom_disable_module junit-platform-console-standalone
|
||||
%endif
|
||||
%mvn_package :aggregator __noinstall
|
||||
|
||||
%build
|
||||
%mvn_build -f
|
||||
|
||||
asciidoc documentation/src/docs/asciidoc/index.adoc || :
|
||||
ln -s ../../javadoc/junit5 documentation/src/docs/api
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
%if %{with console}
|
||||
%jpackage_script org/junit/platform/console/ConsoleLauncher "" "" junit5:junit:opentest4j:jopt-simple %{name} true
|
||||
%endif
|
||||
|
||||
#Files list
|
||||
%files -f .mfiles
|
||||
%license LICENSE.md LICENSE-Eclipse.md LICENSE-Apache.md
|
||||
%if %{with console}
|
||||
%{_bindir}/%{name}
|
||||
%endif
|
||||
%license LICENSE.md LICENSE-notice.md
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE.md LICENSE-Eclipse.md LICENSE-Apache.md
|
||||
%license LICENSE.md LICENSE-notice.md
|
||||
|
||||
%files help
|
||||
%files guide
|
||||
%doc documentation/src/docs/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 14 2020 leiju <leiju4@huawei.com> - 5.4.0-1
|
||||
- Update from 5.3.1 to 5.4.0
|
||||
|
||||
* Thu Feb 27 2020 Jiangping Hu <hujp1985@foxmail.com> - 5.3.1-3
|
||||
- Package init
|
||||
|
||||
4
junit5.yaml
Normal file
4
junit5.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: junit-team/junit5
|
||||
tag_prefix: "r"
|
||||
seperator: "."
|
||||
BIN
r5.3.1.tar.gz
BIN
r5.3.1.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user