!2 opentest4j modify

Merge pull request !2 from duyyb/next_openeuler
This commit is contained in:
openeuler-ci-bot 2019-12-27 18:37:36 +08:00 committed by Gitee
commit f2f4b25a0c

View File

@ -32,7 +32,34 @@ find -name \*.jar -delete
cp -p %{SOURCE1} pom.xml cp -p %{SOURCE1} pom.xml
%pom_add_dep junit:junit:4.12:test %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>"
%build %build
%mvn_build %mvn_build