Group :: Development/Java
RPM: forge-parent
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Development/Java
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-default
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: forge-parent
Version: 38
Release: alt1_19jpp11
Summary: Sonatype Forge Parent Pom
License: ASL 2.0
URL: https://docs.sonatype.org/display/FORGE/Index
BuildArch: noarch
Source0: http://repo1.maven.org/maven2/org/sonatype/forge/%{name}/%{version}/%{name}-%{version}.pom
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildRequires: maven-local
Source44: import.info
%description
Sonatype Forge is an open-source community dedicated to the creation of the
next-generation of development tools and technologies.
%prep
%setup -qcT
cp -p %{SOURCE0} pom.xml
cp -p %{SOURCE1} LICENSE
# We don't have nexus-staging-maven-plugin in Fedora
%pom_remove_plugin :nexus-staging-maven-plugin
# We don't use source JARs in Fedora
%pom_remove_plugin :maven-source-plugin
%build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.javadoc.source=1.8 -Dmaven.compiler.release=8
%install
%mvn_install
%files -f .mfiles
%doc LICENSE
%changelog
…
Full changelog you can see here
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-default
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: forge-parent
Version: 38
Release: alt1_19jpp11
Summary: Sonatype Forge Parent Pom
License: ASL 2.0
URL: https://docs.sonatype.org/display/FORGE/Index
BuildArch: noarch
Source0: http://repo1.maven.org/maven2/org/sonatype/forge/%{name}/%{version}/%{name}-%{version}.pom
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildRequires: maven-local
Source44: import.info
%description
Sonatype Forge is an open-source community dedicated to the creation of the
next-generation of development tools and technologies.
%prep
%setup -qcT
cp -p %{SOURCE0} pom.xml
cp -p %{SOURCE1} LICENSE
# We don't have nexus-staging-maven-plugin in Fedora
%pom_remove_plugin :nexus-staging-maven-plugin
# We don't use source JARs in Fedora
%pom_remove_plugin :maven-source-plugin
%build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.javadoc.source=1.8 -Dmaven.compiler.release=8
%install
%mvn_install
%files -f .mfiles
%doc LICENSE
%changelog
…
Full changelog you can see here