Projects
openEuler:24.03:SP1:Everything
opentest4j
_service:tar_scm:opentest4j.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:opentest4j.spec of Package opentest4j
Name: opentest4j Version: 1.2.0 Release: 1 Summary: Open Test Alliance for the JVM 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 Source100: https://repo1.maven.org/maven2/org/opentest4j/opentest4j/%{version}/opentest4j-%{version}.pom BuildRequires: maven-local mvn(junit:junit) %description Open Test Alliance for the JVM is a minimal common foundation for testing libraries on the JVM. The primary goal of the project is to enable testing frameworks like JUnit, TestNG, Spock, etc. and third-party assertion libraries like Hamcrest, AssertJ, etc. to use a common set of exceptions that IDEs and build tools can support in a consistent manner across all testing scenarios -- for example, for consistent handling of failed assertions and failed assumptions as well as visualization of test execution in IDEs and reports. %package javadoc Summary: Javadoc for %{name} %description javadoc API documentation for %{name}. %prep %setup -q -n opentest4j-r%{version} find -name \*.jar -delete cp -p %{SOURCE100} pom.xml %pom_add_dep junit:junit:4.12:test %pom_xpath_inject pom:project " <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries> <Automatic-Module-Name>org.opentest4j</Automatic-Module-Name> <Implementation-Title>opentest4j</Implementation-Title> <Implementation-Vendor>opentest4j.org</Implementation-Vendor> <Implementation-Version>%{version}</Implementation-Version> <Specification-Title>opentest4j</Specification-Title> <Specification-Vendor>opentest4j.org</Specification-Vendor> <Specification-Version>%{version}</Specification-Version> <!-- OSGi metadata required by Eclipse --> <Bundle-ManifestVersion>2</Bundle-ManifestVersion> <Bundle-SymbolicName>org.opentest4j</Bundle-SymbolicName> <Bundle-Version>%{version}</Bundle-Version> <Export-Package>org.opentest4j;version=\"%{version}\"</Export-Package> </manifestEntries> </archive> </configuration> </plugin> </plugins> </pluginManagement> </build>" sed -i -e '/org\.apache\.commons\.codec/d' src/test/java/org/opentest4j/AssertionFailedErrorTests.java %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE %doc README.md %files javadoc -f .mfiles-javadoc %license LICENSE %changelog * Fri Dec 15 2023 Ge Wang <wang__ge@126.com> - 1.2.0-1 - Upgrade the version to 1.2.0 * Mon Aug 17 2020 wangyue <wangyue92@huawei.com> - 1.1.1-1 - upgrade the version to 1.1.1 * Tue Dec 3 2019 duyeyu <duyeyu@huawei.com> - 1.0.0-4 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2