Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37601557
en ru br
ALT Linux repos
S:2.4-alt2_2jpp8

Group :: Development/Java
RPM: maven-rar-plugin

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Group: Development/Java
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-macros-java
BuildRequires: unzip
# END SourceDeps(oneline)
BuildRequires: /proc
BuildRequires: jpackage-generic-compat mvn(org.apache.maven.plugins:maven-plugins:pom:) mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness)
Name:           maven-rar-plugin
Version:        2.4
Release:        alt2_2jpp8
Summary:        Plugin to create Resource Adapter Archive which can be deployed to a J2EE server

License:        ASL 2.0
URL:            http://maven.apache.org/plugins/maven-rar-plugin/
Source0:        http://archive.apache.org/dist/maven/plugins/%{name}-%{version}-source-release.zip

Patch0:         fix-tests.patch

BuildArch: noarch

BuildRequires: maven-local
Source44: import.info

%description
A resource adapter is a system-level software driver that
a Java application to connect to an enterprise
information system (EIS).The RAR plugin has the capability
to store these resource adapters to an archive
(Resource Adapter Archive or RAR) which can be deployed to
a J2EE server.

%package javadoc
Group: Development/Java
Summary:        Javadoc for %{name}
BuildArch: noarch

%description javadoc
API documentation for %{name}.

%prep
%setup -q
%patch0

# Fix deps to build against maven 3

%pom_remove_dep org.apache.maven:maven-project
%pom_add_dep org.apache.maven:maven-compat
%pom_add_dep org.apache.maven:maven-core
%pom_add_dep junit:junit::test

# To make tests work

%pom_remove_dep org.apache.maven:maven-artifact
%pom_add_dep org.apache.maven:maven-artifact

%build
%mvn_build

%install
%mvn_install

%files -f .mfiles
%doc LICENSE NOTICE DEPENDENCIES

%files javadoc -f .mfiles-javadoc
%doc LICENSE NOTICE

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin