!1 opentest4j package init

Merge pull request !1 from duyyb/next_openeuler
This commit is contained in:
openeuler-ci-bot 2019-12-05 15:36:27 +08:00 committed by Gitee
commit 8e6e63cd63
3 changed files with 100 additions and 0 deletions

49
opentest4j-1.0.0.pom Normal file
View File

@ -0,0 +1,49 @@
<?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.opentest4j</groupId>
<artifactId>opentest4j</artifactId>
<version>1.0.0</version>
<name>org.opentest4j:opentest4j</name>
<description>Open Test Alliance for the JVM</description>
<url>https://github.com/ota4j-team/opentest4j</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>
</developers>
<scm>
<connection>scm:git:git://github.com/ota4j-team/opentest4j.git</connection>
<developerConnection>scm:git:git://github.com/ota4j-team/opentest4j.git</developerConnection>
<url>https://github.com/ota4j-team/opentest4j</url>
</scm>
</project>

51
opentest4j.spec Normal file
View File

@ -0,0 +1,51 @@
Name: opentest4j
Version: 1.0.0
Release: 4
Summary: JVM Open Test Alliance
License: ASL 2.0
URL: https://github.com/ota4j-team/opentest4j
BuildArch: noarch
Source0: https://github.com/ota4j-team/opentest4j/archive/r%{version}.tar.gz
Source1: https://repo1.maven.org/maven2/org/opentest4j/opentest4j/%{version}/opentest4j-%{version}.pom
BuildRequires: maven-local mvn(junit:junit)
%description
The JVM's Open Test Alliance is the smallest universal foundation for testing libraries on the JVM.
The main goal of this project is to enable testing frameworks (such as JUnit, TestNG, Spock, etc.)
and third-party assertion libraries (such as Hamcrest, AssertJ, etc.) to use a common set of
exceptions that IDE and build tools can consistently support. Ways across all test scenarios-for
example, to consistently handle failed assertions and failed assumptions and to visualize test
execution in IDEs and reports.
%package help
Summary: Help documents for opentest4j
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
Help documents for opentest4j.
%prep
%autosetup -n opentest4j-r%{version} -p1
find -name \*.jar -delete
cp -p %{SOURCE1} pom.xml
%pom_add_dep junit:junit:4.12:test
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE
%doc README.md
%files help -f .mfiles-javadoc
%changelog
* Tue Dec 3 2019 duyeyu <duyeyu@huawei.com> - 1.0.0-4
- Package init

BIN
r1.0.0.tar.gz Normal file

Binary file not shown.